BIND 10 trac2946, updated. 49ef97d8a1b783a35a81db555eadbea985b84a11 [2946] get access to base class's static method via 'this' pointer

BIND 10 source code commits bind10-changes at lists.isc.org
Thu May 16 05:42:32 UTC 2013


The branch, trac2946 has been updated
       via  49ef97d8a1b783a35a81db555eadbea985b84a11 (commit)
      from  935c7cc4033d440f270cb2d62114024e3578a4d3 (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 49ef97d8a1b783a35a81db555eadbea985b84a11
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed May 15 22:41:27 2013 -0700

    [2946] get access to base class's static method via 'this' pointer
    
    as some compilers don't allow direct use of Base::method.

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

Summary of changes:
 src/lib/asiodns/tests/dns_server_unittest.cc |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/asiodns/tests/dns_server_unittest.cc b/src/lib/asiodns/tests/dns_server_unittest.cc
index 9a9e55f..2b70935 100644
--- a/src/lib/asiodns/tests/dns_server_unittest.cc
+++ b/src/lib/asiodns/tests/dns_server_unittest.cc
@@ -779,8 +779,7 @@ TEST_F(SyncServerTest, resetUDPServerBeforeEvent) {
     (*udp_server_)();
     udp_server_->stop();
     udp_server_.reset();
-    void (*prev_handler)(int) =
-                std::signal(SIGALRM, DNSServerTestBase::stopIOService);
+    void (*prev_handler)(int) = std::signal(SIGALRM, this->stopIOService);
     current_service = &service;
     alarm(IO_SERVICE_TIME_OUT);
     service.run();



More information about the bind10-changes mailing list