From: Mukund Sivaraman Date: Tue, 17 Sep 2013 05:16:13 +0000 (+0530) Subject: [3112] Remove the copy-constructors, favoring default ones X-Git-Tag: bind10-1.2.0beta1-release~205^2^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b98a0122bc1cb39afc90fdece0cd63616ae4cc5;p=thirdparty%2Fkea.git [3112] Remove the copy-constructors, favoring default ones --- diff --git a/src/lib/dns/rrclass-placeholder.h b/src/lib/dns/rrclass-placeholder.h index fe83b13df5..b4f1851aa4 100644 --- a/src/lib/dns/rrclass-placeholder.h +++ b/src/lib/dns/rrclass-placeholder.h @@ -138,12 +138,6 @@ public: /// /// \param buffer A buffer storing the wire format data. explicit RRClass(isc::util::InputBuffer& buffer); - /// \brief Copy constructor. - /// - /// This constructor never throws an exception. - /// - /// \param other The RRClass to copy from. - RRClass(const RRClass& other) : classcode_(other.classcode_) {} /// A separate factory of RRClass from text. /// diff --git a/src/lib/dns/rrttl.h b/src/lib/dns/rrttl.h index 996d6d9eac..35403b6294 100644 --- a/src/lib/dns/rrttl.h +++ b/src/lib/dns/rrttl.h @@ -102,12 +102,6 @@ public: /// /// \param buffer A buffer storing the wire format data. explicit RRTTL(isc::util::InputBuffer& buffer); - /// \brief Copy constructor. - /// - /// This constructor never throws an exception. - /// - /// \param other The RRTTL to copy from. - RRTTL(const RRTTL& other) : ttlval_(other.ttlval_) {} /// A separate factory of RRTTL from text. ///