summaryrefslogtreecommitdiff
path: root/ACE/ace/Local_Tokens.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-11-10 10:17:20 +0100
committerGitHub <noreply@github.com>2021-11-10 10:17:20 +0100
commit330bee4fc0833c16295dd615a044735173b36687 (patch)
treef9ccdb645bd1b4e93e71cdeb15326e0f3ab1433b /ACE/ace/Local_Tokens.h
parentf89faa003e82516b83d995a9fa62be46d248d586 (diff)
parent43002d5505231e9e13870d6bec044166dd86480e (diff)
downloadATCD-330bee4fc0833c16295dd615a044735173b36687.tar.gz
Merge pull request #1719 from jwillemsen/jwi-memaddrwarning
Add default assignment operators to fix gcc warnings
Diffstat (limited to 'ACE/ace/Local_Tokens.h')
-rw-r--r--ACE/ace/Local_Tokens.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ACE/ace/Local_Tokens.h b/ACE/ace/Local_Tokens.h
index e52695aff37..6b137152143 100644
--- a/ACE/ace/Local_Tokens.h
+++ b/ACE/ace/Local_Tokens.h
@@ -216,7 +216,7 @@ public:
const ACE_TCHAR *client_id);
/// Destructor.
- virtual ~ACE_TSS_TPQ_Entry (void);
+ virtual ~ACE_TSS_TPQ_Entry () = default;
/// Allows us to pass args to the construction of the TSS object.
virtual ACE_TPQ_Entry *make_TSS_TYPE () const;
@@ -235,9 +235,8 @@ public:
#endif /* ACE_NO_TSS_TOKENS */
private:
- /// Private: should not be used
- ACE_TSS_TPQ_Entry (const ACE_TSS_TPQ_Entry &);
- void operator= (const ACE_TSS_TPQ_Entry &);
+ ACE_TSS_TPQ_Entry (const ACE_TSS_TPQ_Entry &) = delete;
+ void operator= (const ACE_TSS_TPQ_Entry &) = delete;
// = These are passed to the constructor of ACE_TPQ_Entry in
// make_TSS_TYPE