diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-03 15:09:43 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-18 19:45:06 -0300 |
commit | 10872ead263959d103eea17507f6ccd16757e8b6 (patch) | |
tree | 17e80074337188bfdd88add89fb98dc932a84349 /shibokengenerator.cpp | |
parent | 21bcdc289ba9ece35780369a5e86a68498a6ddae (diff) |
Object-types are not copyable at all.
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 912197802..653e8ddb6 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -1264,7 +1264,7 @@ QString ShibokenGenerator::extendedToCppFunctionName(const TypeEntry* targetType bool ShibokenGenerator::isCopyable(const AbstractMetaClass *metaClass) { - if (metaClass->isNamespace()) + if (metaClass->isNamespace() || metaClass->typeEntry()->isObject()) return false; else if (metaClass->typeEntry()->copyable() == ComplexTypeEntry::Unknown) return metaClass->hasCloneOperator(); |