Tweak a second time the code to silence a warning
...to avoid "functions that differ only in their return type cannot be overloaded" errors (as emitted by Clang trunk towards 3.4). Change-Id: I89909e88211a0da06fd0197abeb05f44c18b1032
This commit is contained in:
@@ -164,8 +164,8 @@
|
||||
&::boost::concepts::requirement_<ModelFnPtr>::failed> \
|
||||
- BOOST_PP_CAT(boost_concept_check,__LINE__)
|
||||
+ BOOST_PP_CAT(boost_concept_check,__LINE__); \
|
||||
+ BOOST_PP_CAT(boost_concept_check,__LINE__) BOOST_PP_CAT(boost_concept_check_dummy,__LINE__)(...)
|
||||
+ // silence -Werror=unused-local-typedefs (GCC 4.8) (and resulting Clang -Werror,-Wvexing-parse)
|
||||
+ void BOOST_PP_CAT(boost_concept_check_dummy,__LINE__)(BOOST_PP_CAT(boost_concept_check,__LINE__) *)
|
||||
+ // silence -Werror=unused-local-typedefs (GCC 4.8)
|
||||
|
||||
}}
|
||||
|
||||
|
Reference in New Issue
Block a user