From cb205935d5e444cd7ab31cd4422b33f7b848091c Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Mon, 2 Feb 2026 18:32:14 -0500 Subject: [PATCH] Fix macro expansion warning --- RecastDemo/Source/Sample_SoloMesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecastDemo/Source/Sample_SoloMesh.cpp b/RecastDemo/Source/Sample_SoloMesh.cpp index 919d57ac..3ba89d84 100644 --- a/RecastDemo/Source/Sample_SoloMesh.cpp +++ b/RecastDemo/Source/Sample_SoloMesh.cpp @@ -112,7 +112,7 @@ void Sample_SoloMesh::drawToolsUI() toolNames[static_cast(SampleToolType::toolType)], \ currentType == SampleToolType::toolType)) \ { \ - setTool(new toolClass{}); \ + setTool(new (toolClass){}); \ } TOOL(NAVMESH_TESTER, NavMeshTesterTool) TOOL(NAVMESH_PRUNE, NavMeshPruneTool)