summaryrefslogtreecommitdiff
path: root/ACE/ace/Local_Tokens.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
commit3a135b20e2c3c3dd407b9b768a411645eca6a7e0 (patch)
tree71301b1d02a56c2137c4e4c1b378aea4acd139a7 /ACE/ace/Local_Tokens.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
downloadATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Local_Tokens.h')
-rw-r--r--ACE/ace/Local_Tokens.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/ACE/ace/Local_Tokens.h b/ACE/ace/Local_Tokens.h
index 61a366375ae..c420cf92e9e 100644
--- a/ACE/ace/Local_Tokens.h
+++ b/ACE/ace/Local_Tokens.h
@@ -266,7 +266,7 @@ public:
ACE_TPQ_Iterator (ACE_Token_Proxy_Queue &q);
/// Destructor.
- ~ACE_TPQ_Iterator (void);
+ ~ACE_TPQ_Iterator () = default;
/// Pass back the @a next_item.
int next (ACE_TPQ_Entry *&next_item);
@@ -308,7 +308,7 @@ public:
ACE_Token_Proxy_Queue (void);
/// Destructor.
- ~ACE_Token_Proxy_Queue (void);
+ ~ACE_Token_Proxy_Queue () = default;
/**
* Enqueue a proxy, nesting level, client_id, and a magic cookie at
@@ -369,12 +369,11 @@ protected:
class ACE_Export ACE_Tokens
{
public:
-
/// Null constructor.
- ACE_Tokens (void);
+ ACE_Tokens ();
/// Destructor
- virtual ~ACE_Tokens (void);
+ virtual ~ACE_Tokens () = default;
/// No implementation.
virtual int acquire (ACE_TPQ_Entry *caller,
@@ -461,7 +460,6 @@ public:
ACE_TPQ_Entry *owner (void);
protected:
-
/// For the deadlock detection algorithm.
int visited_;
@@ -1088,16 +1086,16 @@ public:
int debug = 0);
/// Destructor
- ~ACE_Local_WLock (void);
+ ~ACE_Local_WLock ();
/// Dump the state of the class.
void dump () const;
/// Returns ACE_RW_Token::WLOCK.
- virtual int type (void) const;
+ virtual int type () const;
/// Return deep copy.
- virtual ACE_Token_Proxy *clone (void) const;
+ virtual ACE_Token_Proxy *clone () const;
protected:
/// Return a new ACE_Local_Mutex.