You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
691 B

  1. From 6910a23b67f64bd71ffb26c1888fb9d8b99acfa6 Mon Sep 17 00:00:00 2001
  2. From: Peter van Dijk <peter.van.dijk@powerdns.com>
  3. Date: Mon, 9 Mar 2020 19:10:00 +0100
  4. Subject: [PATCH] auth lmdb: avoid blanket std import; fixes #8872
  5. ---
  6. ext/lmdb-safe/lmdb-safe.cc | 5 ++++-
  7. 1 file changed, 4 insertions(+), 1 deletion(-)
  8. diff --git a/ext/lmdb-safe/lmdb-safe.cc b/ext/lmdb-safe/lmdb-safe.cc
  9. index f4874261f6..c29d291473 100644
  10. --- a/ext/lmdb-safe/lmdb-safe.cc
  11. +++ b/ext/lmdb-safe/lmdb-safe.cc
  12. @@ -6,7 +6,10 @@
  13. #include <string.h>
  14. #include <map>
  15. -using namespace std;
  16. +using std::string;
  17. +using std::runtime_error;
  18. +using std::tuple;
  19. +using std::weak_ptr;
  20. static string MDBError(int rc)
  21. {