diff options
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[]"); |