aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--headergenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp
index 2176baf6..5e39ec95 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -91,7 +91,7 @@ void HeaderGenerator::generateClass(QTextStream& s, const AbstractMetaClass* met
s << endl << '{' << endl << "public:" << endl;
- if (isCopyable(metaClass))
+ if (metaClass->typeEntry()->isValue())
writeCopyCtor(s, metaClass);
bool hasVirtualFunction = false;