https://github.com/root-project/root
Revision ff74d72ebc3eccc5efc1442ef05a966f64681699 authored by Philippe Canal on 17 June 2015, 16:45:30 UTC, committed by Philippe Canal on 17 June 2015, 20:00:00 UTC
Also add TDirectory::TContext::TContext()
for the case where the user does not want to change the current directory but want to make sure
to undo any change to gDirectory that code protected by the TContext may make:
 {
   TDirectory::TContext ctxt;
   f = TFile::Open(....);
 }
1 parent 7749d12
History
Tip revision: ff74d72ebc3eccc5efc1442ef05a966f64681699 authored by Philippe Canal on 17 June 2015, 16:45:30 UTC
Have TDirectory::TContext ctxt(nullptr) set gDirectory to nullptr.
Tip revision: ff74d72

README.md

back to top