Kaydet (Commit) c6e2b7ac authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst abb6ab41
......@@ -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)
}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment