diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp index aad105b595a..d403ce016d2 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/smart_proxy_ch.cpp @@ -17,14 +17,14 @@ be_visitor_interface_smart_proxy_ch::be_visitor_interface_smart_proxy_ch ( { } -be_visitor_interface_smart_proxy_ch::~be_visitor_interface_smart_proxy_ch (void) +be_visitor_interface_smart_proxy_ch::~be_visitor_interface_smart_proxy_ch () { } int be_visitor_interface_smart_proxy_ch::visit_interface (be_interface *node) { TAO_OutStream *os = this->ctx_->stream (); - be_type *bt = 0; + be_type *bt = nullptr; if (this->ctx_->alias ()) { @@ -54,7 +54,7 @@ int be_visitor_interface_smart_proxy_ch::visit_interface (be_interface *node) << "// flexibility of having a different smart proxy per object "<<be_nl <<"// instead of per interface."<<be_nl<< be_nl << "virtual ~TAO_" << node->flat_name () - << "_Default_Proxy_Factory (void);" << be_nl_2 + << "_Default_Proxy_Factory ();" << be_nl_2 << "virtual "<< node->local_name () << "_ptr create_proxy (" << be_idt << be_idt_nl << node->local_name () @@ -73,16 +73,16 @@ int be_visitor_interface_smart_proxy_ch::visit_interface (be_interface *node) << "TAO_" << node->flat_name () << "_Default_Proxy_Factory *df,"<< be_nl << "bool one_shot_factory = true" << be_uidt_nl << ");" << be_uidt_nl << be_nl - << "void unregister_proxy_factory (void);" << be_nl_2 + << "void unregister_proxy_factory ();" << be_nl_2 << node->local_name () << "_ptr create_proxy (" << be_idt << be_idt_nl << node->local_name () << "_ptr proxy" << be_uidt_nl << ");" << be_uidt << be_uidt_nl << be_nl << "protected:" << be_idt_nl << "TAO_" << node->flat_name () - << "_Proxy_Factory_Adapter (void);" << be_nl + << "_Proxy_Factory_Adapter ();" << be_nl << "~TAO_" << node->flat_name () - << "_Proxy_Factory_Adapter (void);" << be_nl + << "_Proxy_Factory_Adapter ();" << be_nl << "TAO_" << node->flat_name () << "_Proxy_Factory_Adapter &operator= (" << be_idt << be_idt_nl << "const TAO_" << node->flat_name () @@ -115,7 +115,7 @@ int be_visitor_interface_smart_proxy_ch::visit_interface (be_interface *node) { be_interface *inherited = dynamic_cast<be_interface*> (node->inherits ()[i]); - be_decl *scope = 0; + be_decl *scope = nullptr; if (inherited->is_nested ()) { @@ -138,19 +138,19 @@ int be_visitor_interface_smart_proxy_ch::visit_interface (be_interface *node) *os << "{" << be_nl << "public:" << be_idt_nl - << "TAO_"<< node->flat_name () << "_Smart_Proxy_Base (void);" + << "TAO_"<< node->flat_name () << "_Smart_Proxy_Base ();" << be_nl // Just to keep Old g++ complier (version: 2.7.2.3) happy it's // necesssary to declare and define the destructor explicitly. - << "~TAO_"<< node->flat_name () << "_Smart_Proxy_Base (void);" + << "~TAO_"<< node->flat_name () << "_Smart_Proxy_Base ();" << be_nl // This method will delegate this method to the <base_proxy_> // member of the smart proxy and so the smart proxy's (nil) // stubobj will not be returned. - << "virtual TAO_Stub *_stubobj (void) const;" + << "virtual TAO_Stub *_stubobj () const;" << be_nl // Another version of the above method.. -<< "virtual TAO_Stub *_stubobj (void);" +<< "virtual TAO_Stub *_stubobj ();" << be_uidt_nl; // Generate code for the interface definition by traversing thru the @@ -169,7 +169,7 @@ int be_visitor_interface_smart_proxy_ch::visit_interface (be_interface *node) *os << "protected:" << be_idt_nl << "::" << node->full_name () - << "_ptr get_proxy (void);" << be_nl + << "_ptr get_proxy ();" << be_nl << "::" << node->full_name () << "_var proxy_;" << be_uidt_nl << "};\n\n"; |