X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fdbms%2FShortBlock.cpp;h=867ce5aecfa3e9e2427bbb05e1824ae60c86e9c8;hb=e14f6ba5183403d7bbf589ef87b0643b12a0f72c;hp=a47de5f3cbe196a04e68ca76c9acaca8324e644c;hpb=78be86969d2f26a9084b0c4af6ce43d5fa4ed3fd;p=anna.git diff --git a/source/dbms/ShortBlock.cpp b/source/dbms/ShortBlock.cpp index a47de5f..867ce5a 100644 --- a/source/dbms/ShortBlock.cpp +++ b/source/dbms/ShortBlock.cpp @@ -13,7 +13,7 @@ using namespace anna; dbms::ShortBlock& dbms::ShortBlock::operator = (const dbms::ShortBlock & other) -throw(RuntimeException) { +noexcept(false) { if(this == &other) return *this; @@ -26,7 +26,7 @@ throw(RuntimeException) { } dbms::ShortBlock& dbms::ShortBlock::operator = (const anna::DataBlock & value) -throw(RuntimeException) { +noexcept(false) { if(value.getSize() > Data::getMaxSize()) { throw RuntimeException( functions::asString( @@ -42,7 +42,7 @@ throw(RuntimeException) { } std::string dbms::ShortBlock::asString() const -throw() { +{ std::string result("dbms::ShortBlock { "); result += dbms::Data::asString(); result += " | Value: ";