From: Remi Gacogne Date: Mon, 21 Sep 2020 08:50:43 +0000 (+0200) Subject: We don't use string_view::at() in lmdb-safe X-Git-Tag: auth-4.4.0-alpha1~18^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97e12a77c12b19ac05530b2569686f7afb38eb2e;p=thirdparty%2Fpdns.git We don't use string_view::at() in lmdb-safe --- 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