diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-09 14:19:39 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-09 14:19:39 +0000 |
commit | 530e9e57fda3c460f3402f6268e8b706aa8abda6 (patch) | |
tree | eebba8768c33a7f7122c35b762f45ceac41faf16 | |
parent | d45960208aa1dd3b520764bafa00a5d81eacbe84 (diff) | |
download | ATCD-530e9e57fda3c460f3402f6268e8b706aa8abda6.tar.gz |
ChangeLogTag:Sun Jul 9 06:31:38 2000 Darrell Brunsch <brunsch@uci.edu>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 8 | ||||
-rw-r--r-- | TAO/examples/Quoter/client.cpp | 6 |
2 files changed, 13 insertions, 1 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index e04b6cfcc29..cddb5acf8dd 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,11 @@ +Sun Jul 9 06:31:38 2000 Darrell Brunsch <brunsch@uci.edu> + + * examples/Quoter/client.cpp: + + Changed the way we were assigning quoter_FactoryObj_var + by just adding a middle variable, factory, in order to remove + a compiler error on MSVC. + Sun Jul 09 08:12:54 2000 David L. Levine <levine@cs.wustl.edu> * orbsvcs/orbsvcs/Makefile.LoadBalancing,Makefile.av: diff --git a/TAO/examples/Quoter/client.cpp b/TAO/examples/Quoter/client.cpp index c04fbec7a2a..017b2ac341a 100644 --- a/TAO/examples/Quoter/client.cpp +++ b/TAO/examples/Quoter/client.cpp @@ -267,7 +267,11 @@ Quoter_Client::init_naming_service (void) CORBA::Object_var quoter_FactoryObj_var; if (factories_ptr->length () >= 1) - quoter_FactoryObj_var = (*factories_ptr)[0]; // everything is ok, at least one factory is there + { + // everything is ok, at least one factory is there + CosLifeCycle::Factory_ptr factory = (*factories_ptr)[0]; + quoter_FactoryObj_var = factory; + } else ACE_ERROR_RETURN ((LM_ERROR, "No Factory received.\n"), |