on xenial help sign in
Small tweak
481643eAndrea Cimitan
tests/mocks/Unity/fake_scopes.cpp+1−3
@@ -180,9 +180,7 @@ unity::shell::scopes::ScopeInterface* Scopes::overviewScope() const
180
180
181void Scopes::addTempScope(unity::shell::scopes::ScopeInterface* scope)
181void Scopes::addTempScope(unity::shell::scopes::ScopeInterface* scope)
182{
182{
183− if (!m_tempScopes.contains(scope)) {
184− m_tempScopes.insert(scope);
183+ m_tempScopes.insert(scope);
185− }
186}
184}
187
185
188void Scopes::closeScope(unity::shell::scopes::ScopeInterface* scope)
186void Scopes::closeScope(unity::shell::scopes::ScopeInterface* scope)