X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Futil%2FComponent.cpp;fp=source%2Fcore%2Futil%2FComponent.cpp;h=8fea637c306f22a06100c837520fbebe33a339c0;hp=6dbbd2218e8c84d1a2cd13b51cb37f0d37ad4bca;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/core/util/Component.cpp b/source/core/util/Component.cpp index 6dbbd22..8fea637 100644 --- a/source/core/util/Component.cpp +++ b/source/core/util/Component.cpp @@ -38,7 +38,7 @@ anna::Component::~Component() { } std::string anna::Component::asString() const -throw() { +{ std::string result("anna::Component { Name: "); result += a_className; result += " | Reference: "; @@ -47,7 +47,7 @@ throw() { } anna::xml::Node* anna::Component::asXML(anna::xml::Node* parent) const -throw() { +{ anna::xml::Node* result = parent->createChild("anna.Component"); result->createAttribute("Name", a_className); result->createAttribute("Reference", anna::functions::asHexString(anna_ptrnumber_cast(this)));