From 1df079f5a670b74640d9c7b47c848e97eafde3b6 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Mon, 21 Oct 2019 12:26:14 +0300 Subject: [PATCH] webserver.hh: Rename what as what_arg webserver.hh:128:36: warning: declaration of 'what' shadows a member of 'this' --- pdns/webserver.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/webserver.hh b/pdns/webserver.hh index 0855f7e41c..aa62b73f2f 100644 --- a/pdns/webserver.hh +++ b/pdns/webserver.hh @@ -125,7 +125,7 @@ public: class ApiException : public runtime_error { public: - ApiException(const string& what) : runtime_error(what) { + ApiException(const string& what_arg) : runtime_error(what_arg) { } }; -- 2.47.2