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