From 91fa4d3f5fba8884d5494c41ce096516e9793fcc Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 9 Aug 2018 19:54:08 +0200 Subject: [PATCH] Fixed: Warnings, throw(type) deprecated in C++11 and removed in C++17 --HG-- branch : develop --- code/nel/src/net/module_socket.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/nel/src/net/module_socket.cpp b/code/nel/src/net/module_socket.cpp index 068567761..6ea16e8d6 100644 --- a/code/nel/src/net/module_socket.cpp +++ b/code/nel/src/net/module_socket.cpp @@ -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())