Searched refs:restore_ (Results 1 – 2 of 2) sorted by relevance
388 EnvValue(const char *name, const char *value) : name_(name), restore_(false) { in EnvValue()391 restore_ = true; in EnvValue()397 if (restore_) { in ~EnvValue()405 bool restore_; variable
3975 T &restore_; member in __anon83e745c00411::save_value3979 save_value(T &restore) : restore_(restore), original_value_(restore) {} in save_value()3981 ~save_value() { restore_ = std::move(original_value_); } in ~save_value()