Fix macro expansion warning

This commit is contained in:
Graham Pentheny
2026-02-02 18:32:14 -05:00
parent a9ee01e64f
commit cb205935d5

View File

@@ -112,7 +112,7 @@ void Sample_SoloMesh::drawToolsUI()
toolNames[static_cast<uint8_t>(SampleToolType::toolType)], \
currentType == SampleToolType::toolType)) \
{ \
setTool(new toolClass{}); \
setTool(new (toolClass){}); \
}
TOOL(NAVMESH_TESTER, NavMeshTesterTool)
TOOL(NAVMESH_PRUNE, NavMeshPruneTool)