| 163 | ml.mu_ = nullptr; |
| 164 | } |
| 165 | ~mutex_lock() UNLOCK_FUNCTION() { |
| 166 | if (mu_ != nullptr) { |
| 167 | mu_->unlock(); |
| 168 | } |
| 169 | } |
| 170 | mutex_type* mutex() { return mu_; } |
| 171 | |
| 172 | explicit operator bool() const { return mu_ != nullptr; } |
no test coverage detected