summaryrefslogtreecommitdiff
path: root/ACE/ace/Atomic_Op_T.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-09 12:39:57 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-09 12:39:57 +0100
commit6f91193f0b537d437645ae9e10823a519f547888 (patch)
tree224ad9643523a625196045f37ead1a4e73ddc1f9 /ACE/ace/Atomic_Op_T.h
parentfb7e13241cc5ebd590e32ec4343a75d53691cda6 (diff)
downloadATCD-6f91193f0b537d437645ae9e10823a519f547888.tar.gz
Removed redundant void
Diffstat (limited to 'ACE/ace/Atomic_Op_T.h')
-rw-r--r--ACE/ace/Atomic_Op_T.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/ACE/ace/Atomic_Op_T.h b/ACE/ace/Atomic_Op_T.h
index c3d936c1fe9..599ae7075b6 100644
--- a/ACE/ace/Atomic_Op_T.h
+++ b/ACE/ace/Atomic_Op_T.h
@@ -155,7 +155,7 @@ public:
// = Accessors.
/// Atomically pre-increment @c value_.
- TYPE operator++ (void);
+ TYPE operator++ ();
/// Atomically post-increment @c value_.
TYPE operator++ (int);
@@ -164,7 +164,7 @@ public:
TYPE operator+= (arg_type rhs);
/// Atomically pre-decrement @c value_.
- TYPE operator-- (void);
+ TYPE operator-- ();
/// Atomically post-decrement @c value_.
TYPE operator-- (int);
@@ -201,10 +201,10 @@ public:
TYPE exchange (TYPE newval);
/// Explicitly return @c value_.
- TYPE value (void) const;
+ TYPE value () const;
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -220,7 +220,7 @@ public:
*
* @note The right name would be lock_, but HP/C++ will choke on that!
*/
- ACE_LOCK & mutex (void);
+ ACE_LOCK & mutex ();
/**
* Explicitly return @c value_ (by reference). This gives the user
@@ -228,7 +228,7 @@ public:
* will usually be used in conjunction with explicit access to the
* lock. Use with care ;-)
*/
- TYPE & value_i (void);
+ TYPE & value_i ();
private:
/// Type of synchronization mechanism.
@@ -259,7 +259,7 @@ public:
typedef typename ACE_Type_Traits<TYPE>::parameter_type arg_type;
/// Initialize @c value_ to 0.
- ACE_Atomic_Op (void);
+ ACE_Atomic_Op ();
/// Initialize @c value_ to c.
ACE_Atomic_Op (arg_type c);
@@ -275,7 +275,7 @@ public:
ACE_Atomic_Op<ACE_LOCK, TYPE> const & rhs);
/// Atomically pre-increment @c value_.
- TYPE operator++ (void);
+ TYPE operator++ ();
/// Atomically post-increment @c value_.
TYPE operator++ (int);
@@ -284,7 +284,7 @@ public:
TYPE operator+= (arg_type rhs);
/// Atomically pre-decrement @c value_.
- TYPE operator-- (void);
+ TYPE operator-- ();
/// Atomically post-decrement @c value_.
TYPE operator-- (int);
@@ -314,10 +314,10 @@ public:
TYPE exchange (TYPE newval);
/// Explicitly return @c value_.
- TYPE value (void) const;
+ TYPE value () const;
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -328,7 +328,7 @@ public:
* will usually be used in conjunction with explicit access to the
* lock. Use with care ;-)
*/
- TYPE & value_i (void);
+ TYPE & value_i ();
private:
/// Type of synchronization mechanism.