diff options
Diffstat (limited to 'src/pstream.h')
-rw-r--r-- | src/pstream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pstream.h b/src/pstream.h index 5fac20bd..8134495d 100644 --- a/src/pstream.h +++ b/src/pstream.h @@ -99,7 +99,7 @@ class ptristream : public std::istream protected: ptrinbuf buf; -public: +public: ptristream(char * ptr, std::size_t len = 0) : std::istream(0), buf(ptr, len) { rdbuf(&buf); |