]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
We don't use string_view::at() in lmdb-safe 9488/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Sep 2020 08:50:43 +0000 (10:50 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Sep 2020 08:50:43 +0000 (10:50 +0200)
ext/lmdb-safe/lmdb-safe.hh

index 89a85ece6f11a470077c1fef2e68b900b8ee4ea2..2a32c67a4e9edf8ddfe08593b0456635fe918e79 100644 (file)
@@ -16,9 +16,7 @@
 using std::string_view;
 #else
 #include <boost/version.hpp>
-#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 <boost/utility/string_view.hpp>
 using boost::string_view;
 #elif BOOST_VERSION >= 105300