]> Creatis software - clitk.git/commitdiff
TVirtualPlugin fix for non x system
authorgueth <gueth>
Fri, 20 May 2011 14:44:49 +0000 (14:44 +0000)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Fri, 26 Jul 2013 06:32:31 +0000 (08:32 +0200)
tests_dav/clitkMergeRootFiles.cxx

index b4b6721fdc7da90b3e0fe2248b21d5ca3aad57d1..cb352bec897f6370e66335c3db2b557205d8ba9e 100644 (file)
 #include "clitkCommon.h"
 #include <string> 
 #include "TROOT.h"
+#include "TPluginManager.h"
 #include "TFile.h"
 #include "TFileMerger.h"
 
 //-----------------------------------------------------------------------------
 int main(int argc, char * argv[]) {
 
+  gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo", "*",
+      "TStreamerInfo", "RIO", "TStreamerInfo()");
+
   // init command line
   GGO(clitkMergeRootFiles, args_info);