X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Futil%2FComponentManager.cpp;fp=source%2Fcore%2Futil%2FComponentManager.cpp;h=1607d9d2c0788dfd4732004f82c6eb0a3e75349d;hp=9f486a66e2b14c763eca1c423c9a30179657408a;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/core/util/ComponentManager.cpp b/source/core/util/ComponentManager.cpp index 9f486a6..1607d9d 100644 --- a/source/core/util/ComponentManager.cpp +++ b/source/core/util/ComponentManager.cpp @@ -19,7 +19,7 @@ anna::Component* anna::ComponentManager::find(const char* className) -throw() { +{ std::map ::iterator it = a_components.find(className); if(it != a_components.end()) return (*it).second; @@ -28,7 +28,7 @@ throw() { } void anna::ComponentManager::attach(anna::Component* component) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("anna::ComponentManager", "attach(component)", ANNA_FILE_LOCATION)); if(component == NULL) @@ -56,7 +56,7 @@ throw(anna::RuntimeException) { } void anna::ComponentManager::detach(anna::Component* component) -throw(anna::RuntimeException) { +noexcept(false) { LOGMETHOD(anna::TraceMethod tm("anna::ComponentManager", "detach(component)", ANNA_FILE_LOCATION)); if(component == NULL) @@ -83,7 +83,7 @@ throw(anna::RuntimeException) { } anna::xml::Node* anna::ComponentManager::asXML(anna::xml::Node* parent) const -throw() { +{ anna::xml::Node* node(NULL); node = parent->createChild("anna.Components"); std::map ::const_iterator it;