forked from boostorg/container_hash
Fix string_view include on gcc 7.2
If it's included in anything earlier than c++-1z it errors.
This commit is contained in:
@@ -69,11 +69,9 @@
|
||||
# define BOOST_HASH_HAS_STRING_VIEW 1
|
||||
# include <string_view>
|
||||
# endif
|
||||
# else
|
||||
# elif defined(__cplusplus) && __cplusplus >= 201703
|
||||
# include <string_view>
|
||||
# if defined(__cpp_lib_string_view) && __cpp_lib_string_view >= 201603
|
||||
# define BOOST_HASH_HAS_STRING_VIEW 1
|
||||
# endif
|
||||
# define BOOST_HASH_HAS_STRING_VIEW 1
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user