From: Jelte Jansen Date: Mon, 3 Oct 2011 16:17:22 +0000 (+0200) Subject: [1206] new stuff makes some of the old (soon to be removed) fail cppcheck X-Git-Tag: perftcpdns_before_epoll~37^2~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00f4c38428153bb5ad99ba1cc40e9a204266dace;p=thirdparty%2Fkea.git [1206] new stuff makes some of the old (soon to be removed) fail cppcheck --- diff --git a/src/lib/datasrc/data_source.h b/src/lib/datasrc/data_source.h index ff695da6e8..a7a15a9242 100644 --- a/src/lib/datasrc/data_source.h +++ b/src/lib/datasrc/data_source.h @@ -184,9 +184,9 @@ public: void setClass(isc::dns::RRClass& c) { rrclass = c; } void setClass(const isc::dns::RRClass& c) { rrclass = c; } - Result init() { return (NOT_IMPLEMENTED); } - Result init(isc::data::ConstElementPtr config); - Result close() { return (NOT_IMPLEMENTED); } + virtual Result init() { return (NOT_IMPLEMENTED); } + virtual Result init(isc::data::ConstElementPtr config); + virtual Result close() { return (NOT_IMPLEMENTED); } virtual Result findRRset(const isc::dns::Name& qname, const isc::dns::RRClass& qclass, @@ -351,7 +351,7 @@ public: /// \brief Returns the best enclosing zone name found for the given // name and RR class so far. - /// + /// /// \return A pointer to the zone apex \c Name, NULL if none found yet. /// /// This method never throws an exception. @@ -413,6 +413,6 @@ private: #endif -// Local Variables: +// Local Variables: // mode: c++ -// End: +// End: