]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix KVS compilation on Boost < 1.56 8248/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 29 Aug 2019 09:48:26 +0000 (11:48 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 29 Aug 2019 10:14:20 +0000 (12:14 +0200)
commit4778cfd22a0ff0be920813848bab718c19f1c8e0
treedce733fda3689bca9b38de69255247a57e0a78a0
parenta1c95af86e9b67f0b82abaf78a5e8f7d974e86a9
dnsdist: Fix KVS compilation on Boost < 1.56

When neither the C++ 17 nor Boost >= 1.61 string_view are available,
we fall back to boost::string_ref. Unfortunately it didn't have the
to_string() method before 1.56.
Since we end up converting it to a string anyway, let's just skip the
string_view/string_ref part.
pdns/dnsdistdist/dnsdist-kvs.cc