1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-25 12:41:01 +00:00

Merge pull request #2812 from elsid/fix_gcc_5_build

Workaround for GCC 5 bug
This commit is contained in:
Alexei Dobrohotov 2020-04-29 19:32:27 +03:00 committed by GitHub
commit 1bcf38c3d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)