summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Union.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Union.cpp')
-rw-r--r--TAO/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Union.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/TAO/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Union.cpp b/TAO/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Union.cpp
index b11d10e4f45..b7c3d93eba8 100644
--- a/TAO/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Union.cpp
+++ b/TAO/CIAO/CCF/CCF/IDL2/SemanticAction/Impl/Union.cpp
@@ -96,7 +96,7 @@ namespace CCF
throw WrongType (type_->scoped_name ());
}
- ctx.tu ().new_edge<ArgumentsWithType> (*type_, now ());
+ ctx.tu ().new_edge<Specialized> (now (), *type_);
}
catch (Resolve const&)
{
@@ -140,11 +140,7 @@ namespace CCF
{
try
{
- // With introduction of CORBA 3.1 we have a new beast:
- // union with incoplete members which itself becomes
- // incomplete.
- //
- member_type_ = &resolve<Type> (from, name/*, Flags::complete*/);
+ member_type_ = &resolve<Type> (from, name, Flags::complete);
}
catch (Resolve const&)
{