summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-14 04:57:10 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-14 04:57:10 +0000
commit86a076e3db3912680f261b4f89e289e1adc9bf42 (patch)
tree5c959dc88b55fa97811b50f27913647a2049c181
parent774298d0eb16fb802fc51e7cef96cf5c57061d47 (diff)
downloadATCD-86a076e3db3912680f261b4f89e289e1adc9bf42.tar.gz
*** empty log message ***
-rw-r--r--TAO/tao/iiopobj.cpp3
-rw-r--r--TAO/tao/iiopobj.h8
2 files changed, 6 insertions, 5 deletions
diff --git a/TAO/tao/iiopobj.cpp b/TAO/tao/iiopobj.cpp
index 32352c844ca..029940ccf5d 100644
--- a/TAO/tao/iiopobj.cpp
+++ b/TAO/tao/iiopobj.cpp
@@ -183,7 +183,8 @@ IIOP_Object::QueryInterface (REFIID riid,
}
//TAO extensions
-char *IIOP_Object::_get_name (CORBA::Environment &)
+char *
+IIOP_Object::_get_name (CORBA::Environment &)
{
char *name;
diff --git a/TAO/tao/iiopobj.h b/TAO/tao/iiopobj.h
index 3c8f5fd011d..634bd613f37 100644
--- a/TAO/tao/iiopobj.h
+++ b/TAO/tao/iiopobj.h
@@ -128,8 +128,6 @@ public:
// only supports one protocol -- the problem won't show up.
// "Multiprotocol ORBs" will need to solve that problem though. ]
- IIOP::Profile profile;
-
// = Thread-safe accessors for the forwarding profile
IIOP::Profile *fwd_profile (void);
// THREAD-SAFE. Returns the current forwarding profile.
@@ -157,7 +155,7 @@ public:
const IIOP::Profile &profile);
// Construct from a repository ID and a profile ID.
- IIOP_Object (const char *host = "localhost",
+ IIOP_Object (const char *host = ACE_DEFAULT_SERVER_HOST,
const CORBA::UShort p = TAO_DEFAULT_SERVER_PORT,
const char *objkey = "0",
char *repository_id = 0);
@@ -176,7 +174,9 @@ public:
void **ppv);
virtual char *_get_name (CORBA::Environment &env);
- // get the underlying key
+ // Get the underlying object key.
+
+ IIOP::Profile profile;
private:
CORBA::Object base;