Commit 14d4b5dd authored by JINMEI Tatuya's avatar JINMEI Tatuya

[master] explicitly declare/define virtual destructor for ZoneFinder::Context.

This will fix a build error on some systems, and is a good practice anyway.
Also fix a minor wording error in a comment.
parent abfbe328
......@@ -197,6 +197,9 @@ public:
all_set_(all_set)
{}
/// \brief The destructor.
virtual ~Context() {}
const Result code;
const isc::dns::ConstRRsetPtr rrset;
......@@ -257,7 +260,7 @@ public:
const std::vector<isc::dns::RRType>& requested_types,
std::vector<isc::dns::ConstRRsetPtr>& result)
{
// Perform common checks, and delegate the process the default
// Perform common checks, and delegate the process to the default
// or specialized implementation.
if (code != SUCCESS && code != DELEGATION) {
return;
......
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