mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 22:17:03 +00:00
CRasterFont: Make use of [[maybe_unused]] where applicable
This commit is contained in:
@@ -210,8 +210,8 @@ bool CRasterFont::IsFinishedLoading() const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<IObj> FRasterFontFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
|
std::unique_ptr<IObj> FRasterFontFactory([[maybe_unused]] const SObjectTag& tag, CInputStream& in,
|
||||||
CObjectReference* selfRef) {
|
const CVParamTransfer& vparms, [[maybe_unused]] CObjectReference* selfRef) {
|
||||||
CSimplePool* sp = vparms.GetOwnedObj<CSimplePool*>();
|
CSimplePool* sp = vparms.GetOwnedObj<CSimplePool*>();
|
||||||
return TToken<CRasterFont>::GetIObjObjectFor(std::make_unique<CRasterFont>(in, *sp));
|
return TToken<CRasterFont>::GetIObjObjectFor(std::make_unique<CRasterFont>(in, *sp));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user