summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-14 02:44:36 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-14 02:44:36 +0000
commited906aca186b436eb2fc4aabdcb6d3051da039ab (patch)
tree1e255773195029af47f71369ff11569452e9bb15
parent54613f955d008f7d85622ab7e0fcc928e77eca56 (diff)
downloadATCD-ed906aca186b436eb2fc4aabdcb6d3051da039ab.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/tests/Simple_Naming/client.cpp7
-rw-r--r--TAO/orbsvcs/tests/Simple_Naming/client.h9
-rw-r--r--TAO/orbsvcs/tests/Simple_Naming/test_object.idl6
3 files changed, 11 insertions, 11 deletions
diff --git a/TAO/orbsvcs/tests/Simple_Naming/client.cpp b/TAO/orbsvcs/tests/Simple_Naming/client.cpp
index 29520530541..cd47c9d5b65 100644
--- a/TAO/orbsvcs/tests/Simple_Naming/client.cpp
+++ b/TAO/orbsvcs/tests/Simple_Naming/client.cpp
@@ -47,9 +47,8 @@ private:
short id_;
};
-
-My_Test_Object::My_Test_Object (CORBA::Short id = 0)
- : id_ (id)
+My_Test_Object::My_Test_Object (CORBA::Short id)
+ : id_ (id)
{
}
@@ -63,14 +62,12 @@ My_Test_Object::id (CORBA::Environment &_env)
return id_;
}
-
void
My_Test_Object::id (CORBA::Short id, CORBA::Environment &_env)
{
id_ = id;
}
-
// Constructor.
CosNaming_Client::CosNaming_Client (void)
diff --git a/TAO/orbsvcs/tests/Simple_Naming/client.h b/TAO/orbsvcs/tests/Simple_Naming/client.h
index 88ef2de37ee..c2194039c7c 100644
--- a/TAO/orbsvcs/tests/Simple_Naming/client.h
+++ b/TAO/orbsvcs/tests/Simple_Naming/client.h
@@ -77,7 +77,6 @@ public:
// Execute the tree test code.
};
-
class Iterator_Test : public Naming_Test
{
// = TITLE
@@ -177,8 +176,12 @@ public:
int init (int argc, char **argv);
// Initialize the client communication endpoint with server.
- enum {OBJ1_ID = 5, OBJ2_ID = 6};
- // symbolic ids.
+ // = Symbolic ids.
+ enum
+ {
+ OBJ1_ID = 5,
+ OBJ2_ID = 6
+ };
private:
int parse_args (void);
diff --git a/TAO/orbsvcs/tests/Simple_Naming/test_object.idl b/TAO/orbsvcs/tests/Simple_Naming/test_object.idl
index 0ad7a7b3b5e..9ffae7df5bd 100644
--- a/TAO/orbsvcs/tests/Simple_Naming/test_object.idl
+++ b/TAO/orbsvcs/tests/Simple_Naming/test_object.idl
@@ -5,7 +5,7 @@ interface Test_Object
// = TITLE
// This is a simple interface to test the Naming Service.
- attribute short id;
- // This provides an easy way to differentiate objects
- // if each objects is served by a separate servant.
+ attribute short id;
+ // This provides an easy way to differentiate objects
+ // if each objects is served by a separate servant.
};