summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp2
-rw-r--r--TAO/tao/TypeCode/TypeCode_Default_Case.inl7
2 files changed, 1 insertions, 8 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp b/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp
index 1b075993cc2..2a0aed9082c 100644
--- a/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_typecode/union_typecode.cpp
@@ -113,7 +113,7 @@ TAO::be_visitor_union_typecode::visit_cases (be_union * node)
branch->gen_label_value (&os, 0);
os << ", ";
-
+
be_type * const type =
be_type::narrow_from_decl ((*member_ptr)->field_type ());
diff --git a/TAO/tao/TypeCode/TypeCode_Default_Case.inl b/TAO/tao/TypeCode/TypeCode_Default_Case.inl
index f9f6aaa4793..6be34598a97 100644
--- a/TAO/tao/TypeCode/TypeCode_Default_Case.inl
+++ b/TAO/tao/TypeCode/TypeCode_Default_Case.inl
@@ -10,10 +10,3 @@ TAO::TypeCode::Default_Case<STRING_TYPE>::Default_Case (
: Case<STRING_TYPE> (member_name, member_type)
{
}
-
-template <typename STRING_TYPE>
-ACE_INLINE CORBA::Long
-TAO::TypeCode::Default_Case<STRING_TYPE>::index (void) const
-{
- return this->index_;
-}