Commit 5bb0f18a authored by Jelte Jansen's avatar Jelte Jansen
Browse files

style nits


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac383@3307 e5f2f494-b856-4b98-b285-d166d9295462
parent e4c54f13
...@@ -107,7 +107,7 @@ IOService::stop() { ...@@ -107,7 +107,7 @@ IOService::stop() {
asio::io_service& asio::io_service&
IOService::get_io_service() { IOService::get_io_service() {
return io_impl_->get_io_service(); return (io_impl_->get_io_service());
} }
class DNSServiceImpl { class DNSServiceImpl {
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
namespace asio { namespace asio {
// forward declaration for IOService::get_io_service() below // forward declaration for IOService::get_io_service() below
class DNSService;
class io_service; class io_service;
} }
...@@ -186,19 +185,18 @@ private: ...@@ -186,19 +185,18 @@ private:
public: public:
/// \brief The constructor with a specific IP address and port on which /// \brief The constructor with a specific IP address and port on which
/// the services listen on. /// the services listen on.
DNSService(IOService& io_service, const char& port, const char& address, DNSService(IOService& io_service, const char& port,
SimpleCallback* checkin, const char& address, SimpleCallback* checkin,
DNSLookup* lookup, DNSLookup* lookup, DNSAnswer* answer);
DNSAnswer* answer);
/// \brief The constructor with a specific port on which the services /// \brief The constructor with a specific port on which the services
/// listen on. /// listen on.
/// ///
/// It effectively listens on "any" IPv4 and/or IPv6 addresses. /// It effectively listens on "any" IPv4 and/or IPv6 addresses.
/// IPv4/IPv6 services will be available if and only if \c use_ipv4 /// IPv4/IPv6 services will be available if and only if \c use_ipv4
/// or \c use_ipv6 is \c true, respectively. /// or \c use_ipv6 is \c true, respectively.
DNSService(IOService& io_service, const char& port, const bool use_ipv4, const bool use_ipv6, DNSService(IOService& io_service, const char& port,
SimpleCallback* checkin, const bool use_ipv4, const bool use_ipv6,
DNSLookup* lookup, SimpleCallback* checkin, DNSLookup* lookup,
DNSAnswer* answer); DNSAnswer* answer);
/// \brief The destructor. /// \brief The destructor.
~DNSService(); ~DNSService();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment