diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-05-18 11:40:04 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-05-18 15:52:23 -0300 |
commit | b71a7511d8b76922b738c0f8102a85d27b673b8e (patch) | |
tree | 11063d50c70aaf87486e8ad5a50309dfb2d94a38 /tests/libsample/oddbool.h | |
parent | 960774e63afe0a9386383c71c4831fab7c42e790 (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.h | 3 |
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; } |