| 222 | } |
| 223 | |
| 224 | void swap(TBlob& left, TBlob& right) |
| 225 | { |
| 226 | if (&left != &right) { |
| 227 | std::swap(left.Begin_, right.Begin_); |
| 228 | std::swap(left.Size_, right.Size_); |
| 229 | std::swap(left.Capacity_, right.Capacity_); |
| 230 | std::swap(left.PageAligned_, right.PageAligned_); |
| 231 | #ifdef YT_ENABLE_REF_COUNTED_TRACKING |
| 232 | std::swap(left.TagCookie_, right.TagCookie_); |
| 233 | #endif |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | //////////////////////////////////////////////////////////////////////////////// |
| 238 |
no outgoing calls
no test coverage detected