summaryrefslogtreecommitdiff
path: root/include/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/interface.h')
-rw-r--r--include/interface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/interface.h b/include/interface.h
index bdff75d..52d1a97 100644
--- a/include/interface.h
+++ b/include/interface.h
@@ -71,6 +71,18 @@ private:
}
/**
+ * Compare two objects
+ * @param object1
+ * @param object2
+ * @return int
+ */
+ virtual int compare(Base *object1, Base *object2) const override
+ {
+ // this is never called for interfaces
+ return 0;
+ }
+
+ /**
* Namespaces have access to the private base class
*/
friend class Namespace;