Commit 76e01478 authored by Pavel Vainerman's avatar Pavel Vainerman

minor fixes

parent 8523ce50
......@@ -623,7 +623,7 @@ const std::shared_ptr<UniSetManager> UniSetManager::itemM( const ObjectId id )
//lock
uniset_rwmutex_rlock lock(mlistMutex);
for( auto& li : mlist )
for( const auto& li : mlist )
{
if ( li->getId() == id )
return li;
......@@ -641,7 +641,7 @@ const std::shared_ptr<UniSetObject> UniSetManager::itemO( const ObjectId id )
//lock
uniset_rwmutex_rlock lock(olistMutex);
for( auto& li : olist )
for( const auto& li : olist )
{
if ( li->getId() == id )
return li;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment