diff options
author | Christian Pointner <equinox@anytun.org> | 2007-06-18 01:37:58 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2007-06-18 01:37:58 +0000 |
commit | fc704485589e2b1841d587e26f74794ac59c00d4 (patch) | |
tree | 0d28b10d3a1d0c0d53e6106521a11c29c143a966 /buffer.h | |
parent | removed silly reference @ buffer [] operator (diff) |
readded not silly refernce
removed really silly refernce
some tests with poll()
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,8 +46,8 @@ 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 const& operator[](u_int32_t index) const; + u_int8_t& operator[](u_int32_t index); + u_int8_t operator[](u_int32_t index) const; protected: operator u_int8_t*(); // just for write/read tun |