]> git.ipfire.org Git - thirdparty/pdns.git/commit
use std::string_view when available 9207/head
authorRosen Penev <rosenp@gmail.com>
Sat, 6 Jun 2020 18:33:55 +0000 (11:33 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 6 Jun 2020 18:33:55 +0000 (11:33 -0700)
commit405bdec807a7b530173ebf018843c4552dfa20c9
tree86ec2e6f267a3ff3db29023276acb6f0d98dc861
parentb132600c4a64da426518e173ffce62c6b301e461
use std::string_view when available

There's a standard C++ macro to check for its existence.

libstdc++ from GCC makes it available under C++17 and up. libcxx from
LLVM makes it available everywhere.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
ext/lmdb-safe/lmdb-safe.hh
pdns/dnsdistdist/views.hh