We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b42f33 commit 08182b9Copy full SHA for 08182b9
tests/snatch/snatch.hpp
@@ -641,8 +641,8 @@ struct with_what_contains : private contains_substring {
641
# define WARNING_DISABLE_PARENTHESES _Pragma("GCC diagnostic ignored \"-Wparentheses\"")
642
# define WARNING_DISABLE_CONSTANT_COMPARISON do {} while (0)
643
#elif defined(_MSC_VER)
644
-# define WARNING_PUSH do {} _Pragma("warning(push)")
645
-# define WARNING_POP do {} _Pragma("warning(pop)")
+# define WARNING_PUSH _Pragma("warning(push)")
+# define WARNING_POP _Pragma("warning(pop)")
646
# define WARNING_DISABLE_PARENTHESES do {} while (0)
647
# define WARNING_DISABLE_CONSTANT_COMPARISON _Pragma("warning(disable: 4127)")
648
#else
0 commit comments