X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fhttp%2Finternal%2FEncodedBlock.hpp;fp=include%2Fanna%2Fhttp%2Finternal%2FEncodedBlock.hpp;h=058669a23b11454f6e398e42363e64274f0e0ef2;hp=e8358fdd23fcf6dc7942cc06066f97edd2adcfc2;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/http/internal/EncodedBlock.hpp b/include/anna/http/internal/EncodedBlock.hpp index e8358fd..058669a 100644 --- a/include/anna/http/internal/EncodedBlock.hpp +++ b/include/anna/http/internal/EncodedBlock.hpp @@ -22,15 +22,15 @@ public: EncodedBlock() : DataBlock(true), a_chunk(true), a_expectedSize(-1), a_type(Type::None) {;} - Type::_v getType() const throw() { return a_type; } - bool isValid() const throw() { return a_type != Type::None; } + Type::_v getType() const { return a_type; } + bool isValid() const { return a_type != Type::None; } - void setType(const Type::_v type) throw() { a_type = type; } - void setExpectedSize(const int expectedSize) throw() { a_expectedSize = expectedSize; } + void setType(const Type::_v type) { a_type = type; } + void setExpectedSize(const int expectedSize) { a_expectedSize = expectedSize; } void clear() { DataBlock::clear(); a_expectedSize = -1; a_chunk.clear(); a_type = Type::None; } - State::_v append(const DataBlock& chunk) throw(); + State::_v append(const DataBlock& chunk) ; private: Type::_v a_type;