adapt to older boost on travis
This commit is contained in:
parent
6790f50612
commit
30b9a78059
|
@ -11,9 +11,14 @@
|
|||
#include <mutex>
|
||||
|
||||
#if __cplusplus < 201703L
|
||||
#if BOOST_VERSION > 105400
|
||||
#include <boost/utility/string_view.hpp>
|
||||
using boost::string_view;
|
||||
#else
|
||||
#include <boost/utility/string_ref.hpp>
|
||||
using string_view = boost::string_ref;
|
||||
#endif
|
||||
#else // C++17
|
||||
using std::string_view;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue