Skip to content
Snippets Groups Projects
Commit b336d8d6 authored by Joerg Stelzer's avatar Joerg Stelzer
Browse files

attempt to fix compilation error due to preprocessing

git-svn-id: http://root.cern.ch/svn/root/trunk@34011 27541ba8-7e3a-0410-8455-c3a389f83636
parent f5a0179f
No related branches found
No related tags found
No related merge requests found
...@@ -211,7 +211,7 @@ namespace TMVA { ...@@ -211,7 +211,7 @@ namespace TMVA {
public: // these two need to be public, they are used to read in-memory weight-files public: // these two need to be public, they are used to read in-memory weight-files
void ReadStateFromStream ( std::istream& tf ); // backward compatibility void ReadStateFromStream ( std::istream& tf ); // backward compatibility
void ReadStateFromStream ( TFile& rf ); // backward compatibility void ReadStateFromStream ( TFile& rf ); // backward compatibility
#if ROOT_SVN_REVISION >= 32259 && (ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0)) #if (ROOT_SVN_REVISION >= 32259) && (ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0))
void ReadStateFromXMLString( const char* xmlstr ); // for reading from memory void ReadStateFromXMLString( const char* xmlstr ); // for reading from memory
#endif #endif
......
...@@ -86,7 +86,8 @@ namespace TMVA { ...@@ -86,7 +86,8 @@ namespace TMVA {
// book MVA method via weight file // book MVA method via weight file
IMethod* BookMVA( const TString& methodTag, const TString& weightfile ); IMethod* BookMVA( const TString& methodTag, const TString& weightfile );
#if ROOT_SVN_REVISION >= 32259 #if (ROOT_SVN_REVISION >= 32259) && (ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0))
IMethod* BookMVA( TMVA::Types::EMVA methodType, const char* xmlstr ); IMethod* BookMVA( TMVA::Types::EMVA methodType, const char* xmlstr );
#endif #endif
IMethod* FindMVA( const TString& methodTag ); IMethod* FindMVA( const TString& methodTag );
......
...@@ -398,7 +398,7 @@ TMVA::IMethod* TMVA::Reader::BookMVA( TMVA::Types::EMVA methodType, const TStrin ...@@ -398,7 +398,7 @@ TMVA::IMethod* TMVA::Reader::BookMVA( TMVA::Types::EMVA methodType, const TStrin
return method; return method;
} }
#if ROOT_SVN_REVISION >= 32259 && (ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0)) #if (ROOT_SVN_REVISION >= 32259) && (ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0))
//_______________________________________________________________________ //_______________________________________________________________________
TMVA::IMethod* TMVA::Reader::BookMVA( TMVA::Types::EMVA methodType, const char* xmlstr ) TMVA::IMethod* TMVA::Reader::BookMVA( TMVA::Types::EMVA methodType, const char* xmlstr )
{ {
......
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