X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fcomm%2FIndexedDelivery.cpp;h=98ad2d2f785265be0fb3d60c021d010630bc04da;hb=cef452116c2966d7eaa65ff31ee7613bf3ae1b93;hp=abc115f322318fbfd9f0d4198f75e05972df7e6c;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/source/comm/IndexedDelivery.cpp b/source/comm/IndexedDelivery.cpp index abc115f..98ad2d2 100644 --- a/source/comm/IndexedDelivery.cpp +++ b/source/comm/IndexedDelivery.cpp @@ -28,7 +28,7 @@ using namespace std; using namespace anna; void comm::IndexedDelivery::prepare(const int key) -throw(RuntimeException) { +noexcept(false) { const int size = comm::Delivery::size(); if(size == 0) { @@ -51,7 +51,7 @@ throw(RuntimeException) { } comm::Resource* comm::IndexedDelivery::do_apply() -throw(RuntimeException) { +noexcept(false) { comm::Resource* result = NULL; if(a_iikey == comm::Delivery::end()) @@ -97,7 +97,7 @@ throw(RuntimeException) { } string comm::IndexedDelivery::asString() const -throw() { +{ string result = className(); result += " { "; result += comm::Delivery::asString(); @@ -107,7 +107,7 @@ throw() { } xml::Node* comm::IndexedDelivery::asXML(xml::Node* parent) const -throw() { +{ xml::Node* node = parent->createChild("comm.IndexedDelivery"); node->createAttribute("Mode", (a_mode == Mode::Strict) ? "Strict" : "Flexible"); comm::Service::asXML(node);