Commit 5791c24c authored by JINMEI Tatuya's avatar JINMEI Tatuya

cleanup: removed meaningless 'explicit' for multi-param constructors.

should be quite trivial, so I'm skipping explicit review.
if someone could perform sanity check on the diff copied with this message that would be great.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3224 e5f2f494-b856-4b98-b285-d166d9295462
parent 5e9f4e3a
......@@ -113,7 +113,7 @@ class MessageRenderer;\n\n'''
if re.match('\s+// BEGIN_COMMON_MEMBERS$', line):
content += '''
explicit ''' + type_utxt + '''(const std::string& type_str);
explicit ''' + type_utxt + '''(InputBuffer& buffer, size_t rdata_len);
''' + type_utxt + '''(InputBuffer& buffer, size_t rdata_len);
''' + type_utxt + '''(const ''' + type_utxt + '''& other);
virtual std::string toText() const;
virtual void toWire(OutputBuffer& buffer) const;
......
......@@ -143,8 +143,8 @@ public:
///
/// This constructor simply initializes the object in the straightforward
/// way.
explicit NameComparisonResult(int order, unsigned int nlabels,
NameRelation relation) :
NameComparisonResult(int order, unsigned int nlabels,
NameRelation relation) :
order_(order), nlabels_(nlabels), relation_(relation) {}
//@}
......
......@@ -35,7 +35,7 @@ public:
// BEGIN_COMMON_MEMBERS
// END_COMMON_MEMBERS
explicit MX(uint16_t preference, const Name& mxname);
MX(uint16_t preference, const Name& mxname);
///
/// Specialized methods
......
......@@ -33,9 +33,9 @@ public:
// BEGIN_COMMON_MEMBERS
// END_COMMON_MEMBERS
explicit SOA(const Name& mname, const Name& rname, uint32_t serial,
uint32_t refresh, uint32_t retry, uint32_t expire,
uint32_t minimum);
SOA(const Name& mname, const Name& rname, uint32_t serial,
uint32_t refresh, uint32_t retry, uint32_t expire,
uint32_t minimum);
private:
/// Note: this is a prototype version; we may reconsider
/// this representation later.
......
......@@ -530,8 +530,8 @@ public:
/// \param rrclass The RR class of the RRset.
/// \param rrtype The RR type of the RRset.
/// \param ttl The TTL of the RRset.
explicit BasicRRset(const Name& name, const RRClass& rrclass,
const RRType& rrtype, const RRTTL& ttl);
BasicRRset(const Name& name, const RRClass& rrclass,
const RRType& rrtype, const RRTTL& ttl);
/// \brief The destructor.
virtual ~BasicRRset();
//@}
......@@ -668,7 +668,7 @@ private:
/// QNAME/QTYPE/QCLASS as a single object.
class RRset : public BasicRRset {
public:
explicit RRset(const Name& name, const RRClass& rrclass,
RRset(const Name& name, const RRClass& rrclass,
const RRType& rrtype, const RRTTL& ttl);
virtual ~RRset();
......
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