[svn] commit: r617 - /branches/parkinglot/src/lib/dns/cpp/rdata.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Jan 29 01:14:52 UTC 2010
Author: jinmei
Date: Fri Jan 29 01:14:51 2010
New Revision: 617
Log:
cleanup
Modified:
branches/parkinglot/src/lib/dns/cpp/rdata.h
Modified: branches/parkinglot/src/lib/dns/cpp/rdata.h
==============================================================================
--- branches/parkinglot/src/lib/dns/cpp/rdata.h (original)
+++ branches/parkinglot/src/lib/dns/cpp/rdata.h Fri Jan 29 01:14:51 2010
@@ -137,14 +137,16 @@
class NS : public Rdata {
public:
explicit NS(const std::string& namestr) : nsname_(namestr) {}
- explicit NS(const Name& nsname) : nsname_(nsname) {}
explicit NS(InputBuffer& buffer, size_t rdata_len);
NS(const NS& other);
- virtual ~NS() {}
virtual std::string toText() const;
virtual void toWire(OutputBuffer& buffer) const;
virtual void toWire(MessageRenderer& buffer) const;
virtual int compare(const Rdata& other) const;
+ ///
+ /// Specialized constructorx
+ ///
+ explicit NS(const Name& nsname) : nsname_(nsname) {}
///
/// Specialized methods
///
More information about the bind10-changes
mailing list