X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2FResource.cpp;fp=source%2Fcomm%2FResource.cpp;h=3f8ece666dfab51e5db5364ab797c8828eeaa716;hp=70b1770dc0186e78913ca3d632cb0d726c9dcb1b;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/Resource.cpp b/source/comm/Resource.cpp index 70b1770..3f8ece6 100644 --- a/source/comm/Resource.cpp +++ b/source/comm/Resource.cpp @@ -17,7 +17,7 @@ using namespace std; using namespace anna; xml::Node* comm::Resource::asXML(xml::Node* parent) const -throw(RuntimeException) { +noexcept(false) { xml::Node* result = parent->createChild("comm.Resource"); result->createAttribute("Name", getName()); result->createAttribute("Enabled", functions::asString(isEnabled())); @@ -26,7 +26,7 @@ throw(RuntimeException) { } void comm::Resource::asAttribute(xml::Node* node) const -throw(RuntimeException) { +noexcept(false) { node->createAttribute("Name", getName()); node->createAttribute("Enabled", functions::asString(isEnabled())); node->createAttribute("Available", functions::asString(isAvailable()));