mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 00:09:41 +00:00
Remove redundant lock
mGeneration is const and mRevision is changed only from the same thread.
This commit is contained in:
parent
2885885331
commit
8147d49178
1 changed files with 0 additions and 1 deletions
|
@ -170,7 +170,6 @@ namespace DetourNavigator
|
||||||
|
|
||||||
Version RecastMeshManager::getVersion() const
|
Version RecastMeshManager::getVersion() const
|
||||||
{
|
{
|
||||||
const std::lock_guard lock(mMutex);
|
|
||||||
return Version {mGeneration, mRevision};
|
return Version {mGeneration, mRevision};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue