From 899a6b5aa3d9e21169276cfca6e50bdb0fc29d73 Mon Sep 17 00:00:00 2001 From: elsid Date: Wed, 29 Apr 2020 13:54:48 +0200 Subject: [PATCH] Workaround for GCC 5 bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636 --- components/detournavigator/navmeshmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/detournavigator/navmeshmanager.cpp b/components/detournavigator/navmeshmanager.cpp index b6c25bd93c..29a2970184 100644 --- a/components/detournavigator/navmeshmanager.cpp +++ b/components/detournavigator/navmeshmanager.cpp @@ -57,7 +57,7 @@ namespace DetourNavigator const AreaType areaType) { return mRecastMeshManager.updateObject(id, shape, transform, areaType, - [&] (const auto& tile) { addChangedTile(tile, ChangeType::update); }); + [&] (const TilePosition& tile) { addChangedTile(tile, ChangeType::update); }); } bool NavMeshManager::removeObject(const ObjectId id)