summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoredwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-09-15 17:13:13 +0000
committeredwardgt <edwardgt@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-09-15 17:13:13 +0000
commit39c8dd3fb66ec5e3cd09ec32364607cc9d39f43c (patch)
treeb9ec0f86967db592b00f23df250f9ebc0c8dc3be
parent36d6fbd32bcc6f9132f11ea0e49b7fa4c438751b (diff)
downloadATCD-39c8dd3fb66ec5e3cd09ec32364607cc9d39f43c.tar.gz
ChangeLogTag: Mon Sep 15 12:06:47 2003 George Edwards <g.edwards@vanderbilt.edu>
-rw-r--r--TAO/ChangeLog8
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp6
-rw-r--r--TAO/tao/Valuetype/ValueBase.cpp4
3 files changed, 16 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 3bb2cebbf2a..8847c7aee15 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,11 @@
+Mon Sep 15 12:06:47 2003 George Edwards <g.edwards@vanderbilt.edu>
+
+ * tao/Valuetype/ValueBase.cpp:
+ * TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp:
+
+ Added explicit base class initialization in copy constructor
+ for valuetypes that support concrete interfaces.
+
Mon Sep 15 11:16:51 2003 Yamuna Krishnamurthy <yamuna@oomworks.com>
* tao/RTScheduling/Request_Interceptor.cpp :
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp
index 58b60782c3e..fc636a3fa7b 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_ss.cpp
@@ -97,13 +97,15 @@ be_visitor_valuetype_ss::visit_valuetype (be_valuetype *node)
<< "const " << local_name_prefix << node_local_name << "& rhs)";
*os << be_idt_nl
- << ": ";
+ << ": TAO_Abstract_ServantBase (rhs)," << be_nl
+ << " TAO_ServantBase (rhs)," << be_nl
+ << " ValueBase (rhs)," << be_nl;
if (concrete->is_nested ())
{
AST_Decl *scope = ScopeAsDecl (concrete->defined_in ());
- *os << "ACE_NESTED_CLASS (POA_" << scope->name () << ", "
+ *os << " ACE_NESTED_CLASS (POA_" << scope->name () << ", "
<< concrete->local_name () << ") (rhs)";
}
else
diff --git a/TAO/tao/Valuetype/ValueBase.cpp b/TAO/tao/Valuetype/ValueBase.cpp
index 46283454a1d..f80c1684469 100644
--- a/TAO/tao/Valuetype/ValueBase.cpp
+++ b/TAO/tao/Valuetype/ValueBase.cpp
@@ -78,6 +78,10 @@ CORBA::ValueBase::ValueBase (void)
{
}
+CORBA::ValueBase::ValueBase (const ValueBase&)
+{
+}
+
CORBA::ValueBase::~ValueBase (void)
{
}