diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:11:34 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:11:34 +0100 |
commit | 15a980a6169ff975628bf1d4ecd16168fe609bf4 (patch) | |
tree | a7bc776991e20a21206f2198d1f702a6800bec6f /src/WebAdmin.h | |
parent | removed lua makefile (diff) | |
download | cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.gz cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.bz2 cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.lz cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.xz cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.zst cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WebAdmin.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h index 0907e7bc3..3eb807640 100644 --- a/src/WebAdmin.h +++ b/src/WebAdmin.h @@ -105,7 +105,7 @@ public: cWebAdmin(void); - ~cWebAdmin(); + virtual ~cWebAdmin(); /// Initializes the object. Returns true if successfully initialized and ready to start bool Init(void); @@ -169,9 +169,16 @@ protected: virtual void OnBody(const char * a_Data, int a_Size) override; // cHTTPFormParser::cCallbacks overrides. Files are ignored: - virtual void OnFileStart(cHTTPFormParser & a_Parser, const AString & a_FileName) override {} - virtual void OnFileData(cHTTPFormParser & a_Parser, const char * a_Data, int a_Size) override {} - virtual void OnFileEnd(cHTTPFormParser & a_Parser) override {} + virtual void OnFileStart(cHTTPFormParser &, const AString & a_FileName) override + { + UNUSED(a_FileName); + } + virtual void OnFileData(cHTTPFormParser &, const char * a_Data, int a_Size) override + { + UNUSED(a_Data); + UNUSED(a_Size); + } + virtual void OnFileEnd(cHTTPFormParser &) override {} } ; |