File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1877,7 +1877,7 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(accessor) accessor :
18771877 size_t byte_size () const noexcept { return size () * sizeof (DataT); }
18781878
18791879 size_t max_size () const noexcept {
1880- return std::numeric_limits<difference_type>::max ();
1880+ return ( std::numeric_limits<difference_type>::max) ();
18811881 }
18821882
18831883 bool empty () const noexcept { return size () == 0 ; }
@@ -2574,7 +2574,7 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(local_accessor) local_accessor
25742574 size_t byte_size () const noexcept { return this ->size () * sizeof (DataT); }
25752575
25762576 size_t max_size () const noexcept {
2577- return std::numeric_limits<difference_type>::max ();
2577+ return ( std::numeric_limits<difference_type>::max) ();
25782578 }
25792579
25802580 bool empty () const noexcept { return this ->size () == 0 ; }
You can’t perform that action at this time.
0 commit comments