Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements

Fix whitespace changes
This commit is contained in:
Michael Sundqvist
2022-07-10 18:28:56 +03:00
committed by Martin Natano
parent f0680a29fc
commit 0cba3579de
534 changed files with 3456 additions and 3488 deletions
+3 -3
View File
@@ -92,8 +92,8 @@ XToString( MessageID );
static RageMutex g_Mutex( "MessageManager" );
typedef set<IMessageSubscriber*> SubscribersSet;
static map<RString,SubscribersSet> g_MessageToSubscribers;
typedef std::set<IMessageSubscriber*> SubscribersSet;
static std::map<RString,SubscribersSet> g_MessageToSubscribers;
Message::Message( const RString &s )
{
@@ -215,7 +215,7 @@ void MessageManager::Broadcast( Message &msg ) const
LockMut(g_Mutex);
map<RString,SubscribersSet>::const_iterator iter = g_MessageToSubscribers.find( msg.GetName() );
std::map<RString, SubscribersSet>::const_iterator iter = g_MessageToSubscribers.find( msg.GetName() );
if( iter == g_MessageToSubscribers.end() )
return;