summaryrefslogtreecommitdiff
path: root/ACE/ace/Atomic_Op_GCC_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Atomic_Op_GCC_T.h')
-rw-r--r--ACE/ace/Atomic_Op_GCC_T.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/ace/Atomic_Op_GCC_T.h b/ACE/ace/Atomic_Op_GCC_T.h
index 38485af3bac..13d363163ea 100644
--- a/ACE/ace/Atomic_Op_GCC_T.h
+++ b/ACE/ace/Atomic_Op_GCC_T.h
@@ -37,7 +37,7 @@ class ACE_Export ACE_Atomic_Op_GCC
{
public:
/// Atomically pre-increment @c value_.
- T operator++ (void);
+ T operator++ ();
/// Atomically post-increment @c value_.
T operator++ (int);
@@ -46,7 +46,7 @@ public:
T operator+= (T rhs);
/// Atomically pre-decrement @c value_.
- T operator-- (void);
+ T operator-- ();
/// Atomically post-decrement @c value_.
T operator-- (int);
@@ -76,13 +76,13 @@ public:
T exchange (T newval);
/// Explicitly return @c value_.
- T value (void) const;
+ T value () const;
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Explicitly return @c value_ (by reference).
- volatile T &value_i (void);
+ volatile T &value_i ();
// ACE_ALLOC_HOOK_DECLARE;
// Declare the dynamic allocation hooks.
@@ -95,7 +95,7 @@ protected:
ACE_Atomic_Op_GCC<T> &operator= (const ACE_Atomic_Op_GCC<T> &rhs);
/// Initialize @c value_ to 0.
- ACE_Atomic_Op_GCC (void);
+ ACE_Atomic_Op_GCC ();
/// Initialize @c value_ to c.
ACE_Atomic_Op_GCC (T c);
@@ -107,7 +107,7 @@ private:
// This function cannot be supported by this template specialization.
// If you need access to an underlying lock, use the ACE_Atomic_Op_Ex
// template instead.
- ACE_Thread_Mutex &mutex (void);
+ ACE_Thread_Mutex &mutex ();
private:
/// Current object decorated by the atomic op.