]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
webserver.hh: Rename what as what_arg
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 21 Oct 2019 09:26:14 +0000 (12:26 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Tue, 29 Oct 2019 10:03:20 +0000 (12:03 +0200)
webserver.hh:128:36: warning: declaration of 'what' shadows a member of 'this'

pdns/webserver.hh

index 0855f7e41c37a413fe226cf5780ae1531e1493d5..aa62b73f2fcfdadb2227e27e73d4052479a87724 100644 (file)
@@ -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) {
   }
 };