summaryrefslogtreecommitdiff
path: root/ACE/ace/Refcounted_Auto_Ptr.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Refcounted_Auto_Ptr.inl')
-rw-r--r--ACE/ace/Refcounted_Auto_Ptr.inl16
1 files changed, 8 insertions, 8 deletions
diff --git a/ACE/ace/Refcounted_Auto_Ptr.inl b/ACE/ace/Refcounted_Auto_Ptr.inl
index f495076b153..2c46bbb5d3f 100644
--- a/ACE/ace/Refcounted_Auto_Ptr.inl
+++ b/ACE/ace/Refcounted_Auto_Ptr.inl
@@ -5,19 +5,19 @@
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <class X, class ACE_LOCK> inline long
-ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::count (void) const
+ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::count () const
{
return this->ref_count_.value();
}
template <class X, class ACE_LOCK> inline long
-ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::count (void) const
+ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::count () const
{
return this->rep_->count ();
}
template <class X, class ACE_LOCK> inline bool
-ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::null (void) const
+ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::null () const
{
return (this->rep_ == 0 || this->rep_->get () == 0);
}
@@ -75,12 +75,12 @@ ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::ACE_Refcounted_Auto_Ptr_Rep (X *p)
}
template <class X, class ACE_LOCK> inline
-ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::~ACE_Refcounted_Auto_Ptr_Rep (void)
+ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::~ACE_Refcounted_Auto_Ptr_Rep ()
{
}
template <class X, class ACE_LOCK> inline X *
-ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::get (void) const
+ACE_Refcounted_Auto_Ptr_Rep<X, ACE_LOCK>::get () const
{
return this->ptr_.get ();
}
@@ -110,7 +110,7 @@ ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::operator!= (const ACE_Refcounted_Auto_Ptr<
}
template <class X, class ACE_LOCK> inline X *
-ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::operator-> (void) const
+ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::operator-> () const
{
return this->rep_->get();
}
@@ -134,14 +134,14 @@ ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::operator bool () const
}
template <class X, class ACE_LOCK> inline X*
-ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::get (void) const
+ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::get () const
{
// We return the ACE_Future_rep.
return this->rep_->get ();
}
template<class X, class ACE_LOCK> inline X *
-ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::release (void)
+ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>::release ()
{
X *p = this->get ();
AUTO_REFCOUNTED_PTR_REP::detach (this->rep_);