From 3a2f3e8342688b782bdf59432f8c4b6f4ddc0a78 Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Sat, 3 Feb 2007 17:33:41 +0000
Subject: [PATCH] Use forward declaration of THashList

git-svn-id: http://root.cern.ch/svn/root/trunk@17658 27541ba8-7e3a-0410-8455-c3a389f83636
---
 eg/inc/TDatabasePDG.h   | 7 +++----
 eg/src/TDatabasePDG.cxx | 3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/eg/inc/TDatabasePDG.h b/eg/inc/TDatabasePDG.h
index 5741e51da88..9347ce2ee11 100644
--- a/eg/inc/TDatabasePDG.h
+++ b/eg/inc/TDatabasePDG.h
@@ -1,4 +1,4 @@
-// @(#)root/eg:$Name:  $:$Id: TDatabasePDG.h,v 1.12 2006/05/23 04:47:36 brun Exp $
+// @(#)root/eg:$Name:  $:$Id: TDatabasePDG.h,v 1.13 2006/08/24 16:31:21 rdm Exp $
 // Author: Pasha Murat   12/02/99
 
 /*************************************************************************
@@ -15,13 +15,12 @@
 #ifndef ROOT_TParticlePDG
 #include "TParticlePDG.h"
 #endif
-#ifndef ROOT_THashList
-#include "THashList.h"
-#endif
 #ifndef ROOT_TParticleClassPDG
 #include "TParticleClassPDG.h"
 #endif
 
+class THashList;
+
 class TDatabasePDG: public TNamed {
 
 protected:
diff --git a/eg/src/TDatabasePDG.cxx b/eg/src/TDatabasePDG.cxx
index f69aab0da3b..111702b5519 100644
--- a/eg/src/TDatabasePDG.cxx
+++ b/eg/src/TDatabasePDG.cxx
@@ -1,4 +1,4 @@
-// @(#)root/eg:$Name:  $:$Id: TDatabasePDG.cxx,v 1.26 2006/10/20 09:36:47 rdm Exp $
+// @(#)root/eg:$Name:  $:$Id: TDatabasePDG.cxx,v 1.27 2006/11/16 17:17:37 rdm Exp $
 // Author: Pasha Murat   12/02/99
 
 /*************************************************************************
@@ -15,6 +15,7 @@
 
 #include "TROOT.h"
 #include "TEnv.h"
+#include "THashList.h"
 #include "TSystem.h"
 #include "TDatabasePDG.h"
 #include "TDecayChannel.h"
-- 
GitLab