Browse Source

removed meaningless const for an object return type. found by -Werror.

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1296 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
f71a2cae67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/name.h

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

@@ -301,7 +301,7 @@ public:
     /// \param pos The position in the wire format name data to be returned.
     /// \return An unsigned 8-bit integer corresponding to the name data
     /// at the position of \c pos.
-    const uint8_t at(size_t pos) const
+    uint8_t at(size_t pos) const
     {
         if (pos >= length_) {
             isc_throw(OutOfRange, "Out of range access in Name::at()");