diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-03-31 11:50:52 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-03-31 11:50:52 +0000 |
commit | a7b1b2bf493271fad64e2c20ffc6c621ba498887 (patch) | |
tree | 44299801eb31eb2a7e52fed72a0c4bf10613babd /TAO/TAO_IDL | |
parent | f90ce7ab9e169eb7150cd23ca3f95de0cd5fbbe9 (diff) | |
download | ATCD-a7b1b2bf493271fad64e2c20ffc6c621ba498887.tar.gz |
ChangeLogTag: Thu Mar 31 11:56:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp index b2ca239632e..2fea01603b7 100644 --- a/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp @@ -51,9 +51,9 @@ be_visitor_root_ch::init (void) // Initialize the stream. this->ctx_->stream (tao_cg->client_header ()); - // If this IDL file contains an interface declaration, generated a + // If this IDL file contains an non local interface declaration, generated a // forward declaration of the proxy broker for a possible collocated call. - if (idl_global->interface_seen_) + if (idl_global->non_local_iface_seen_) { TAO_OutStream *os = this->ctx_->stream (); @@ -65,10 +65,7 @@ be_visitor_root_ch::init (void) << "namespace TAO" << be_nl << "{" << be_idt_nl; - if (idl_global->non_local_iface_seen_) - { - *os << "class Collocation_Proxy_Broker;" << be_nl; - } + *os << "class Collocation_Proxy_Broker;" << be_nl; *os << "template<typename T> class Narrow_Utils;" << be_nl << "template<typename T> class AbstractBase_Narrow_Utils;" << be_uidt_nl |