summaryrefslogtreecommitdiff
path: root/include/classbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/classbase.h')
-rw-r--r--include/classbase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/classbase.h b/include/classbase.h
index 40f3fda..6a71ecb 100644
--- a/include/classbase.h
+++ b/include/classbase.h
@@ -161,8 +161,10 @@ protected:
virtual int callCompare(Base *object1, Base *object2) const { return 1; }
/**
- * Call the __destruct method
+ * Call the __clone and __destruct magic methods
+ * @param base
*/
+ virtual void callClone(Base *base) const {}
virtual void callDestruct(Base *base) const {}
/**