diff generator/cppimplgenerator.cpp @ 304:04b52676b45f signals

fixed compiling all packages
author eldar_ins@eldar-laptop
date Sun, 13 Dec 2009 06:24:55 +0500
parents 98b211f3ee34
children 0cc996b7a601
line wrap: on
line diff
--- a/generator/cppimplgenerator.cpp	Sat Dec 12 16:01:55 2009 +0500
+++ b/generator/cppimplgenerator.cpp	Sun Dec 13 06:24:55 2009 +0500
@@ -721,6 +721,7 @@
 
     if (java_class->typeEntry()->isValue())
     {
+        if (!java_class->typeEntry()->hasPrivateCopyConstructor())  // can do a copy if we have a public ctor or don't have any
         {
             QString argName = "orig";
             s << endl << endl