提交 05e8339e authored 作者: blu's avatar blu

big refacting of communitation architect

上级 f233da7d
......@@ -193,12 +193,3 @@ namespace cfgutils {
return ret;
}
} // cfgutils
struct StrException : public std::exception
{
std::string s;
StrException(std::string ss) : s(ss) {}
~StrException() throw () {} // Updated
const char* what() const throw() { return s.c_str(); }
};
\ No newline at end of file
......@@ -40,6 +40,12 @@ namespace cfgutils {
json *findModuleConfig(string peerId, json &data);
}
struct StrException;
struct StrException : public std::exception
{
std::string s;
StrException(std::string ss) : s(ss) {}
~StrException() throw () {} // Updated
const char* what() const throw() { return s.c_str(); }
};
#endif
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论