Browse Source

style nits

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac383@3307 e5f2f494-b856-4b98-b285-d166d9295462
Jelte Jansen 14 years ago
parent
commit
5bb0f18a3a
2 changed files with 7 additions and 9 deletions
  1. 1 1
      src/lib/asiolink/asiolink.cc
  2. 6 8
      src/lib/asiolink/asiolink.h

+ 1 - 1
src/lib/asiolink/asiolink.cc

@@ -107,7 +107,7 @@ IOService::stop() {
 
 asio::io_service&
 IOService::get_io_service() {
-    return io_impl_->get_io_service();
+    return (io_impl_->get_io_service());
 }
 
 class DNSServiceImpl {

+ 6 - 8
src/lib/asiolink/asiolink.h

@@ -40,7 +40,6 @@
 
 namespace asio {
 // forward declaration for IOService::get_io_service() below
-class DNSService;
 class io_service;
 }
 
@@ -186,19 +185,18 @@ private:
 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();