Home
last modified time | relevance | path

Searched refs:active_ (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/private/
DScopeGuard.h26 ScopeGuard(F f) : f_(f), active_(true) {} in ScopeGuard()
28 ScopeGuard(ScopeGuard&& that) : f_(that.f_), active_(that.active_) { in ScopeGuard()
29 that.active_ = false; in ScopeGuard()
33 if (active_) { in ~ScopeGuard()
39 active_ = false; in disable()
43 bool active_; variable