]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #8916 from Habbie/lmdb-namespaces-fbsd
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 20 Mar 2020 23:25:41 +0000 (00:25 +0100)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2020 23:25:41 +0000 (00:25 +0100)
auth lmdb: avoid blanket std import; fixes #8872

ext/lmdb-safe/lmdb-safe.cc

index f4874261f62884eb5f60d6a09e9eb70a6d0206be..c29d29147369adfc13dbfa6de85f353c73a42876 100644 (file)
@@ -6,7 +6,10 @@
 #include <string.h>
 #include <map>
 
-using namespace std;
+using std::string;
+using std::runtime_error;
+using std::tuple;
+using std::weak_ptr;
 
 static string MDBError(int rc)
 {