summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-02-18 19:09:54 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-02-18 19:09:54 +0000
commitf5949bc8e80484bc0ff39aca4a1daf6953a361a1 (patch)
treee861925718938567b70622dce89287f03517ac53
parentb149b55b284bebda913f8783815960cc29394426 (diff)
downloadATCD-f5949bc8e80484bc0ff39aca4a1daf6953a361a1.tar.gz
*** empty log message ***
-rw-r--r--TAO/tao/TAO_Server_Request.cpp9
-rw-r--r--TAO/tao/TAO_Server_Request.h2
2 files changed, 8 insertions, 3 deletions
diff --git a/TAO/tao/TAO_Server_Request.cpp b/TAO/tao/TAO_Server_Request.cpp
index 472a07245b7..752f079a2c1 100644
--- a/TAO/tao/TAO_Server_Request.cpp
+++ b/TAO/tao/TAO_Server_Request.cpp
@@ -6,6 +6,8 @@
#include "debug.h"
#include "Pluggable_Messaging.h"
#include "GIOP_Utils.h"
+#include "Stub.h"
+#include "operation_details.h"
#include "Transport.h"
#include "CDR.h"
#include "SystemException.h"
@@ -20,7 +22,7 @@ ACE_RCSID (tao,
#if defined (ACE_ENABLE_TIMEPROBES)
- static const char *TAO_Server_Request_Timeprobe_Description[] =
+static const char * TAO_Server_Request_Timeprobe_Description[] =
{
"TAO_ServerRequest::TAO_ServerRequest - start",
"TAO_ServerRequest::TAO_ServerRequest - end",
@@ -118,7 +120,7 @@ TAO_ServerRequest::TAO_ServerRequest (TAO_ORB_Core * orb_core,
TAO_Operation_Details const & details,
CORBA::Object_ptr target)
: mesg_base_ (0),
- operation_ (details->opname ()),
+ operation_ (details.opname ()),
incoming_ (0),
outgoing_ (0),
transport_ (0),
@@ -141,7 +143,8 @@ TAO_ServerRequest::TAO_ServerRequest (TAO_ORB_Core * orb_core,
, result_seq_ (0)
#endif /* TAO_HAS_INTERCEPTORS == 1 */
{
- this->profile_.object_key (target->_stubobj ()->object_key ());
+ // Have to use a const_cast<>. *sigh*
+ this->profile_.object_key (const_cast<TAO::ObjectKey &> (target->_stubobj ()->object_key ()));
}
TAO_ServerRequest::~TAO_ServerRequest (void)
diff --git a/TAO/tao/TAO_Server_Request.h b/TAO/tao/TAO_Server_Request.h
index 9a7b7f1c0b6..2d2add2adf5 100644
--- a/TAO/tao/TAO_Server_Request.h
+++ b/TAO/tao/TAO_Server_Request.h
@@ -44,6 +44,8 @@ namespace CORBA
typedef ORB *ORB_ptr;
}
+class TAO_Operation_Details;
+
/**
* @class TAO_ServerRequest
*