diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-27 19:45:19 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:08:53 -0300 |
commit | 34cce54d695330ebfa047dbbb4c1c0ab60e22c74 (patch) | |
tree | f5cb8a4e53fa1aeb930fe9ce189c144fba506db3 /tests | |
parent | 8a727dddc028c94807b85b9acd8c88dd276fd12a (diff) |
Write copy constructor for Object types when there is one.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libsample/reference.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/reference.h b/tests/libsample/reference.h index cc9fcc91e..54360d880 100644 --- a/tests/libsample/reference.h +++ b/tests/libsample/reference.h @@ -60,6 +60,8 @@ private: class LIBSAMPLE_API ObjTypeReference { public: + ObjTypeReference() {} + ObjTypeReference(const ObjTypeReference&) {} virtual ~ObjTypeReference(); virtual ObjTypeReference& returnMyFirstArg(ObjTypeReference& ref) { return ref; } virtual ObjTypeReference& returnMySecondArg(int a, ObjTypeReference& ref) { return ref; } |