diff options
Diffstat (limited to '3rdParty/Boost/src/boost/bind/arg.hpp')
| -rw-r--r-- | 3rdParty/Boost/src/boost/bind/arg.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdParty/Boost/src/boost/bind/arg.hpp b/3rdParty/Boost/src/boost/bind/arg.hpp index 0d5cd03..c879bb4 100644 --- a/3rdParty/Boost/src/boost/bind/arg.hpp +++ b/3rdParty/Boost/src/boost/bind/arg.hpp @@ -22,4 +22,5 @@ #include <boost/config.hpp> #include <boost/is_placeholder.hpp> +#include <boost/static_assert.hpp> namespace boost @@ -34,6 +35,5 @@ template< int I > struct arg template< class T > arg( T const & /* t */ ) { - // static assert I == is_placeholder<T>::value - typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ]; + BOOST_STATIC_ASSERT( I == is_placeholder<T>::value ); } }; |
Swift