aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-08 09:36:00 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-02-08 16:07:06 -0200
commit8d037108eb0216e178855bb2ba22a09154454ea9 (patch)
treedf204c80ee818acce691357cbef7ea448bd5072d /abstractmetabuilder.cpp
parent20998c0dc9532630ba549af9a8321cd736c79368 (diff)
Fix AbstractMetaFunction::implicitConversions.
- Public ctors added by the user with 1 value-type parameter are always added to the implicity conversion list. - If the ctor visibility of an function was modified from public to private, the function isn't added to the result. Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'abstractmetabuilder.cpp')
-rw-r--r--abstractmetabuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index 1061b0438..87826eb37 100644
--- a/abstractmetabuilder.cpp
+++ b/abstractmetabuilder.cpp
@@ -1446,6 +1446,7 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(const AddedFunction&
}
}
+ metaFunction->setOriginalAttributes(metaFunction->attributes());
return metaFunction;
}