summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost/src/boost/bind/arg.hpp')
-rw-r--r--3rdParty/Boost/src/boost/bind/arg.hpp4
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
@@ -18,26 +18,26 @@
//
// See http://www.boost.org/libs/bind/bind.html for documentation.
//
#include <boost/config.hpp>
#include <boost/is_placeholder.hpp>
+#include <boost/static_assert.hpp>
namespace boost
{
template< int I > struct arg
{
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 );
}
};
template< int I > bool operator==( arg<I> const &, arg<I> const & )
{
return true;