summaryrefslogtreecommitdiff
path: root/ACE/ace/MEM_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/MEM_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/MEM_Addr.h')
-rw-r--r--ACE/ace/MEM_Addr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ACE/ace/MEM_Addr.h b/ACE/ace/MEM_Addr.h
index 017756f0335..26485148dfa 100644
--- a/ACE/ace/MEM_Addr.h
+++ b/ACE/ace/MEM_Addr.h
@@ -35,11 +35,14 @@ class ACE_Export ACE_MEM_Addr : public ACE_Addr
{
public:
/// Default constructor.
- ACE_MEM_Addr (void);
+ ACE_MEM_Addr ();
/// Copy constructor.
ACE_MEM_Addr (const ACE_MEM_Addr &);
+ /// Assignment operator
+ ACE_MEM_Addr& operator= (const ACE_MEM_Addr& sa) = default;
+
/// Creates an ACE_MEM_Addr from a @a port_number
ACE_MEM_Addr (u_short port_number);