mirror of https://github.com/AxioDL/metaforce.git
CTextureCache: Make use of [[maybe_unused]] where applicable
This commit is contained in:
parent
600076030f
commit
5e9bf292d7
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue