aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-27 19:45:19 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:08:53 -0300
commit34cce54d695330ebfa047dbbb4c1c0ab60e22c74 (patch)
treef5cb8a4e53fa1aeb930fe9ce189c144fba506db3 /tests
parent8a727dddc028c94807b85b9acd8c88dd276fd12a (diff)
Write copy constructor for Object types when there is one.
Diffstat (limited to 'tests')
-rw-r--r--tests/libsample/reference.h2
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; }