input/InputStream: use C++11 initializers

This commit is contained in:
Max Kellermann
2017-12-26 11:32:36 +01:00
parent 078839c711
commit 82a79565de
4 changed files with 9 additions and 13 deletions

View File

@@ -34,7 +34,7 @@ class RewindInputStream final : public ProxyInputStream {
/**
* The write/append position within the buffer.
*/
size_t tail;
size_t tail = 0;
/**
* The size of this buffer is the maximum number of bytes
@@ -48,8 +48,7 @@ class RewindInputStream final : public ProxyInputStream {
public:
RewindInputStream(InputStream *_input)
:ProxyInputStream(_input),
tail(0) {
:ProxyInputStream(_input) {
}
/* virtual methods from InputStream */