diff options
Diffstat (limited to 'ACE/ace/MEM_Addr.inl')
-rw-r--r-- | ACE/ace/MEM_Addr.inl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ACE/ace/MEM_Addr.inl b/ACE/ace/MEM_Addr.inl index f849070acfb..7cf22ce26bc 100644 --- a/ACE/ace/MEM_Addr.inl +++ b/ACE/ace/MEM_Addr.inl @@ -4,6 +4,18 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL +/// Assignment operator +ACE_INLINE ACE_MEM_Addr& +ACE_MEM_Addr::operator= (const ACE_MEM_Addr& rhs) +{ + if (this != &rhs) + { + this->external_.set (rhs.external_); + this->internal_.set (rhs.internal_); + } + return *this; +} + /// Set the port number. ACE_INLINE void ACE_MEM_Addr::set_port_number (u_short port_number, |