Skip to content

Commit 923c7e5

Browse files
Don't bring std::max into the scope, we already have some max
1 parent 058b986 commit 923c7e5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sycl/include/CL/sycl/usm/usm_allocator.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ class usm_allocator {
117117

118118
private:
119119
constexpr size_t getAlignment() const {
120-
using std::max; // Cause of MS Windows' macro...
121120
return max(alignof(T), Alignment);
122121
}
123122

0 commit comments

Comments
 (0)