summaryrefslogtreecommitdiff
path: root/include/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/interface.h')
-rw-r--r--include/interface.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/interface.h b/include/interface.h
index f276d6f..b3031e9 100644
--- a/include/interface.h
+++ b/include/interface.h
@@ -50,6 +50,17 @@ private:
}
/**
+ * Construct a clone of the object
+ * @param orig
+ * @return Base
+ */
+ virtual Base* clone(Base *orig) override
+ {
+ // this does not occur for interfaces
+ return nullptr;
+ }
+
+ /**
* Namespaces have access to the private base class
*/
friend class Namespace;