X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fcore%2Futil%2FZBlock.cpp;h=c569f5e663890128c0b0950d5da7dfd5963c7268;hb=e14f6ba5183403d7bbf589ef87b0643b12a0f72c;hp=2bc7d212c5a8fbbbdf9969cd841c2739ae12236e;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/source/core/util/ZBlock.cpp b/source/core/util/ZBlock.cpp index 2bc7d21..c569f5e 100644 --- a/source/core/util/ZBlock.cpp +++ b/source/core/util/ZBlock.cpp @@ -20,7 +20,7 @@ using namespace anna; * + buffer comprimido. */ const DataBlock& ZBlock::compress(const DataBlock& data, const Mode::_v mode) -throw(RuntimeException) { +noexcept(false) { if(&data == this) throw RuntimeException("ZBlock::compress | Source and target object cannot be the same", ANNA_FILE_LOCATION); @@ -66,7 +66,7 @@ throw(RuntimeException) { } const DataBlock& ZBlock::uncompress(const DataBlock& zdata) -throw(RuntimeException) { +noexcept(false) { if(&zdata == this) throw RuntimeException("ZBlock::uncompress | Source and target object cannot be the same", ANNA_FILE_LOCATION);