Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17
--HG-- branch : develop
This commit is contained in:
parent
c13b758be9
commit
91fa4d3f5f
1 changed files with 1 additions and 3 deletions
|
@ -85,8 +85,7 @@ namespace NLNET
|
||||||
_PluggedModules.removeWithB(pluggedModule);
|
_PluggedModules.removeWithB(pluggedModule);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CModuleSocket::sendModuleMessage(IModule *senderModule, TModuleId destModuleProxyId, const NLNET::CMessage &message )
|
void CModuleSocket::sendModuleMessage(IModule *senderModule, TModuleId destModuleProxyId, const NLNET::CMessage &message)
|
||||||
throw (EModuleNotPluggedHere)
|
|
||||||
{
|
{
|
||||||
TPluggedModules::TBToAMap::const_iterator it(_PluggedModules.getBToAMap().find(senderModule));
|
TPluggedModules::TBToAMap::const_iterator it(_PluggedModules.getBToAMap().find(senderModule));
|
||||||
if (it == _PluggedModules.getBToAMap().end())
|
if (it == _PluggedModules.getBToAMap().end())
|
||||||
|
@ -100,7 +99,6 @@ namespace NLNET
|
||||||
}
|
}
|
||||||
|
|
||||||
void CModuleSocket::broadcastModuleMessage(IModule *senderModule, const NLNET::CMessage &message)
|
void CModuleSocket::broadcastModuleMessage(IModule *senderModule, const NLNET::CMessage &message)
|
||||||
throw (EModuleNotPluggedHere)
|
|
||||||
{
|
{
|
||||||
TPluggedModules::TBToAMap::const_iterator it(_PluggedModules.getBToAMap().find(senderModule));
|
TPluggedModules::TBToAMap::const_iterator it(_PluggedModules.getBToAMap().find(senderModule));
|
||||||
if (it == _PluggedModules.getBToAMap().end())
|
if (it == _PluggedModules.getBToAMap().end())
|
||||||
|
|
Loading…
Reference in a new issue