diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-07-20 14:00:44 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-18 15:21:20 -0300 |
commit | b4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9 (patch) | |
tree | e106cc99a076d3c4677b6afb4857fcb36b1351f9 /tests/libsample/reference.h | |
parent | da5a88b3b53b4769e77eff1d48cc9a2c7152f6c2 (diff) |
fixed tests exported symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/libsample/reference.h')
-rw-r--r-- | tests/libsample/reference.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/libsample/reference.h b/tests/libsample/reference.h index 1a95ad2c7..5f9c20c4e 100644 --- a/tests/libsample/reference.h +++ b/tests/libsample/reference.h @@ -44,11 +44,11 @@ public: : m_objId(objId) {} virtual ~Reference() {} - int objId() { return m_objId; } - void setObjId(int objId) { m_objId = objId; } + inline int objId() { return m_objId; } + inline void setObjId(int objId) { m_objId = objId; } - static int usesReference(Reference& r) { return r.m_objId; } - static int usesConstReference(const Reference& r) { return r.m_objId; } + inline static int usesReference(Reference& r) { return r.m_objId; } + inline static int usesConstReference(const Reference& r) { return r.m_objId; } virtual int usesReferenceVirtual(Reference& r, int inc); virtual int usesConstReferenceVirtual(const Reference& r, int inc); @@ -61,7 +61,7 @@ public: void show() const; - static int multiplier() { return 10; } + inline static int multiplier() { return 10; } private: int m_objId; |