X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Futil%2FZBlock.cpp;fp=source%2Fcore%2Futil%2FZBlock.cpp;h=c569f5e663890128c0b0950d5da7dfd5963c7268;hp=2bc7d212c5a8fbbbdf9969cd841c2739ae12236e;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 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);