Skip to content

Commit 49b09e0

Browse files
Dan Holmeskbenzie
authored andcommitted
Squashing two CI/CD errors
1 parent d5d9a3c commit 49b09e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/loader/ur_lib.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
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) {

0 commit comments

Comments
 (0)