X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fcomm%2FLargeBinaryCodec.cpp;h=529782ef742e6772b5b529dc7414ce5dc3078dd8;hb=f34b8069233e9e09208339bb79d8576c1ff962e1;hp=4d924162ef7e1abf0c23e65c53bfedc7866a501b;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/source/comm/LargeBinaryCodec.cpp b/source/comm/LargeBinaryCodec.cpp index 4d92416..529782e 100644 --- a/source/comm/LargeBinaryCodec.cpp +++ b/source/comm/LargeBinaryCodec.cpp @@ -15,7 +15,7 @@ using namespace std; using namespace anna; void comm::LargeBinaryCodec::decode(const DataBlock& dataBlock) -throw(RuntimeException) { +noexcept(false) { DataBlock* block; comm::Codec::decode(dataBlock); const char* data = a_dataBlock.getData(); @@ -39,7 +39,7 @@ throw(RuntimeException) { } void comm::LargeBinaryCodec::reset() -throw() { +{ for(iterator ii = a_blocks.begin(), maxii = a_blocks.end(); ii != maxii; ii ++) delete data(ii); @@ -47,7 +47,7 @@ throw() { } comm::LargeBinaryCodec& comm::LargeBinaryCodec::operator += (const DataBlock & dataBlock) -throw(RuntimeException) { +noexcept(false) { char size [sizeof(int)]; a_dataBlock.append(functions::codeInteger(size, dataBlock.getSize()), sizeof(int)); a_dataBlock += dataBlock;