removed deprecated dynamic exception specification from Cfg

master
Emanuel Vintila 2017-12-10 16:45:59 +01:00
parent cf749462de
commit 56c9762d2b
3 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
/**
* internally used function
*/
std::string CfgBase::_get(const std::string& name, XMLElement* elem) throw(IllegalEntry)
std::string CfgBase::_get(const std::string& name, XMLElement* elem)
{
if (!elem)
elem = _elem;

View File

@ -94,7 +94,7 @@ public:
XMLElement* _elem;
private:
std::string _get(const std::string& name, XMLElement* elem) throw(IllegalEntry);
std::string _get(const std::string& name, XMLElement* elem);
};
class Cfg : public CfgBase

View File

@ -18,6 +18,7 @@
*/
#include "HostStatisticsCfg.h"
#include "core/Cfg.h" // for IllegalEntry
HostStatisticsCfg::HostStatisticsCfg(XMLElement* elem) : CfgHelper<HostStatistics, HostStatisticsCfg>(elem, "hostStatistics")
{