aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/multiple_derived.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/multiple_derived.h')
-rw-r--r--tests/libsample/multiple_derived.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libsample/multiple_derived.h b/tests/libsample/multiple_derived.h
index 6154086d..576b263e 100644
--- a/tests/libsample/multiple_derived.h
+++ b/tests/libsample/multiple_derived.h
@@ -43,6 +43,8 @@ public:
Base1() : m_value(1) {}
virtual ~Base1() {}
virtual int base1Method() { return m_value; }
+
+ virtual void publicMethod() {};
private:
int m_value;
};
@@ -74,6 +76,7 @@ public:
static MDerived1* transformFromBase2(Base2 *self);
private:
+ virtual void publicMethod() {}
int m_value;
};