aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetalang.cpp
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2010-04-21 11:39:31 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:00 -0300
commit1daed740c2bb04f7e28e538e3f5240f9848b3c3b (patch)
tree785fc213b7a66e9a466ec2bfe324227e363a2bbc /abstractmetalang.cpp
parentd75aeacd396691d5b26af1ac2a9669e407639155 (diff)
Update class info once a default ctor is added.
Diffstat (limited to 'abstractmetalang.cpp')
-rw-r--r--abstractmetalang.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/abstractmetalang.cpp b/abstractmetalang.cpp
index c7d0adf4..b800696c 100644
--- a/abstractmetalang.cpp
+++ b/abstractmetalang.cpp
@@ -1587,6 +1587,7 @@ void AbstractMetaClass::addDefaultConstructor()
f->setOriginalAttributes(f->attributes());
addFunction(f);
+ this->setHasNonPrivateConstructor(true);
}
void AbstractMetaClass::addDefaultCopyConstructor(bool isPrivate)