Skip to content
Snippets Groups Projects
Commit 4a758eff authored by Philippe Canal's avatar Philippe Canal
Browse files

Prevent issues when including TSchemaHelper.h before both RTypes.h and TGenericClassInfo.h:

remove all trace of Get/SetFun
(See comments in the header file for details).


git-svn-id: http://root.cern.ch/svn/root/trunk@42145 27541ba8-7e3a-0410-8455-c3a389f83636
parent b03d3b70
No related branches found
No related tags found
No related merge requests found
// @(#)root/core:$Id$
// author: Lukasz Janyst <ljanyst@cern.ch>
#ifndef ROOT_TSchemaHelper
#define ROOT_TSchemaHelper
/*************************************************************************
* Copyright (C) 1995-2010, Rene Brun, Fons Rademakers and al. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#include <string>
// This include must be outside of the code guard because
// Rtypes.h includes TGenericClassInfo.h which includes
// TSchemaHelper.h (this header file) and really need the
// definition of ROOT::TSchemaHelper. So in this case,
// we need the indirect #include to really do the declaration
// and the direct #include to be a noop.
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_TSchemaHelper
#define ROOT_TSchemaHelper
#include <string>
namespace ROOT
{
struct TSchemaHelper
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment