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 1313// avoids windows.h from defining macros for min and max
1414// which avoids playing havoc with std::min and std::max
1515// (not quite sure why windows.h is being included here)
16+ #ifndef NOMINMAX
1617#define NOMINMAX
18+ #endif // !NOMINMAX
1719
1820#include " ur_lib.hpp"
1921#include " logger/ur_logger.hpp"
@@ -457,7 +459,8 @@ ur_result_t urDeviceGetSelected(ur_platform_handle_t hPlatform,
457459 std::tolower (static_cast <unsigned char >(b));
458460 })) {
459461 // 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);
461464 continue ;
462465 }
463466 if (termPair.second .size () == 0 ) {
You can’t perform that action at this time.
0 commit comments