[svn] commit: r3307 - in /branches/trac383/src/lib/asiolink: asiolink.cc asiolink.h

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 21 12:50:37 UTC 2010


Author: jelte
Date: Thu Oct 21 12:50:36 2010
New Revision: 3307

Log:
style nits

Modified:
    branches/trac383/src/lib/asiolink/asiolink.cc
    branches/trac383/src/lib/asiolink/asiolink.h

Modified: branches/trac383/src/lib/asiolink/asiolink.cc
==============================================================================
--- branches/trac383/src/lib/asiolink/asiolink.cc (original)
+++ branches/trac383/src/lib/asiolink/asiolink.cc Thu Oct 21 12:50:36 2010
@@ -107,7 +107,7 @@
 
 asio::io_service&
 IOService::get_io_service() {
-    return io_impl_->get_io_service();
+    return (io_impl_->get_io_service());
 }
 
 class DNSServiceImpl {

Modified: branches/trac383/src/lib/asiolink/asiolink.h
==============================================================================
--- branches/trac383/src/lib/asiolink/asiolink.h (original)
+++ branches/trac383/src/lib/asiolink/asiolink.h Thu Oct 21 12:50:36 2010
@@ -40,7 +40,6 @@
 
 namespace asio {
 // forward declaration for IOService::get_io_service() below
-class DNSService;
 class io_service;
 }
 
@@ -186,19 +185,18 @@
 public:
     /// \brief The constructor with a specific IP address and port on which
     /// the services listen on.
-    DNSService(IOService& io_service, const char& port, const char& address,
-               SimpleCallback* checkin,
-               DNSLookup* lookup,
-               DNSAnswer* answer);
+    DNSService(IOService& io_service, const char& port,
+               const char& address, SimpleCallback* checkin,
+               DNSLookup* lookup, DNSAnswer* answer);
     /// \brief The constructor with a specific port on which the services
     /// listen on.
     ///
     /// It effectively listens on "any" IPv4 and/or IPv6 addresses.
     /// IPv4/IPv6 services will be available if and only if \c use_ipv4
     /// or \c use_ipv6 is \c true, respectively.
-    DNSService(IOService& io_service, const char& port, const bool use_ipv4, const bool use_ipv6,
-               SimpleCallback* checkin,
-               DNSLookup* lookup,
+    DNSService(IOService& io_service, const char& port,
+               const bool use_ipv4, const bool use_ipv6,
+               SimpleCallback* checkin, DNSLookup* lookup,
                DNSAnswer* answer);
     /// \brief The destructor.
     ~DNSService();




More information about the bind10-changes mailing list