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> | 2010-10-28 15:12:05 -0200 |
commit | 45f10c2264bef5c25e493bb6f70ef6355a7f94d1 (patch) | |
tree | 799a43630c1ce008d1bc28ec9084f55cb3eed5a8 /tests | |
parent | b146f4117c676a6a65b1e29a09d5f6c86541cd0d (diff) | |
download | shiboken-45f10c2264bef5c25e493bb6f70ef6355a7f94d1.tar.gz shiboken-45f10c2264bef5c25e493bb6f70ef6355a7f94d1.tar.xz shiboken-45f10c2264bef5c25e493bb6f70ef6355a7f94d1.zip |
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 cc9fcc91..54360d88 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; } |