summaryrefslogtreecommitdiff
path: root/TAO/tao/AnyTypeCode/Empty_Param_TypeCode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/AnyTypeCode/Empty_Param_TypeCode.cpp')
-rw-r--r--TAO/tao/AnyTypeCode/Empty_Param_TypeCode.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/TAO/tao/AnyTypeCode/Empty_Param_TypeCode.cpp b/TAO/tao/AnyTypeCode/Empty_Param_TypeCode.cpp
index 1294bdd0fe6..6f9f5589c15 100644
--- a/TAO/tao/AnyTypeCode/Empty_Param_TypeCode.cpp
+++ b/TAO/tao/AnyTypeCode/Empty_Param_TypeCode.cpp
@@ -1,9 +1,9 @@
// $Id$
-#include "tao/AnyTypeCode/Empty_Param_TypeCode.h"
+#include "Empty_Param_TypeCode.h"
#ifndef __ACE_INLINE__
-# include "tao/AnyTypeCode/Empty_Param_TypeCode.inl"
+# include "Empty_Param_TypeCode.inl"
#endif /* !__ACE_INLINE__ */
@@ -12,8 +12,6 @@ ACE_RCSID (tao,
"$Id$")
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
bool
TAO::TypeCode::Empty_Param::tao_marshal (TAO_OutputCDR &,
CORBA::ULong) const
@@ -46,7 +44,7 @@ TAO::TypeCode::Empty_Param::equal_i (CORBA::TypeCode_ptr
// Equality has already been established in the
// CORBA::TypeCode base class.
- return true;
+ return 1;
}
CORBA::Boolean
@@ -62,12 +60,12 @@ TAO::TypeCode::Empty_Param::equivalent_i (CORBA::TypeCode_ptr tc
CORBA::TCKind const tc_kind =
TAO::unaliased_kind (tc
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (false);
+ ACE_CHECK_RETURN (0);
if (tc_kind != this->kind_)
- return false;
+ return 0;
- return true;
+ return 1;
}
CORBA::TypeCode_ptr
@@ -83,5 +81,3 @@ TAO::TypeCode::Empty_Param::get_compact_typecode_i (
return &compact_typecode;
}
-
-TAO_END_VERSIONED_NAMESPACE_DECL