summaryrefslogtreecommitdiff
path: root/ACE/ace/UNIX_Addr.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/UNIX_Addr.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/UNIX_Addr.h')
-rw-r--r--ACE/ace/UNIX_Addr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ACE/ace/UNIX_Addr.h b/ACE/ace/UNIX_Addr.h
index fed5df7fab6..1400760e6d1 100644
--- a/ACE/ace/UNIX_Addr.h
+++ b/ACE/ace/UNIX_Addr.h
@@ -43,6 +43,9 @@ public:
/// Copy constructor.
ACE_UNIX_Addr (const ACE_UNIX_Addr &sa);
+ /// Assignment operator
+ ACE_UNIX_Addr& operator= (const ACE_UNIX_Addr& sa) = default;
+
/// Creates an ACE_UNIX_Addr from a string.
ACE_UNIX_Addr (const char rendezvous_point[]);