[svn] commit: r1313 - /trunk/src/lib/dns/base64.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Mar 11 00:44:35 UTC 2010


Author: jinmei
Date: Thu Mar 11 00:44:35 2010
New Revision: 1313

Log:
fixed return type from object to a reference

Modified:
    trunk/src/lib/dns/base64.cc

Modified: trunk/src/lib/dns/base64.cc
==============================================================================
--- trunk/src/lib/dns/base64.cc (original)
+++ trunk/src/lib/dns/base64.cc Thu Mar 11 00:44:35 2010
@@ -114,7 +114,7 @@
         }
         return (*this);
     }
-    const char operator*() const {
+    const char& operator*() const {
         if (in_pad_ && *base_ == BASE64_PADDING_CHAR) {
             return (BASE64_ZERO_CODE);
         } else {




More information about the bind10-changes mailing list