diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp index 9e18492a64b..d3a5a59a641 100644 --- a/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp +++ b/TAO/orbsvcs/orbsvcs/IFRService/ArrayDef_i.cpp @@ -1,15 +1,17 @@ -/* -*- C++ -*- */ // $Id$ #include "ArrayDef_i.h" #include "Repository_i.h" #include "IFR_Service_Utils.h" #include "ace/Auto_Ptr.h" +#include "ace/SString.h" -ACE_RCSID (IFRService, - ArrayDef_i, + +ACE_RCSID (IFRService, + ArrayDef_i, "$Id$") + TAO_ArrayDef_i::TAO_ArrayDef_i (TAO_Repository_i *repo) : TAO_IRObject_i (repo), TAO_IDLType_i (repo) @@ -108,7 +110,7 @@ TAO_ArrayDef_i::length_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) "length", length); - return ACE_static_cast (CORBA::ULong, length); + return static_cast<CORBA::ULong> (length); } void @@ -183,7 +185,7 @@ TAO_ArrayDef_i::element_type_def_i (ACE_ENV_SINGLE_ARG_DECL) "element_path", element_path); - CORBA::Object_var obj = + CORBA::Object_var obj = TAO_IFR_Service_Utils::path_to_ir_object (element_path, this->repo_ ACE_ENV_ARG_PARAMETER); @@ -245,8 +247,8 @@ TAO_ArrayDef_i::destroy_element_type ( "def_kind", kind); - CORBA::DefinitionKind def_kind = - TAO_IFR_Service_Utils::path_to_def_kind (element_path, + CORBA::DefinitionKind def_kind = + TAO_IFR_Service_Utils::path_to_def_kind (element_path, this->repo_); switch (def_kind) |