From 057738088e40fde82e367244340ef35d2a1b8914 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 21 Apr 2024 10:23:22 -0500 Subject: [PATCH] [olympic] Change TypeId building to use constexpr globals --- src/olympic/keel/include/keel/typeconv.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/olympic/keel/include/keel/typeconv.hpp b/src/olympic/keel/include/keel/typeconv.hpp index aa9ca388..35239488 100644 --- a/src/olympic/keel/include/keel/typeconv.hpp +++ b/src/olympic/keel/include/keel/typeconv.hpp @@ -160,7 +160,7 @@ auto transformRule(keel::Context &ctx, ox::Buffer &buff) noexcept -> ox::Error { oxRequire(hdr, readAssetHeader(buff)); const auto typeId = ox::buildTypeId( hdr.clawHdr.typeName, hdr.clawHdr.typeVersion, hdr.clawHdr.typeParams); - if (typeId == ox::buildTypeId()) { + if (typeId == ox::ModelTypeId_v) { oxReturnError(keel::convertBuffToBuff(ctx, buff, fmt).moveTo(buff)); } return {};