From 97e12a77c12b19ac05530b2569686f7afb38eb2e Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 21 Sep 2020 10:50:43 +0200 Subject: [PATCH] We don't use string_view::at() in lmdb-safe --- ext/lmdb-safe/lmdb-safe.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/lmdb-safe/lmdb-safe.hh b/ext/lmdb-safe/lmdb-safe.hh index 89a85ece6f..2a32c67a4e 100644 --- a/ext/lmdb-safe/lmdb-safe.hh +++ b/ext/lmdb-safe/lmdb-safe.hh @@ -16,9 +16,7 @@ using std::string_view; #else #include -#if BOOST_VERSION >= 106400 -// string_view already exists in 1.61.0 but string_view::at() is not usable with modern compilers, see: -// https://github.com/boostorg/utility/pull/26 +#if BOOST_VERSION >= 106100 #include using boost::string_view; #elif BOOST_VERSION >= 105300 -- 2.47.2