Browse Source

[3112] Remove the copy-constructors, favoring default ones

Mukund Sivaraman 11 years ago
parent
commit
9b98a0122b
2 changed files with 0 additions and 12 deletions
  1. 0 6
      src/lib/dns/rrclass-placeholder.h
  2. 0 6
      src/lib/dns/rrttl.h

+ 0 - 6
src/lib/dns/rrclass-placeholder.h

@@ -138,12 +138,6 @@ public:
     ///
     ///
     /// \param buffer A buffer storing the wire format data.
     /// \param buffer A buffer storing the wire format data.
     explicit RRClass(isc::util::InputBuffer& buffer);
     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.
     /// A separate factory of RRClass from text.
     ///
     ///

+ 0 - 6
src/lib/dns/rrttl.h

@@ -102,12 +102,6 @@ public:
     ///
     ///
     /// \param buffer A buffer storing the wire format data.
     /// \param buffer A buffer storing the wire format data.
     explicit RRTTL(isc::util::InputBuffer& buffer);
     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.
     /// A separate factory of RRTTL from text.
     ///
     ///