summaryrefslogtreecommitdiff
path: root/ACE/ace/Condition_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Condition_T.h')
-rw-r--r--ACE/ace/Condition_T.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ACE/ace/Condition_T.h b/ACE/ace/Condition_T.h
index d87d96b2dc5..0a79a413f9e 100644
--- a/ACE/ace/Condition_T.h
+++ b/ACE/ace/Condition_T.h
@@ -63,7 +63,7 @@ public:
void *arg = 0);
/// Implicitly destroy the condition variable.
- ~ACE_Condition (void);
+ ~ACE_Condition ();
// = Lock accessors.
/**
@@ -75,7 +75,7 @@ public:
int wait (const ACE_Time_Value *abstime);
/// Block on condition.
- int wait (void);
+ int wait ();
/**
* Block on condition or until absolute time-of-day has passed. If
@@ -88,20 +88,20 @@ public:
int wait (MUTEX &mutex, const ACE_Time_Value *abstime = 0);
/// Signal one waiting thread.
- int signal (void);
+ int signal ();
/// Signal *all* waiting threads.
- int broadcast (void);
+ int broadcast ();
// = Utility methods.
/// Explicitly destroy the condition variable.
- int remove (void);
+ int remove ();
/// Returns a reference to the underlying mutex_;
- MUTEX &mutex (void);
+ MUTEX &mutex ();
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -115,8 +115,8 @@ protected:
private:
// = Prevent assignment and initialization.
- ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Condition<MUTEX> &))
- ACE_UNIMPLEMENTED_FUNC (ACE_Condition (const ACE_Condition<MUTEX> &))
+ void operator= (const ACE_Condition<MUTEX> &) = delete;
+ ACE_Condition (const ACE_Condition<MUTEX> &) = delete;
};
/**
@@ -143,7 +143,7 @@ public:
ACE_Thread_Condition (MUTEX &m, const ACE_TCHAR *name = 0, void *arg = 0);
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;