diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2010-07-21 02:33:31 +0200 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2010-07-21 02:33:31 +0200 |
commit | 252f19a143b66d6e4e8082717f7be7051c91ada0 (patch) | |
tree | 463b16144aaa56b80e44a2d07871139ac2284b63 /src/lib/xfr/xfrout_client.h | |
parent | avoid using limited broadcast address (all 1 address) for a failure test case. (diff) | |
download | kea-252f19a143b66d6e4e8082717f7be7051c91ada0.tar.xz kea-252f19a143b66d6e4e8082717f7be7051c91ada0.zip |
added notes about protected destructors in base classes.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221b@2554 e5f2f494-b856-4b98-b285-d166d9295462
Diffstat (limited to 'src/lib/xfr/xfrout_client.h')
-rw-r--r-- | src/lib/xfr/xfrout_client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/xfr/xfrout_client.h b/src/lib/xfr/xfrout_client.h index b28330e89c..6539009cc6 100644 --- a/src/lib/xfr/xfrout_client.h +++ b/src/lib/xfr/xfrout_client.h @@ -51,8 +51,13 @@ private: AbstractXfroutClient(const AbstractXfroutClient& source); AbstractXfroutClient& operator=(const AbstractXfroutClient& source); protected: + /// \brief The default constructor. + /// + /// This is intentionally defined as \c protected as this base class should + /// never be instantiated (except as part of a derived class). AbstractXfroutClient() {} public: + /// \brief The destructor. virtual ~AbstractXfroutClient() {} //@} virtual void connect() = 0; |