| 444 | } |
| 445 | |
| 446 | void buffer::ptr::swap(ptr& other) noexcept |
| 447 | { |
| 448 | raw *r = _raw; |
| 449 | unsigned o = _off; |
| 450 | unsigned l = _len; |
| 451 | _raw = other._raw; |
| 452 | _off = other._off; |
| 453 | _len = other._len; |
| 454 | other._raw = r; |
| 455 | other._off = o; |
| 456 | other._len = l; |
| 457 | } |
| 458 | |
| 459 | void buffer::ptr::release() |
| 460 | { |
no test coverage detected