summaryrefslogtreecommitdiff
path: root/ACE/ace/Handle_Set.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Handle_Set.inl')
-rw-r--r--ACE/ace/Handle_Set.inl20
1 files changed, 20 insertions, 0 deletions
diff --git a/ACE/ace/Handle_Set.inl b/ACE/ace/Handle_Set.inl
index 2ab6e34b9e2..ed073108091 100644
--- a/ACE/ace/Handle_Set.inl
+++ b/ACE/ace/Handle_Set.inl
@@ -30,6 +30,26 @@ ACE_Handle_Set::reset (void)
}
#if defined (ACE_HAS_BIG_FD_SET)
+ACE_INLINE
+ACE_Handle_Set::ACE_Handle_Set (const ACE_Handle_Set &rhs)
+{
+ ACE_TRACE ("ACE_Handle_Set::ACE_Handle_Set");
+
+ if (rhs.size_ > 0)
+ {
+ this->size_ =
+ rhs.size_;
+ this->max_handle_ =
+ rhs.max_handle_;
+ this->min_handle_ =
+ rhs.min_handle_;
+ this->mask_ =
+ rhs.mask_;
+ }
+ else
+ this->reset ();
+}
+
ACE_INLINE ACE_Handle_Set &
ACE_Handle_Set::operator = (const ACE_Handle_Set &rhs)
{