Vehicle selection!

This commit is contained in:
2014-05-31 03:45:37 +02:00
parent 55db057e50
commit a6906886f5
12 changed files with 206 additions and 24 deletions
+1 -5
View File
@@ -139,11 +139,7 @@ template <typename ContextType>
void EventBroker::UnsubscribeAll()
{
const std::string contextTypeName = typeid(ContextType).name();
auto contextIt = m_ContextRelays.find(contextTypeName);
if (contextIt != m_ContextRelays.end())
{
m_ContextRelays.erase(contextIt);
}
m_ContextRelays.erase(contextTypeName);
}
#endif // MessageRelay_h__