Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17

--HG--
branch : develop
This commit is contained in:
kervala 2018-08-09 19:54:08 +02:00
parent c13b758be9
commit 91fa4d3f5f

View file

@ -85,8 +85,7 @@ namespace NLNET
_PluggedModules.removeWithB(pluggedModule);
}
void CModuleSocket::sendModuleMessage(IModule *senderModule, TModuleId destModuleProxyId, const NLNET::CMessage &message )
throw (EModuleNotPluggedHere)
void CModuleSocket::sendModuleMessage(IModule *senderModule, TModuleId destModuleProxyId, const NLNET::CMessage &message)
{
TPluggedModules::TBToAMap::const_iterator it(_PluggedModules.getBToAMap().find(senderModule));
if (it == _PluggedModules.getBToAMap().end())
@ -100,7 +99,6 @@ namespace NLNET
}
void CModuleSocket::broadcastModuleMessage(IModule *senderModule, const NLNET::CMessage &message)
throw (EModuleNotPluggedHere)
{
TPluggedModules::TBToAMap::const_iterator it(_PluggedModules.getBToAMap().find(senderModule));
if (it == _PluggedModules.getBToAMap().end())