diff options
Diffstat (limited to 'include/Buffer.h')
-rw-r--r-- | include/Buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Buffer.h b/include/Buffer.h index 8b1c131..4971eb9 100644 --- a/include/Buffer.h +++ b/include/Buffer.h @@ -12,13 +12,14 @@ class Buffer : public Handle { public: Buffer(); - ~Buffer(); + virtual ~Buffer(); virtual ssize_t write(const void *buf, size_t count); virtual ssize_t read(void *buf, size_t count) throw (GeneralException); virtual bool CanRead(); virtual bool CanWrite(); virtual String GetName(); Buffer operator=(const Buffer &); + private: char * buffer; int realsiz, bufsiz, ptr; |