Skip to content

Commit

Permalink
Refs #10456. Added lock around m_map.insert.
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsteve committed Nov 5, 2014
1 parent 7d436e6 commit c358971
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -993,7 +993,7 @@ namespace Mantid
{

std::set<std::string> oldParameterNames = oldPMap->names(oldComp);

Poco::RWLock::ScopedWriteLock _lock(m_boundingBoxCache);
for(auto it = oldParameterNames.begin(); it != oldParameterNames.end(); ++it)
{
Parameter_sptr thisParameter = oldPMap->get(oldComp,*it);
Expand Down

0 comments on commit c358971

Please sign in to comment.