From fb2d816f3cbc7a4c55f5f0c80c657bca13efe705 Mon Sep 17 00:00:00 2001 From: brunsch Date: Thu, 7 Dec 2000 03:55:00 +0000 Subject: ChangeLogTag:Wed Dec 06 19:52:42 2000 Darrell Brunsch --- ChangeLog | 6 ++++++ ChangeLogs/ChangeLog-02a | 6 ++++++ ChangeLogs/ChangeLog-03a | 6 ++++++ ace/Auto_Ptr.i | 14 ++++++++------ 4 files changed, 26 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 21e131e0c5d..39abeda94c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Dec 06 19:52:42 2000 Darrell Brunsch + + * ace/Auto_Ptr.i: + + Added a couple of ACE_INLINEs and an include of Synch_T.h. + Wed Dec 06 20:12:35 2000 Irfan Pyarali * ace/Containers_T.cpp (operator=): In case the existing array is diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 21e131e0c5d..39abeda94c1 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Wed Dec 06 19:52:42 2000 Darrell Brunsch + + * ace/Auto_Ptr.i: + + Added a couple of ACE_INLINEs and an include of Synch_T.h. + Wed Dec 06 20:12:35 2000 Irfan Pyarali * ace/Containers_T.cpp (operator=): In case the existing array is diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 21e131e0c5d..39abeda94c1 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,9 @@ +Wed Dec 06 19:52:42 2000 Darrell Brunsch + + * ace/Auto_Ptr.i: + + Added a couple of ACE_INLINEs and an include of Synch_T.h. + Wed Dec 06 20:12:35 2000 Irfan Pyarali * ace/Containers_T.cpp (operator=): In case the existing array is diff --git a/ace/Auto_Ptr.i b/ace/Auto_Ptr.i index 53b5f1db51e..85f54bfc834 100644 --- a/ace/Auto_Ptr.i +++ b/ace/Auto_Ptr.i @@ -3,6 +3,8 @@ // Auto_Ptr.i +#include "Synch_T.h" + template ACE_INLINE ACE_Auto_Basic_Ptr::ACE_Auto_Basic_Ptr (ACE_Auto_Basic_Ptr &rhs) : p_ (rhs.release ()) @@ -142,14 +144,14 @@ ACE_Auto_Array_Ptr::operator->() const return this->get (); } -template ACE_Refcounted_Auto_Ptr_Rep * +template ACE_INLINE ACE_Refcounted_Auto_Ptr_Rep * ACE_Refcounted_Auto_Ptr_Rep::create (X *p) { // Yes set ref count to zero. return new ACE_Refcounted_Auto_Ptr_Rep (p); } -template ACE_Refcounted_Auto_Ptr_Rep * +template ACE_INLINE ACE_Refcounted_Auto_Ptr_Rep * ACE_Refcounted_Auto_Ptr_Rep::attach (ACE_Refcounted_Auto_Ptr_Rep*& rep) { ACE_ASSERT (rep != 0); @@ -161,7 +163,7 @@ ACE_Refcounted_Auto_Ptr_Rep::attach (ACE_Refcounted_Auto_Ptr_Rep void +template ACE_INLINE void ACE_Refcounted_Auto_Ptr_Rep::detach (ACE_Refcounted_Auto_Ptr_Rep*& rep) { ACE_ASSERT (rep != 0); @@ -175,7 +177,7 @@ ACE_Refcounted_Auto_Ptr_Rep::detach (ACE_Refcounted_Auto_Ptr_Rep void +template ACE_INLINE void ACE_Refcounted_Auto_Ptr_Rep::assign (ACE_Refcounted_Auto_Ptr_Rep*& rep, ACE_Refcounted_Auto_Ptr_Rep* new_rep) { ACE_ASSERT (rep != 0); @@ -194,14 +196,14 @@ ACE_Refcounted_Auto_Ptr_Rep::assign (ACE_Refcounted_Auto_Ptr_Rep +template ACE_INLINE ACE_Refcounted_Auto_Ptr_Rep::ACE_Refcounted_Auto_Ptr_Rep (X *p) : ptr_ (p), ref_count_ (0) { } -template +template ACE_INLINE ACE_Refcounted_Auto_Ptr_Rep::~ACE_Refcounted_Auto_Ptr_Rep (void) { } -- cgit v1.2.1