From fc704485589e2b1841d587e26f74794ac59c00d4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 18 Jun 2007 01:37:58 +0000 Subject: readded not silly refernce removed really silly refernce some tests with poll() --- buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buffer.h') diff --git a/buffer.h b/buffer.h index 6219939..9856f97 100644 --- a/buffer.h +++ b/buffer.h @@ -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 -- cgit v1.2.3