diff options
| author | Random <28494085+Random06457@users.noreply.github.com> | 2021-09-12 22:25:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-12 16:25:37 -0400 |
| commit | 90662f3cbade844c8edc3943ab8252e334b6166a (patch) | |
| tree | cc794d60659a4640d36af52b580228891515e0dc /ZAPD/ZPath.h | |
| parent | 5da00201f261f8ac4927064f1390e886672cda58 (diff) | |
Fix compilation with -Wextra (#164)
* add -Wextra -Werror
* remove void arg in GfxdCallback_FormatSingleEntry
* mark CRC32 functions as maybe_unused
* remove useless comment
* fix clang warnings
* replace (void) with [[maybe_unused]]
* run make format
Diffstat (limited to 'ZAPD/ZPath.h')
| -rw-r--r-- | ZAPD/ZPath.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ZAPD/ZPath.h b/ZAPD/ZPath.h index 23e2933..21394fa 100644 --- a/ZAPD/ZPath.h +++ b/ZAPD/ZPath.h @@ -11,12 +11,12 @@ public: void ParseRawData() override; void DeclareReferences(const std::string& prefix) override; - std::string GetBodySourceCode() const; + std::string GetBodySourceCode() const override; std::string GetSourceTypeName() const override; ZResourceType GetResourceType() const override; - size_t GetRawDataSize() const; + size_t GetRawDataSize() const override; segptr_t GetListAddress() const; protected: @@ -32,13 +32,13 @@ class ZPath : public ZResource public: ZPath(ZFile* nParent); - void ExtractFromXML(tinyxml2::XMLElement* reader, uint32_t nRawDataIndex); + void ExtractFromXML(tinyxml2::XMLElement* reader, uint32_t nRawDataIndex) override; void ParseXML(tinyxml2::XMLElement* reader) override; void ParseRawData() override; void DeclareReferences(const std::string& prefix) override; - std::string GetBodySourceCode() const; + std::string GetBodySourceCode() const override; std::string GetSourceOutputCode(const std::string& prefix) override; std::string GetSourceTypeName() const override; |
