Skip to content
Snippets Groups Projects
Commit a9d185c0 authored by Rene Brun's avatar Rene Brun
Browse files

-Replace the calls to TVirtualIO by new calls in TBuffer or TDirectory

git-svn-id: http://root.cern.ch/svn/root/trunk@17548 27541ba8-7e3a-0410-8455-c3a389f83636
parent 68f7453e
No related branches found
No related tags found
No related merge requests found
// @(#)root/base:$Name: $:$Id: TFolder.cxx,v 1.27 2007/01/23 09:45:08 brun Exp $
// @(#)root/base:$Name: $:$Id: TFolder.cxx,v 1.28 2007/01/25 11:47:53 brun Exp $
// Author: Rene Brun 02/09/2000
/*************************************************************************
......@@ -85,7 +85,6 @@
#include "TClass.h"
#include "TError.h"
#include "TRegexp.h"
#include "TVirtualIO.h"
static const char *gFolderD[64];
static Int_t gFolderLevel = -1;
......@@ -417,7 +416,7 @@ void TFolder::SaveAs(const char *filename, Option_t *option) const
// Each object in this folder will have a key in the file where the name of
// the key will be the name of the object.
TVirtualIO::GetIO()->SaveObjectAs(this,filename,option);
if (gDirectory) gDirectory->SaveObjectAs(this,filename,option);
}
//______________________________________________________________________________
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment