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