1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:23:53 +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)