forked from boostorg/bind
Fix BOOST_MSVC checks
This commit is contained in:
1 parent
d4614204e5
commit
3be7521aa2
2 files changed
+4
-4
No files matched your search
@@ -172,7 +172,7 @@ public:
|
||||
|
||||
list( A... a ): data_( a... ) {}
|
||||
|
||||
#if BOOST_MSVC
|
||||
#if defined(BOOST_MSVC)
|
||||
# pragma warning( push )
|
||||
# pragma warning( disable: 4100 ) // unreferenced formal parameter 'a2'
|
||||
#endif
|
||||
@@ -197,7 +197,7 @@ public:
|
||||
unwrapper<F>::unwrap( f, 0 )( a2[ std::get<I>( data_ ) ]... );
|
||||
}
|
||||
|
||||
#if BOOST_MSVC
|
||||
#if defined(BOOST_MSVC)
|
||||
# pragma warning( pop )
|
||||
#endif
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
|
||||
#if BOOST_MSVC
|
||||
#if defined(BOOST_MSVC)
|
||||
# pragma warning( push )
|
||||
# pragma warning( disable: 4100 ) // unreferenced formal parameter 'tp'
|
||||
#endif
|
||||
@@ -57,7 +57,7 @@ template<class F, class Tp1, class Tp2> F tuple_for_each( F&& f, Tp1&& tp1, Tp2&
|
||||
} // namespace _bi
|
||||
} // namespace boost
|
||||
|
||||
#if BOOST_MSVC
|
||||
#if defined(BOOST_MSVC)
|
||||
# pragma warning( pop )
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user