From 49b09e0883a49b23073d6d4fdd034b74f5069f87 Mon Sep 17 00:00:00 2001 From: Dan Holmes Date: Thu, 18 Jan 2024 14:07:45 +0000 Subject: [PATCH] Squashing two CI/CD errors --- source/loader/ur_lib.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/loader/ur_lib.cpp b/source/loader/ur_lib.cpp index c9d8ec6be7..0e350ef3fa 100644 --- a/source/loader/ur_lib.cpp +++ b/source/loader/ur_lib.cpp @@ -13,7 +13,9 @@ // avoids windows.h from defining macros for min and max // which avoids playing havoc with std::min and std::max // (not quite sure why windows.h is being included here) +#ifndef NOMINMAX #define NOMINMAX +#endif // !NOMINMAX #include "ur_lib.hpp" #include "logger/ur_logger.hpp" @@ -457,7 +459,8 @@ ur_result_t urDeviceGetSelected(ur_platform_handle_t hPlatform, std::tolower(static_cast(b)); })) { // irrelevant term for current request: different backend -- silently ignore - logger::warning("WARNING: ignoring term with irrelevant backend '{}'", backend); + logger::warning( + "WARNING: ignoring term with irrelevant backend '{}'", backend); continue; } if (termPair.second.size() == 0) {