BIND 10 trac1305, updated. acab4a018b927cf5887b6de8135dbae0d2dcdbff [1305] pass parameter by reference, not by object (intended to be the former, but apparently forgot to type in '&')

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 17 22:53:09 UTC 2011


The branch, trac1305 has been updated
       via  acab4a018b927cf5887b6de8135dbae0d2dcdbff (commit)
      from  ce532896000ddcc026045a08ddb9ae2b96ae7ba9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit acab4a018b927cf5887b6de8135dbae0d2dcdbff
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Oct 17 15:52:30 2011 -0700

    [1305] pass parameter by reference, not by object (intended to be the former,
    but apparently forgot to type in '&')

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/tests/database_unittest.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/database_unittest.cc b/src/lib/datasrc/tests/database_unittest.cc
index 0c02071..d6a9689 100644
--- a/src/lib/datasrc/tests/database_unittest.cc
+++ b/src/lib/datasrc/tests/database_unittest.cc
@@ -264,7 +264,7 @@ class MockAccessor : public NopAccessor {
     // Type of mock database "row"s.  This is a map whose keys are the
     // own names.  We internally sort them by the name comparison order.
     struct NameCompare : public binary_function<string, string, bool> {
-        bool operator()(const string& n1, const string n2) const {
+        bool operator()(const string& n1, const string& n2) const {
             return (Name(n1).compare(Name(n2)).getOrder() < 0);
         }
     };




More information about the bind10-changes mailing list