summaryrefslogtreecommitdiff
path: root/ZAPD/ZTexture.h
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2021-05-08 12:27:38 -0400
committerGitHub <noreply@github.com>2021-05-08 12:27:38 -0400
commita357277e412b5e8f0f2f0578c7d7d213e8744c8d (patch)
tree353e7aa38aef392c6f337d6a1a04d3438f00def5 /ZAPD/ZTexture.h
parent547c9b200d1dff745dee694c20a9f9e8e409a11d (diff)
Add const to most functions that need it and remove all "using namespace std" (#132)
* started on basic type errors * Done. For now * remove libgfxd binary * const * no more namespace std * revert alloca * re add a few missing consts
Diffstat (limited to 'ZAPD/ZTexture.h')
-rw-r--r--ZAPD/ZTexture.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ZAPD/ZTexture.h b/ZAPD/ZTexture.h
index aea2cd3..e580384 100644
--- a/ZAPD/ZTexture.h
+++ b/ZAPD/ZTexture.h
@@ -73,12 +73,12 @@ public:
void CalcHash() override;
void Save(const fs::path& outFolder) override;
- bool IsExternalResource() override;
- std::string GetSourceTypeName() override;
- ZResourceType GetResourceType() override;
- std::string GetExternalExtension() override;
+ bool IsExternalResource() const override;
+ std::string GetSourceTypeName() const override;
+ ZResourceType GetResourceType() const override;
+ std::string GetExternalExtension() const override;
- size_t GetRawDataSize() override;
+ size_t GetRawDataSize() const override;
std::string GetIMFmtFromType();
std::string GetIMSizFromType();
std::string GetDefaultName(const std::string& prefix);