From c3aab6a18411e637842247e0dd845c58ce8c6d6b Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Mon, 17 Jan 2022 17:42:45 +0300 Subject: [PATCH] Use #ifdef to test for BOOST_MSVC. --- include/boost/utility/result_of.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/utility/result_of.hpp b/include/boost/utility/result_of.hpp index 8dfc67d..8571a56 100644 --- a/include/boost/utility/result_of.hpp +++ b/include/boost/utility/result_of.hpp @@ -120,7 +120,7 @@ template struct cpp0x_result_of; // There doesn't seem to be any other way to turn this off such that the presence of // the user-defined operator,() below doesn't cause spurious warning all over the place, // so unconditionally turn it off. -#if BOOST_MSVC +#ifdef BOOST_MSVC # pragma warning(disable: 4913) // user defined binary operator ',' exists but no overload could convert all operands, default built-in binary operator ',' used #endif