aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libother/otherderived.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libother/otherderived.h')
-rw-r--r--tests/libother/otherderived.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/libother/otherderived.h b/tests/libother/otherderived.h
index 4aae12aa9..8e9171ba5 100644
--- a/tests/libother/otherderived.h
+++ b/tests/libother/otherderived.h
@@ -53,16 +53,16 @@ public:
virtual void unpureVirtual();
virtual PrintFormat returnAnEnum() { return Short; }
- void useObjectTypeFromOtherModule(ObjectType*) {}
- Event useValueTypeFromOtherModule(const Event& e) { return e; }
- Complex useValueTypeFromOtherModule(const Complex& c) { return c; }
- void useEnumTypeFromOtherModule(OverloadedFuncEnum) {}
+ inline void useObjectTypeFromOtherModule(ObjectType*) {}
+ inline Event useValueTypeFromOtherModule(const Event& e) { return e; }
+ inline Complex useValueTypeFromOtherModule(const Complex& c) { return c; }
+ inline void useEnumTypeFromOtherModule(OverloadedFuncEnum) {}
// factory method
static Abstract* createObject();
protected:
- const char* getClassName() { return className(); }
+ inline const char* getClassName() { return className(); }
virtual const char* className() { return "OtherDerived"; }
};
#endif // OTHERDERIVED_H