X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fapp%2FComponent.cpp;fp=source%2Fapp%2FComponent.cpp;h=c8d0fbcc0ba585fe246d91e0fa5899dde437a940;hp=0ab2d3b25fb7ce172777efd1a10d58b82cce70d6;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/app/Component.cpp b/source/app/Component.cpp index 0ab2d3b..c8d0fbc 100644 --- a/source/app/Component.cpp +++ b/source/app/Component.cpp @@ -46,7 +46,7 @@ app::Component::~Component() { } void app::Component::addPredecessor(const char* componentName) -throw() { +{ const std::string name(componentName); if((find(begin(), end(), name)) != end()) @@ -63,7 +63,7 @@ throw() { } void app::Component::initialize() -throw(RuntimeException) { +noexcept(false) { if(a_state == State::Running) return; @@ -105,17 +105,17 @@ throw(RuntimeException) { } void app::Component::attach() -throw(RuntimeException) { +noexcept(false) { app::functions::getApp().attach(this); } std::string app::Component::asString() const -throw() { +{ return anna::Component::asString(); } xml::Node* app::Component::asXML(xml::Node* parent) const -throw() { +{ return anna::Component::asXML(parent); }