summaryrefslogtreecommitdiff
path: root/TAO/tao/Invocation_Base.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-06-02 07:38:06 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-06-02 07:38:06 +0000
commitc91cf4730938d9f0cf99768e3092794e5c968120 (patch)
tree5d66542032fa0d8a6e6477f5044d305055fced07 /TAO/tao/Invocation_Base.cpp
parent18246c7def2be102f4f63cfec13906420e3746ac (diff)
downloadATCD-c91cf4730938d9f0cf99768e3092794e5c968120.tar.gz
ChangeLogTag:Wed Jun 2 00:37:17 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Invocation_Base.cpp')
-rw-r--r--TAO/tao/Invocation_Base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Invocation_Base.cpp b/TAO/tao/Invocation_Base.cpp
index a736f017225..3cb5bea60f8 100644
--- a/TAO/tao/Invocation_Base.cpp
+++ b/TAO/tao/Invocation_Base.cpp
@@ -61,7 +61,7 @@ namespace TAO
char *
Invocation_Base::operation_name (void)
{
- return ACE_const_cast (char *, this->details_.opname ());
+ return const_cast<char *> (this->details_.opname ());
}
Dynamic::ParameterList *
@@ -105,7 +105,7 @@ namespace TAO
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
+ static const CORBA::Boolean tk_void_any = 0;
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);