mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-22 02:58:39 +00:00
Fix macro expansion warning
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user