diff options
-rw-r--r-- | ACE/ace/Handle_Set.h | 2 | ||||
-rw-r--r-- | ACE/ace/Handle_Set.inl | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ACE/ace/Handle_Set.h b/ACE/ace/Handle_Set.h index 4e4cf36ab94..8a3312ef778 100644 --- a/ACE/ace/Handle_Set.h +++ b/ACE/ace/Handle_Set.h @@ -113,6 +113,8 @@ public: fd_set *fdset (void); #if defined (ACE_HAS_BIG_FD_SET) + ACE_Handle_Set (const ACE_Handle_Set &other); + /// Assignment operator optimizes for cases where <size_> == 0. ACE_Handle_Set & operator= (const ACE_Handle_Set &); #endif /* ACE_HAS_BIG_FD_SET */ diff --git a/ACE/ace/Handle_Set.inl b/ACE/ace/Handle_Set.inl index db76152f168..35efaebb06c 100644 --- a/ACE/ace/Handle_Set.inl +++ b/ACE/ace/Handle_Set.inl @@ -27,6 +27,13 @@ ACE_Handle_Set::reset (void) } #if defined (ACE_HAS_BIG_FD_SET) +ACE_INLINE ACE_Handle_Set::ACE_Handle_Set (const ACE_Handle_Set &other) + : size_ (other.size_) + , max_handle_ (other.max_handle_) + , min_handle_ (other.min_handle_) + , mask_ (other.mask_) +{} + ACE_INLINE ACE_Handle_Set & ACE_Handle_Set::operator = (const ACE_Handle_Set &rhs) { |