Commit 3cb3a4d0 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE] removed commented code

parent 061370a7
......@@ -143,7 +143,6 @@ boost::shared_ptr<WGEViewer> WGraphicsEngine::createViewer( std::string name, os
// store it in viewer list
boost::mutex::scoped_lock lock( m_viewersLock );
assert( m_viewers.insert( make_pair( name, viewer ) ).second == true );
//m_viewersLock.unlock();
return viewer;
}
......@@ -157,7 +156,6 @@ void WGraphicsEngine::closeViewer( const std::string name )
m_viewers.erase( name );
}
//m_viewersLock.unlock();
}
boost::shared_ptr< WGEViewer > WGraphicsEngine::getViewerByName( std::string name )
......@@ -166,7 +164,6 @@ boost::shared_ptr< WGEViewer > WGraphicsEngine::getViewerByName( std::string nam
boost::shared_ptr< WGEViewer > out = m_viewers.count( name ) > 0 ?
m_viewers[name] :
boost::shared_ptr< WGEViewer >();
//m_viewersLock.unlock();
return out;
}
......
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