Browse Source

[trac536] Smaller return value

Michal 'vorner' Vaner 14 years ago
parent
commit
044c080dd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/buffer.h

+ 1 - 1
src/lib/dns/buffer.h

@@ -355,7 +355,7 @@ public:
     /// exception class of \c InvalidBufferPosition will be thrown.
     ///
     /// \param pos The position in the buffer to be returned.
-    const uint8_t& operator[](size_t pos) const
+    uint8_t operator[](size_t pos) const
     {
         if (pos >= size_) {
             isc_throw(InvalidBufferPosition, "read at invalid position");