File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 13
13
// avoids windows.h from defining macros for min and max
14
14
// which avoids playing havoc with std::min and std::max
15
15
// (not quite sure why windows.h is being included here)
16
+ #ifndef NOMINMAX
16
17
#define NOMINMAX
18
+ #endif // !NOMINMAX
17
19
18
20
#include " ur_lib.hpp"
19
21
#include " logger/ur_logger.hpp"
@@ -457,7 +459,8 @@ ur_result_t urDeviceGetSelected(ur_platform_handle_t hPlatform,
457
459
std::tolower (static_cast <unsigned char >(b));
458
460
})) {
459
461
// irrelevant term for current request: different backend -- silently ignore
460
- logger::warning (" WARNING: ignoring term with irrelevant backend '{}'" , backend);
462
+ logger::warning (
463
+ " WARNING: ignoring term with irrelevant backend '{}'" , backend);
461
464
continue ;
462
465
}
463
466
if (termPair.second .size () == 0 ) {
You can’t perform that action at this time.
0 commit comments