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/nondefaultctor.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/nondefaultctor.h')
-rw-r--r-- | tests/libsample/nondefaultctor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/nondefaultctor.h b/tests/libsample/nondefaultctor.h index 9a0a98f72..cd4f6eace 100644 --- a/tests/libsample/nondefaultctor.h +++ b/tests/libsample/nondefaultctor.h @@ -74,6 +74,8 @@ public: { return returnMyselfVirtual(); } + + virtual ~NonDefaultCtor() {} }; #endif |