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

@ -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.