@@ -21,7 +21,7 @@ bool SharedObjects::suitable(const Path& filename) const
2121
2222bool SharedObjects::contains (const Path& filename, ref_ptr<const Options> options) const
2323{
24- std::scoped_lock<std::recursive_mutex> lock (_mutex );
24+ std::scoped_lock<std::recursive_mutex> lock (mutex );
2525
2626 auto loadedObject_id = std::type_index (typeid (LoadedObject));
2727 auto itr = _sharedObjects.find (loadedObject_id);
@@ -34,7 +34,7 @@ bool SharedObjects::contains(const Path& filename, ref_ptr<const Options> option
3434
3535void SharedObjects::add (ref_ptr<Object> object, const Path& filename, ref_ptr<const Options> options)
3636{
37- std::scoped_lock<std::recursive_mutex> lock (_mutex );
37+ std::scoped_lock<std::recursive_mutex> lock (mutex );
3838
3939 auto loadedObject_id = std::type_index (typeid (LoadedObject));
4040 auto & loadedObjects = _sharedObjects[loadedObject_id];
@@ -45,7 +45,7 @@ void SharedObjects::add(ref_ptr<Object> object, const Path& filename, ref_ptr<co
4545
4646bool SharedObjects::remove (const Path& filename, ref_ptr<const Options> options)
4747{
48- std::scoped_lock<std::recursive_mutex> lock (_mutex );
48+ std::scoped_lock<std::recursive_mutex> lock (mutex );
4949
5050 auto loadedObject_id = std::type_index (typeid (LoadedObject));
5151 auto itr = _sharedObjects.find (loadedObject_id);
@@ -67,14 +67,14 @@ bool SharedObjects::remove(const Path& filename, ref_ptr<const Options> options)
6767
6868void SharedObjects::clear ()
6969{
70- std::scoped_lock<std::recursive_mutex> lock (_mutex );
70+ std::scoped_lock<std::recursive_mutex> lock (mutex );
7171 _defaults.clear ();
7272 _sharedObjects.clear ();
7373}
7474
7575void SharedObjects::prune ()
7676{
77- std::scoped_lock<std::recursive_mutex> lock (_mutex );
77+ std::scoped_lock<std::recursive_mutex> lock (mutex );
7878
7979 auto loadedObject_id = std::type_index (typeid (LoadedObject));
8080
@@ -156,7 +156,7 @@ void SharedObjects::prune()
156156
157157void SharedObjects::report (vsg::LogOutput& output)
158158{
159- std::scoped_lock<std::recursive_mutex> lock (_mutex );
159+ std::scoped_lock<std::recursive_mutex> lock (mutex );
160160 output (" SharedObjects::report(..) " , this , " {" );
161161 output.in ();
162162 output (" SharedObjects::_defaults " , _defaults.size (), " {" );
0 commit comments