[svn] commit: r3905 - /trunk/src/lib/asiolink/internal/udpdns.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Dec 21 01:15:57 UTC 2010
Author: jinmei
Date: Tue Dec 21 01:15:56 2010
New Revision: 3905
Log:
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.
Modified:
trunk/src/lib/asiolink/internal/udpdns.h
Modified: trunk/src/lib/asiolink/internal/udpdns.h
==============================================================================
--- trunk/src/lib/asiolink/internal/udpdns.h (original)
+++ trunk/src/lib/asiolink/internal/udpdns.h Tue Dec 21 01:15:56 2010
@@ -251,9 +251,11 @@
};
/// 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.
More information about the bind10-changes
mailing list