Update travis

This commit is contained in:
Krystian Stasiowski
2020-02-02 12:49:30 -05:00
parent 9a4e96a905
commit c378689de2
3 changed files with 11 additions and 14 deletions

View File

@ -168,7 +168,7 @@ defined(__clang__) && \
// objects at all in constant expresssions. In these
// cases, we use whatever will make more constexpr work.
#if defined(__clang__) && defined(__GLIBCXX__) && \
((__GLIBCXX__ >= 20180726 && __GLIBCXX__ <= 20190812))
(__GLIBCXX__ >= 20180726 && __GLIBCXX__ <= 20190812)
#define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS
#endif
@ -185,5 +185,4 @@ using basic_string_view =
#endif
} // static_string
} // boost
#endif
#endif

View File

@ -614,8 +614,7 @@ is_inside(
// of conformance, we will settle for the best option that is available.
// We don't care about this in C++11, since this function would have
// no applications in constant expressions.
#ifdef BOOST_STATIC_STRING_CPP14
#ifdef BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS
#if defined(BOOST_STATIC_STRING_CPP14) && defined(BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS)
#ifdef BOOST_STATIC_STRING_IS_CONST_EVAL
// Our second best option is to use is_constant_evaluated
// and a loop that checks for equality, since equality for
@ -633,7 +632,6 @@ is_inside(
// try builtin comparison operators instead.
return ptr >= src_first && ptr < src_last;
#endif
#endif
#endif
// Use the library comparison functions if we can't use
// is_constant_evaluated or if we don't need to.