Searched defs:CWDGuard (Results 1 – 2 of 2) sorted by relevance
27 struct CWDGuard { struct29 CWDGuard() : OldCWD(fs::current_path()) { } in CWDGuard() function30 ~CWDGuard() { fs::current_path(OldCWD); } in ~CWDGuard() argument
419 struct CWDGuard { struct421 CWDGuard() : oldCwd_(utils::getcwd()) { } in CWDGuard() argument422 ~CWDGuard() { in ~CWDGuard() argument428 CWDGuard& operator=(CWDGuard const&) = delete; argument