diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-08-13 13:57:51 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-08-13 13:57:51 +0200 |
commit | 49cc1db8abecc5987cd881641e341cfbf5f46d5c (patch) | |
tree | 9482be351a350964a22bfa0283b884132e44c48f /ACE/ace/ARGV.h | |
parent | 3f58c71fbc520ed1bd96c94cbdb43e911f924e0c (diff) | |
download | ATCD-49cc1db8abecc5987cd881641e341cfbf5f46d5c.tar.gz |
Add default C++11 move constructor and assignment operators to ACE_ARGV_Queue_Entry_T to resolve compile warnings when compiling TAO_Internal
* ACE/ace/ARGV.h:
Diffstat (limited to 'ACE/ace/ARGV.h')
-rw-r--r-- | ACE/ace/ARGV.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ACE/ace/ARGV.h b/ACE/ace/ARGV.h index 34a1cda51d1..a0edd1c78d5 100644 --- a/ACE/ace/ARGV.h +++ b/ACE/ace/ARGV.h @@ -55,6 +55,12 @@ public: */ ACE_ARGV_Queue_Entry_T (const ACE_ARGV_Queue_Entry_T<CHAR_TYPE> &entry); +#if defined (ACE_HAS_CPP11) + ACE_ARGV_Queue_Entry_T (ACE_ARGV_Queue_Entry_T&&) = default; + ACE_ARGV_Queue_Entry_T &operator = (const ACE_ARGV_Queue_Entry_T &) = default; + ACE_ARGV_Queue_Entry_T &operator = (ACE_ARGV_Queue_Entry_T &&) = default; +#endif /* ACE_HAS_CPP11 */ + /// We need this destructor to keep some compilers from complaining. /// It's just a no-op, however. ~ACE_ARGV_Queue_Entry_T (void); |