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:
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user