Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
This commit is contained in:
committed by
Martin Natano
parent
f0680a29fc
commit
0cba3579de
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user