summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r--TAO/tao/ORB.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp
index f54ba3a1d1f..0c0efbaf6db 100644
--- a/TAO/tao/ORB.cpp
+++ b/TAO/tao/ORB.cpp
@@ -1,6 +1,7 @@
// $Id$
+
#include "ORB.h"
#include "ORB_Table.h"
#include "Connector_Registry.h"
@@ -70,6 +71,7 @@ using std::set_unexpected;
ACE_RCSID(tao, ORB, "$Id$")
+
static const char ior_prefix [] = "IOR:";
// = Static initialization.
@@ -1755,6 +1757,7 @@ CORBA_ORB::object_to_string (CORBA::Object_ptr obj,
CORBA::COMPLETED_NO),
0);
+
// Application writer controls what kind of objref strings they get,
// maybe along with other things, by how they initialize the ORB.
@@ -1981,8 +1984,11 @@ CORBA_ORB::ior_string_to_object (const char *str,
int byte_order = *(mb.rd_ptr ());
mb.rd_ptr (1);
mb.wr_ptr (len);
- TAO_InputCDR stream (&mb, byte_order, TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR, this->orb_core_);
+ TAO_InputCDR stream (&mb,
+ byte_order,
+ TAO_DEF_GIOP_MAJOR,
+ TAO_DEF_GIOP_MINOR,
+ this->orb_core_);
CORBA::Object_ptr objref = CORBA::Object::_nil ();
stream >> objref;