diff --git a/src/osgEarth/Containers b/src/osgEarth/Containers index 9b4c0c4cf3..368745dcb2 100644 --- a/src/osgEarth/Containers +++ b/src/osgEarth/Containers @@ -670,7 +670,7 @@ namespace osgEarth { namespace Util void forEach(std::function functor) { - osgEarth::Threading::ScopedLockIf lock(_mutex, _threthreadsafeadsafe); + osgEarth::Threading::ScopedLockIf lock(_mutex, threadsafe); for (auto& entry : _data) functor(entry.second); }