summaryrefslogtreecommitdiff
path: root/ACE/ace/MEM_Addr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/MEM_Addr.cpp')
-rw-r--r--ACE/ace/MEM_Addr.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/ACE/ace/MEM_Addr.cpp b/ACE/ace/MEM_Addr.cpp
index 4ee10c5b663..26b365df1df 100644
--- a/ACE/ace/MEM_Addr.cpp
+++ b/ACE/ace/MEM_Addr.cpp
@@ -54,6 +54,17 @@ ACE_MEM_Addr::ACE_MEM_Addr (u_short port_number)
this->initialize_local (port_number);
}
+ACE_MEM_Addr&
+ACE_MEM_Addr::operator= (const ACE_MEM_Addr& sa)
+{
+ if (this != std::addressof(sa))
+ {
+ this->external_.set (sa.external_);
+ this->internal_.set (sa.internal_);
+ }
+ return *this;
+}
+
int
ACE_MEM_Addr::initialize_local (u_short port_number)
{