]> git.pld-linux.org Git - packages/boost.git/blame - boost-1.54.0-concept-unused_typedef.patch
- release 3 (by relup.sh)
[packages/boost.git] / boost-1.54.0-concept-unused_typedef.patch
CommitLineData
647f39b2
AM
1diff -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
This page took 0.231316 seconds and 4 git commands to generate.