| 137 | } // namespace |
| 138 | |
| 139 | void FdHolder::reset() noexcept { |
| 140 | if (likely(ok())) { |
| 141 | if (likely(!isSpecialFd(Fd))) { |
| 142 | ::close(Fd); |
| 143 | } |
| 144 | Fd = -1; |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | void TimerHolder::reset() noexcept { |
| 149 | if (likely(Id.has_value())) { |
nothing calls this directly
no test coverage detected