From 2e4468efeabdea5d0ab9c41d11921ec828d121b4 Mon Sep 17 00:00:00 2001
From: Tor Lillqvist <tml@iki.fi>
Date: Mon, 14 Apr 2014 12:48:44 +0200
Subject: [PATCH] utility: fix GCC -Wundef warning
Signed-off-by: Michael Stahl <mstahl@redhat.com>
---
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 9ea151d..032c39f 100644
a
|
b
|
template<typename F> struct cpp0x_result_of;
|
84 | 84 | // There doesn't seem to be any other way to turn this off such that the presence of |
85 | 85 | // the user-defined operator,() below doesn't cause spurious warning all over the place, |
86 | 86 | // so unconditionally turn it off. |
87 | | #if BOOST_MSVC |
| 87 | #if defined(BOOST_MSVC) && BOOST_MSVC |
88 | 88 | # pragma warning(disable: 4913) // user defined binary operator ',' exists but no overload could convert all operands, default built-in binary operator ',' used |
89 | 89 | #endif |
90 | 90 | |