summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-27 04:39:00 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-27 04:39:00 +0000
commit1b8e53407b01f8273f64387f967fd4373c4cbf93 (patch)
tree809137994a36755615bfa0c74e6b06d13c6a076a
parent605d6d02fc1372bf9b2717452841fb5c5006b0b5 (diff)
downloadATCD-1b8e53407b01f8273f64387f967fd4373c4cbf93.tar.gz
* tao/Sequence_T.h:
* tao/Sequence_T.cpp: Changed the assignment operator from T_var for class TAO_Object_Manager to take a const T_var &. The non-const parameter we had previously has incorrect semantics and may cause the wrong assignment operator (from T *) to be chosen by the compiler in some cases, leading to problems because the assignment from T * does not duplicate the pointer. Thanks to Matt Cheers <Matt.Cheers@Australia.Boeing.com> and Derek Dominish <Derek.Dominish@Australia.Boeing.com> for pointing out the problem.
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a16
1 files changed, 16 insertions, 0 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index d1276d789e1..1b6f242678c 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,19 @@
+Mon Mar 26 22:34:39 2001 Jeff Parsons <parsons@cs.wustl.edu>
+
+ * tao/Sequence_T.h:
+ * tao/Sequence_T.cpp:
+
+ Changed the assignment operator from T_var for
+ class TAO_Object_Manager to take a const T_var &.
+ The non-const parameter we had previously has
+ incorrect semantics and may cause the wrong
+ assignment operator (from T *) to be chosen by the
+ compiler in some cases, leading to problems because
+ the assignment from T * does not duplicate the
+ pointer. Thanks to Matt Cheers <Matt.Cheers@Australia.Boeing.com>
+ and Derek Dominish <Derek.Dominish@Australia.Boeing.com> for
+ pointing out the problem.
+
Mon Mar 26 22:20:34 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/IIOP_Connection_Handler.cpp: