diff options
author | Steve Huston <shuston@riverace.com> | 2022-03-16 20:03:19 -0400 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2022-03-16 20:03:19 -0400 |
commit | 45937f8008fc7f9d0978549a945ecb9f20eac8b7 (patch) | |
tree | ab861402a25b3baaa2cbaed54526137043d024a2 | |
parent | 6397aab352c1f7758c28131edec921ece3f6819b (diff) | |
download | ATCD-45937f8008fc7f9d0978549a945ecb9f20eac8b7.tar.gz |
Move ACE_Handle_Set copy ctor to inl
-rw-r--r-- | ACE/ace/Handle_Set.cpp | 22 | ||||
-rw-r--r-- | ACE/ace/Handle_Set.inl | 20 |
2 files changed, 20 insertions, 22 deletions
diff --git a/ACE/ace/Handle_Set.cpp b/ACE/ace/Handle_Set.cpp index 7e8e9862e07..0be33d35c59 100644 --- a/ACE/ace/Handle_Set.cpp +++ b/ACE/ace/Handle_Set.cpp @@ -109,28 +109,6 @@ ACE_Handle_Set::ACE_Handle_Set (const fd_set &fd_mask) #endif /* !ACE_WIN32 */ } -#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 (); -} -#endif /* ACE_HAS_BIG_FD_SET */ - // Counts the number of bits enabled in N. Uses a table lookup to // speed up the count. 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) { |