2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 08:46:10 +00:00

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

This commit is contained in:
Lioncash
2020-04-23 21:23:17 -04:00
parent 5e9bf292d7
commit ee0762db32

View File

@@ -210,8 +210,8 @@ bool CRasterFont::IsFinishedLoading() const {
return true;
}
std::unique_ptr<IObj> FRasterFontFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
CObjectReference* selfRef) {
std::unique_ptr<IObj> FRasterFontFactory([[maybe_unused]] const SObjectTag& tag, CInputStream& in,
const CVParamTransfer& vparms, [[maybe_unused]] CObjectReference* selfRef) {
CSimplePool* sp = vparms.GetOwnedObj<CSimplePool*>();
return TToken<CRasterFont>::GetIObjObjectFor(std::make_unique<CRasterFont>(in, *sp));
}