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
1 changed files with 3 additions and 2 deletions

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));
} }
} }