]>
Commit | Line | Data |
---|---|---|
647f39b2 AM |
1 | diff -up ./boost/concept/detail/general.hpp~ ./boost/concept/detail/general.hpp |
2 | --- ./boost/concept/detail/general.hpp~ 2010-06-08 12:31:13.000000000 -0700 | |
3 | +++ ./boost/concept/detail/general.hpp 2013-07-18 06:01:05.967747186 -0700 | |
4 | @@ -6,6 +6,7 @@ | |
5 | ||
6 | # include <boost/preprocessor/cat.hpp> | |
7 | # include <boost/concept/detail/backward_compatibility.hpp> | |
8 | +# include <boost/static_assert.hpp> | |
9 | ||
10 | # ifdef BOOST_OLD_CONCEPT_SUPPORT | |
11 | # include <boost/concept/detail/has_constraints.hpp> | |
12 | @@ -68,7 +69,8 @@ struct requirement_<void(*)(Model)> | |
13 | # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \ | |
14 | typedef ::boost::concepts::detail::instantiate< \ | |
15 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | |
16 | - BOOST_PP_CAT(boost_concept_check,__LINE__) | |
17 | + BOOST_PP_CAT(boost_concept_check,__LINE__) \ | |
18 | + BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE | |
19 | ||
20 | }} | |
21 |