diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-01-06 15:48:40 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-01-06 15:48:40 +0000 |
commit | 52b2e19eba65224784f4abd71887078218cb9406 (patch) | |
tree | 7eecc73f14150a6b080978853fd448892275d625 | |
parent | 41bf455e434c205e3295cf3bd26e993652e14043 (diff) | |
download | ATCD-52b2e19eba65224784f4abd71887078218cb9406.tar.gz |
ChangeLogTag:Sat Jan 5 20:57:36 2002 Venkita Subramonian <venkita@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 7 | ||||
-rw-r--r-- | TAO/examples/Advanced/ch_8_and_10/client.cpp | 6 | ||||
-rw-r--r-- | TAO/examples/Advanced/ch_8_and_10/server.cpp | 3 | ||||
-rw-r--r-- | THANKS | 1 |
4 files changed, 12 insertions, 5 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index dd06e8d3e6b..e41b49ad587 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,10 @@ +Sun Jan 6 09:45:24 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu> + + * examples/Advanced/ch_8_and_10/client.cpp (main): + Added some casts to make certain C++ compilers happy. + Thanks to Roy Sharon <roysharon@hotmail.com> for + reporting this. + Sat Jan 5 21:31:43 2002 Mayur Deshpande <mayur@ics.uci.edu> * TAO_IDL/be_include/be_visitor_amh_pre_proc.h: diff --git a/TAO/examples/Advanced/ch_8_and_10/client.cpp b/TAO/examples/Advanced/ch_8_and_10/client.cpp index e9979ec17a0..e47e291a169 100644 --- a/TAO/examples/Advanced/ch_8_and_10/client.cpp +++ b/TAO/examples/Advanced/ch_8_and_10/client.cpp @@ -186,14 +186,14 @@ main(int argc, char * argv[]) cout << endl; // Change the location of first device in the list - CCS::AssetType anum = list[0]->asset_num(); + CCS::AssetType anum = list[(CORBA::ULong) 0]->asset_num(); cout << "Changing location of device " << anum << "." << endl; - list[0]->location("Earth"); + list[(CORBA::ULong) 0]->location("Earth"); // Check that the location was updated cout << "New details for device " << anum << " are:" << endl; - cout << list[0] << endl; + cout << list[(CORBA::ULong) 0] << endl; // Find first thermostat in list. CCS::Thermostat_var tmstat; diff --git a/TAO/examples/Advanced/ch_8_and_10/server.cpp b/TAO/examples/Advanced/ch_8_and_10/server.cpp index a6f2032b063..689aa6a6d56 100644 --- a/TAO/examples/Advanced/ch_8_and_10/server.cpp +++ b/TAO/examples/Advanced/ch_8_and_10/server.cpp @@ -1,4 +1,5 @@ // $Id$ + // ============================================================================ // // = LIBRARY @@ -17,8 +18,6 @@ // // ============================================================================ - - #include "server.h" #include <algorithm> #include "icp.h" @@ -1408,6 +1408,7 @@ Harvinder Sawhney <harvindersawhney@yahoo.com> Sorin Iordachescu <sorin.iordachescu@am-beo.com> Mahesh Vedantam <mahesh@ociweb.com> Brian Olson <bolson@rtlogic.com> +Roy Sharon <roysharon@hotmail.com> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson in the early 1990's. Paul devised the recursive Makefile |