Commit 01cec039 authored by Yoshitaka Aharen's avatar Yoshitaka Aharen
Browse files

[2157] remove empty explicit destructor

parent 16a7ef79
......@@ -121,9 +121,6 @@ Counters::Counters() :
zone_qr_counters_(QR_COUNTER_TYPES)
{}
Counters::~Counters()
{}
void
Counters::incRequest(const QRAttributes& qrattrs) {
// protocols carrying request
......
......@@ -65,12 +65,6 @@ public:
reset();
};
/// \brief The destructor.
///
/// This method never throws an exception.
///
~QRAttributes() {};
/// \brief Set query opcode.
/// \throw None
void setQueryOpCode(const int opcode) {
......@@ -188,12 +182,6 @@ public:
///
Counters();
/// \brief The destructor.
///
/// This method never throws an exception.
///
~Counters();
/// \brief Increment counters according to the parameters.
///
/// This constructor is mostly exception free. But it may still throw
......
......@@ -54,11 +54,6 @@ public:
}
};
/// The destructor.
///
/// This method never throws an exception.
~Counter() {};
/// \brief Increment a counter item specified with \a type.
///
/// \param type %Counter item to increment
......
......@@ -56,7 +56,6 @@ public:
isc_throw(isc::InvalidParameter, "Items must not be 0");
}
};
~CounterDictionary() {};
void addElement(const std::string& name) {
// throw if the element already exists
if (dictionary_.count(name) != 0) {
......@@ -113,10 +112,6 @@ public:
/// throw a standard exception if memory allocation fails
/// inside the method.
ConstIterator() {}
/// The destructor.
///
/// This method never throws an exception.
~ConstIterator() {}
/// Constructor from implementation detail DictionaryMap::const_iterator
ConstIterator(
DictionaryMap::const_iterator iterator) :
......
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