2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 19:04:56 +00:00

CTextureCache: Make use of [[maybe_unused]] where applicable

This commit is contained in:
Lioncash
2020-04-23 21:15:30 -04:00
parent 600076030f
commit 5e9bf292d7

View File

@@ -18,8 +18,9 @@ const CTextureInfo* CTextureCache::GetTextureInfo(CAssetId id) const {
return &it->second; return &it->second;
} }
CFactoryFnReturn FTextureCacheFactory(const SObjectTag& tag, CInputStream& in, CFactoryFnReturn FTextureCacheFactory([[maybe_unused]] const SObjectTag& tag, CInputStream& in,
const CVParamTransfer& vparms, CObjectReference* selfRef) { [[maybe_unused]] const CVParamTransfer& vparms,
[[maybe_unused]] CObjectReference* selfRef) {
return TToken<CTextureCache>::GetIObjObjectFor(std::make_unique<CTextureCache>(in)); return TToken<CTextureCache>::GetIObjObjectFor(std::make_unique<CTextureCache>(in));
} }
} }