projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix local server for multiple applications
[anna.git]
/
include
/
anna
/
http
/
internal
/
EncodedBlock.hpp
diff --git
a/include/anna/http/internal/EncodedBlock.hpp
b/include/anna/http/internal/EncodedBlock.hpp
index
e8358fd
..
058669a
100644
(file)
--- 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) {;}
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; }
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;
private:
Type::_v a_type;