diff options
author | Christian Pointner <equinox@anytun.org> | 2007-06-17 22:32:35 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2007-06-17 22:32:35 +0000 |
commit | b2e23eac27427f254d60506089fd0f9a4de2214e (patch) | |
tree | 2908efa469884f7f4b502b2ad0b3fd2469df618a /buffer.cpp | |
parent | added [] - operator to Buffer (diff) |
removed silly reference @ buffer [] operator
Diffstat (limited to 'buffer.cpp')
-rw-r--r-- | buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ u_int8_t* Buffer::getBuf() return buf_; } -u_int8_t& Buffer::operator[](u_int32_t index) +u_int8_t Buffer::operator[](u_int32_t index) { if(index >= length_) throw std::out_of_range("buffer::operator[]"); |