Commit 1bf75137 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

defined UDPQuery::~Callback explictly, making it virutal in order to avoid...

defined UDPQuery::~Callback explictly, making it virutal in order to avoid getting the "non-virtual destructor" warning from a certain version of gcc.
It caused buildbot failures, and I confirmed the fix on sol-10.lab, so committing it to trunk directly without having an explict review.
The fix should be quite trivial.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@3905 e5f2f494-b856-4b98-b285-d166d9295462
parent 2b8a0c37
......@@ -251,9 +251,11 @@ public:
};
/// Abstract callback for the UDPQuery.
class Callback {
public:
/// This will be called when the UDPQuery is completed
virtual void operator()(Result result) = 0;
public:
virtual ~Callback() {}
/// This will be called when the UDPQuery is completed
virtual void operator()(Result result) = 0;
};
///
/// \brief Constructor.
......
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