From e4a5df936f026a86b2dc85925b02953d1d00a9c6 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Wed, 3 Aug 2011 21:57:07 -0300 Subject: [PATCH] Pinger factory provides only static (class) methods, thus do not require public constructor and destructor. --- src/host/pingerfactory.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/host/pingerfactory.h b/src/host/pingerfactory.h index d369865..ff8bb27 100644 --- a/src/host/pingerfactory.h +++ b/src/host/pingerfactory.h @@ -36,14 +36,16 @@ class PingerFactory { public: - PingerFactory(); - virtual ~PingerFactory(); - static boost::shared_ptr createPinger( const PingProtocol protocol, boost::asio::io_service &io_serv, const std::string &network_interface ); + +private: + PingerFactory(); + ~PingerFactory(); + }; #endif /* PINGERFACTORY_H */ -- 1.7.1