aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/oddbool.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-07-20 14:00:44 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-18 15:21:20 -0300
commitb4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9 (patch)
treee106cc99a076d3c4677b6afb4857fcb36b1351f9 /tests/libsample/oddbool.h
parentda5a88b3b53b4769e77eff1d48cc9a2c7152f6c2 (diff)
fixed tests exported symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/libsample/oddbool.h')
-rw-r--r--tests/libsample/oddbool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/libsample/oddbool.h b/tests/libsample/oddbool.h
index 47f0edb9e..e46894766 100644
--- a/tests/libsample/oddbool.h
+++ b/tests/libsample/oddbool.h
@@ -37,7 +37,7 @@
#include "libsamplemacros.h"
-class LIBSAMPLE_API OddBool
+class OddBool
{
public:
@@ -57,21 +57,21 @@ inline bool operator!=(OddBool b1, bool b2) { return !b1 != !b2; }
inline bool operator!=(bool b1, OddBool b2) { return !b1 != !b2; }
inline bool operator!=(OddBool b1, OddBool b2) { return !b1 != !b2; }
-class LIBSAMPLE_API OddBoolUser
+class OddBoolUser
{
public:
OddBoolUser() : m_oddbool(OddBool(false)) {}
virtual ~OddBoolUser() {}
- OddBool oddBool() { return m_oddbool; }
- void setOddBool(OddBool oddBool) { m_oddbool = oddBool; }
+ inline OddBool oddBool() { return m_oddbool; }
+ inline void setOddBool(OddBool oddBool) { m_oddbool = oddBool; }
virtual OddBool invertedOddBool()
{
return !m_oddbool;
}
- OddBool callInvertedOddBool()
+ inline OddBool callInvertedOddBool()
{
return invertedOddBool();
}