]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1206] new stuff makes some of the old (soon to be removed) fail cppcheck
authorJelte Jansen <jelte@isc.org>
Mon, 3 Oct 2011 16:17:22 +0000 (18:17 +0200)
committerJelte Jansen <jelte@isc.org>
Mon, 3 Oct 2011 16:17:22 +0000 (18:17 +0200)
src/lib/datasrc/data_source.h

index ff695da6e84c7a5220e8bb6d503c5b755595742a..a7a15a924284e956c736c3bb8146248cd180d261 100644 (file)
@@ -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: