Search
SailfishOS Open Build Service
>
Projects
>
home:vgrade
:
ethereum
>
boost
> _service:tar_git:boost-1.54.0-bind-static_assert.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:boost-1.54.0-bind-static_assert.patch of Package boost
diff -up ./boost/bind/arg.hpp~ ./boost/bind/arg.hpp --- ./boost/bind/arg.hpp~ 2007-11-25 10:07:19.000000000 -0800 +++ ./boost/bind/arg.hpp 2013-07-18 00:41:41.667412595 -0700 @@ -21,6 +21,7 @@ #include <boost/config.hpp> #include <boost/is_placeholder.hpp> +#include <boost/static_assert.hpp> namespace boost { @@ -33,8 +34,7 @@ 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); } };