X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdbms%2FShortBlock.cpp;fp=source%2Fdbms%2FShortBlock.cpp;h=867ce5aecfa3e9e2427bbb05e1824ae60c86e9c8;hp=a47de5f3cbe196a04e68ca76c9acaca8324e644c;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 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: ";