summaryrefslogtreecommitdiff
path: root/ACE/ace/Refcounted_Auto_Ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Refcounted_Auto_Ptr.h')
-rw-r--r--ACE/ace/Refcounted_Auto_Ptr.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ACE/ace/Refcounted_Auto_Ptr.h b/ACE/ace/Refcounted_Auto_Ptr.h
index 670243dc1b5..b52872806ab 100644
--- a/ACE/ace/Refcounted_Auto_Ptr.h
+++ b/ACE/ace/Refcounted_Auto_Ptr.h
@@ -57,7 +57,7 @@ public:
/// Destructor. Releases the reference to the underlying representation.
/// If the release of that reference causes its reference count to reach 0,
/// the representation object will also be destroyed.
- virtual ~ACE_Refcounted_Auto_Ptr (void);
+ virtual ~ACE_Refcounted_Auto_Ptr ();
/// Assignment operator that binds the current object and @a r to the same
/// ACE_Refcounted_Auto_Ptr_Rep. An ACE_Refcounted_Auto_Ptr_Rep
@@ -77,7 +77,7 @@ public:
bool operator != (const ACE_Refcounted_Auto_Ptr<X, ACE_LOCK> &r) const;
/// Redirection operator
- X *operator-> (void) const;
+ X *operator-> () const;
/// Accessor method.
X &operator *() const;
@@ -90,20 +90,20 @@ public:
/// Releases the reference to the underlying representation object.
/// @retval The pointer value prior to releasing it.
- X *release (void);
+ X *release ();
/// Releases the current pointer value and then sets a new
/// pointer value specified by @a p.
void reset (X *p = 0);
/// Get the pointer value.
- X *get (void) const;
+ X *get () const;
/// Get the reference count value.
- long count (void) const;
+ long count () const;
/// Returns @c true if this object does not contain a valid pointer.
- bool null (void) const;
+ bool null () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -133,10 +133,10 @@ private:
friend class ACE_Refcounted_Auto_Ptr<X, ACE_LOCK>;
/// Get the pointer value.
- X *get (void) const;
+ X *get () const;
/// Get the reference count value.
- long count (void) const;
+ long count () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -174,7 +174,7 @@ private:
private:
// = Constructor and destructor private.
ACE_Refcounted_Auto_Ptr_Rep (X *p = 0);
- ~ACE_Refcounted_Auto_Ptr_Rep (void);
+ ~ACE_Refcounted_Auto_Ptr_Rep ();
};
ACE_END_VERSIONED_NAMESPACE_DECL