[svn] commit: r1296 - /trunk/src/lib/dns/name.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Mar 10 20:10:12 UTC 2010
Author: jinmei
Date: Wed Mar 10 20:10:12 2010
New Revision: 1296
Log:
removed meaningless const for an object return type. found by -Werror.
Modified:
trunk/src/lib/dns/name.h
Modified: trunk/src/lib/dns/name.h
==============================================================================
--- trunk/src/lib/dns/name.h (original)
+++ trunk/src/lib/dns/name.h Wed Mar 10 20:10:12 2010
@@ -301,7 +301,7 @@
/// \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()");
More information about the bind10-changes
mailing list