summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a10
-rw-r--r--TAO/tao/Notify_Handler.h2
-rw-r--r--TAO/tao/Sequence_T.cpp4
3 files changed, 13 insertions, 3 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 39cf52d8e9d..34705ac07e4 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,13 @@
+Wed Jul 3 07:41:06 2002 Balachandran Natarajan <bala@cs.wustl.edu>
+
+ * tao/Sequence_T.cpp: Fixed a compile error with SunCC 5.3. The
+ method TAO_Valuetype_Manager::operator= passed erroneously the
+ reference to tao_remove_ref ()and tao_add_ref (). The two
+ methods actually expect a pointer.
+
+ * tao/Notify_Handler.h: Fixed a warming about an extra ; with the
+ same compiler
+
Wed Jul 3 07:27:49 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/ValueFactory_Map.cpp: Fixed a compile error with SunCC 5.3.
diff --git a/TAO/tao/Notify_Handler.h b/TAO/tao/Notify_Handler.h
index 0306477b13a..cf7ba4e344e 100644
--- a/TAO/tao/Notify_Handler.h
+++ b/TAO/tao/Notify_Handler.h
@@ -66,7 +66,7 @@ protected:
private:
/// Preventing default ctor's.
- ACE_UNIMPLEMENTED_FUNC (TAO_Notify_Handler (void));
+ ACE_UNIMPLEMENTED_FUNC (TAO_Notify_Handler (void))
private:
/// Our copy of the connection handler, reference count incremented
diff --git a/TAO/tao/Sequence_T.cpp b/TAO/tao/Sequence_T.cpp
index dece80234c5..04790a7b85d 100644
--- a/TAO/tao/Sequence_T.cpp
+++ b/TAO/tao/Sequence_T.cpp
@@ -416,9 +416,9 @@ TAO_Valuetype_Manager<T,T_var>::operator= (
if (this->release_)
{
- T_var::tao_remove_ref (*this->ptr_);
+ T_var::tao_remove_ref (this->ptr_);
*this->ptr_ = *rhs.ptr_;
- T_var::tao_add_ref (*this->ptr_);
+ T_var::tao_add_ref (this->ptr_);
}
else
{