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
1 changed files with 2 additions and 2 deletions

View File

@ -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));
} }