aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/abstract.h')
-rw-r--r--tests/libsample/abstract.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libsample/abstract.h b/tests/libsample/abstract.h
index 834a2f9b4..842435bcb 100644
--- a/tests/libsample/abstract.h
+++ b/tests/libsample/abstract.h
@@ -62,13 +62,13 @@ public:
Abstract(int id = -1);
virtual ~Abstract();
- int id() { return m_id; }
+ inline int id() { return m_id; }
// factory method
- static Abstract* createObject() { return 0; }
+ inline static Abstract* createObject() { return 0; }
// method that receives an Object Type
- static int getObjectId(Abstract* obj) { return obj->id(); }
+ inline static int getObjectId(Abstract* obj) { return obj->id(); }
virtual void pureVirtual() = 0;
virtual void* pureVirtualReturningVoidPtr() = 0;