aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/oddbool.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-05-18 11:40:04 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-05-18 15:52:23 -0300
commitb71a7511d8b76922b738c0f8102a85d27b673b8e (patch)
tree11063d50c70aaf87486e8ad5a50309dfb2d94a38 /tests/libsample/oddbool.h
parent960774e63afe0a9386383c71c4831fab7c42e790 (diff)
API fixes.
* Export enums without macro * Declare virtual destructor on all classes with virtual functions * Fix extern "C" declaration scope Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/libsample/oddbool.h')
-rw-r--r--tests/libsample/oddbool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libsample/oddbool.h b/tests/libsample/oddbool.h
index 60cf6a37d..47f0edb9e 100644
--- a/tests/libsample/oddbool.h
+++ b/tests/libsample/oddbool.h
@@ -60,7 +60,8 @@ inline bool operator!=(OddBool b1, OddBool b2) { return !b1 != !b2; }
class LIBSAMPLE_API OddBoolUser
{
public:
- OddBoolUser() : m_oddbool(OddBool(false)) {};
+ OddBoolUser() : m_oddbool(OddBool(false)) {}
+ virtual ~OddBoolUser() {}
OddBool oddBool() { return m_oddbool; }
void setOddBool(OddBool oddBool) { m_oddbool = oddBool; }