File tree 1 file changed +2
-2
lines changed
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 :
1877
1877
size_t byte_size () const noexcept { return size () * sizeof (DataT); }
1878
1878
1879
1879
size_t max_size () const noexcept {
1880
- return std::numeric_limits<difference_type>::max ();
1880
+ return ( std::numeric_limits<difference_type>::max) ();
1881
1881
}
1882
1882
1883
1883
bool empty () const noexcept { return size () == 0 ; }
@@ -2574,7 +2574,7 @@ class __SYCL_SPECIAL_CLASS __SYCL_TYPE(local_accessor) local_accessor
2574
2574
size_t byte_size () const noexcept { return this ->size () * sizeof (DataT); }
2575
2575
2576
2576
size_t max_size () const noexcept {
2577
- return std::numeric_limits<difference_type>::max ();
2577
+ return ( std::numeric_limits<difference_type>::max) ();
2578
2578
}
2579
2579
2580
2580
bool empty () const noexcept { return this ->size () == 0 ; }
You can’t perform that action at this time.
0 commit comments