summaryrefslogtreecommitdiff
path: root/include/Buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Buffer.h')
-rw-r--r--include/Buffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Buffer.h b/include/Buffer.h
index c6bfcf4..cf57cb6 100644
--- a/include/Buffer.h
+++ b/include/Buffer.h
@@ -9,7 +9,7 @@
#define realloc_threshold 256
#endif
-class Buffer: public Handle {
+class Buffer : public Handle {
public:
Buffer();
~Buffer();
@@ -18,6 +18,7 @@ class Buffer: public Handle {
virtual bool CanRead();
virtual bool CanWrite();
virtual String GetName();
+ Buffer operator=(const Buffer &);
private:
char * buffer;
int realsiz, bufsiz, ptr;