Skip to content

Commit

Permalink
Support Clang 4.0 and newer
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWF committed Aug 30, 2016
1 parent 31ec1d2 commit 4453acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/type_index/detail/compile_time_type_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
// sizeof("static const char *boost::detail::ctti<") - 1, sizeof(">::n()") - 1
// note: checked on 3.0
BOOST_TYPE_INDEX_REGISTER_CTTI_PARSING_PARAMS(39, 6, false, "")
#elif defined(__clang__) && __clang_major__ == 3 && __clang_minor__ > 0
#elif defined(__clang__) && (__clang_major__ >= 4 || (__clang_major__ == 3 && __clang_minor__ > 0))
// sizeof("static const char *boost::detail::ctti<") - 1, sizeof("]") - 1, true, "int>::n() [T = int"
// note: checked on 3.1, 3.4
BOOST_TYPE_INDEX_REGISTER_CTTI_PARSING_PARAMS(39, 1, true, "T = ")
Expand Down

0 comments on commit 4453acf

Please sign in to comment.