BIND 10 trac998, updated. 67a88d3fd748cc42730e142cbfa79d0b7fb7a813 [trac998] Corrected some minor issues
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 16 08:13:14 UTC 2011
The branch, trac998 has been updated
via 67a88d3fd748cc42730e142cbfa79d0b7fb7a813 (commit)
from bfd50c768ccf03b2e4f3d3ecbeb5fb344ff79129 (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 67a88d3fd748cc42730e142cbfa79d0b7fb7a813
Author: Stephen Morris <stephen at isc.org>
Date: Thu Jun 16 09:12:17 2011 +0100
[trac998] Corrected some minor issues
Marked a getXxx() method as const, and added member initialization
to a constructor in a test.
-----------------------------------------------------------------------
Summary of changes:
src/lib/acl/ip_check.h | 4 ++--
src/lib/acl/tests/ip_check_unittest.cc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/acl/ip_check.h b/src/lib/acl/ip_check.h
index b0b124b..78ae201 100644
--- a/src/lib/acl/ip_check.h
+++ b/src/lib/acl/ip_check.h
@@ -274,7 +274,7 @@ public:
}
/// \return Setting of inverse flag
- bool getInverse() {
+ bool getInverse() const {
return (inverse_);
}
///@}
@@ -470,7 +470,7 @@ public:
}
/// \return Setting of inverse flag
- bool getInverse() {
+ bool getInverse() const {
return (inverse_);
}
///@}
diff --git a/src/lib/acl/tests/ip_check_unittest.cc b/src/lib/acl/tests/ip_check_unittest.cc
index d60d965..5086a75 100644
--- a/src/lib/acl/tests/ip_check_unittest.cc
+++ b/src/lib/acl/tests/ip_check_unittest.cc
@@ -28,7 +28,7 @@ struct GeneralAddress {
uint32_t v4addr;
uint8_t v6addr[16];
- GeneralAddress()
+ GeneralAddress() : isv4(false), v4addr(0)
{}
// Convenience constructor for V4 address. As it is not marked as
More information about the bind10-changes
mailing list