From: Aki Tuomi Date: Mon, 21 Oct 2019 09:26:14 +0000 (+0300) Subject: webserver.hh: Rename what as what_arg X-Git-Tag: dnsdist-1.4.0~15^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1df079f5a670b74640d9c7b47c848e97eafde3b6;p=thirdparty%2Fpdns.git webserver.hh: Rename what as what_arg webserver.hh:128:36: warning: declaration of 'what' shadows a member of 'this' --- 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) { } };