BIND 10 master, updated. 9336279b31c1a5dd9e50fa37d8178c790c4fdef0 [master] fixed the build failure on g++ 4.3.2/Debian: it required exact type matching for the shared_ptr template parameters in "?:". Note that this fix doesn't loosen the constness, so it doesn't compromise anything.

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jul 6 07:13:38 UTC 2011


The branch, master has been updated
       via  9336279b31c1a5dd9e50fa37d8178c790c4fdef0 (commit)
      from  db143fb8a98a13414f997892449ca2fbb07a0629 (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 9336279b31c1a5dd9e50fa37d8178c790c4fdef0
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Jul 6 07:11:09 2011 +0000

    [master] fixed the build failure on g++ 4.3.2/Debian: it required exact
    type matching for the shared_ptr template parameters in "?:".  Note that
    this fix doesn't loosen the constness, so it doesn't compromise anything.

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

Summary of changes:
 src/bin/resolver/resolver.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/resolver/resolver.cc b/src/bin/resolver/resolver.cc
index a3a7a69..fb9621b 100644
--- a/src/bin/resolver/resolver.cc
+++ b/src/bin/resolver/resolver.cc
@@ -598,7 +598,7 @@ Resolver::updateConfig(ConstElementPtr config) {
         const ConstElementPtr query_acl_cfg(config->get("query_acl"));
         const shared_ptr<const RequestACL> query_acl =
             query_acl_cfg ? acl::dns::getRequestLoader().load(query_acl_cfg) :
-            shared_ptr<const RequestACL>();
+            shared_ptr<RequestACL>();
         bool set_timeouts(false);
         int qtimeout = impl_->query_timeout_;
         int ctimeout = impl_->client_timeout_;




More information about the bind10-changes mailing list