summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-17 22:32:35 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-17 22:32:35 +0000
commitb2e23eac27427f254d60506089fd0f9a4de2214e (patch)
tree2908efa469884f7f4b502b2ad0b3fd2469df618a /buffer.h
parentadded [] - operator to Buffer (diff)
removed silly reference @ buffer [] operator
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.h b/buffer.h
index aa279d9..6219939 100644
--- a/buffer.h
+++ b/buffer.h
@@ -46,7 +46,7 @@ public:
u_int32_t resize(u_int32_t new_length);
u_int32_t getLength() const;
u_int8_t* getBuf();
- u_int8_t& operator[](u_int32_t index);
+ u_int8_t operator[](u_int32_t index);
u_int8_t const& operator[](u_int32_t index) const;
protected: