From 093c99fb5e6b542f1611b51ce32c5c394fce9b3c Mon Sep 17 00:00:00 2001 From: Markus Frank <markus.frank@cern.ch> Date: Thu, 1 Sep 2016 18:19:54 +0000 Subject: [PATCH] Remove boost warning. --- DDG4/include/DDG4/IoStreams.h | 1 + DDG4/plugins/Geant4EventReaderHepMC.cpp | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/DDG4/include/DDG4/IoStreams.h b/DDG4/include/DDG4/IoStreams.h index b221f75c9..c18c73a87 100644 --- a/DDG4/include/DDG4/IoStreams.h +++ b/DDG4/include/DDG4/IoStreams.h @@ -27,6 +27,7 @@ #include <boost/iostreams/detail/ios.hpp> #include <boost/iostreams/detail/path.hpp> #include <boost/iostreams/positioning.hpp> +#include <boost/iostreams/stream.hpp> // Forward declarations class TFile; diff --git a/DDG4/plugins/Geant4EventReaderHepMC.cpp b/DDG4/plugins/Geant4EventReaderHepMC.cpp index 0c6bcda77..69b6c124d 100644 --- a/DDG4/plugins/Geant4EventReaderHepMC.cpp +++ b/DDG4/plugins/Geant4EventReaderHepMC.cpp @@ -17,8 +17,6 @@ #include "DDG4/Geant4InputAction.h" // C/C++ include files -#include <fstream> -#include <boost/iostreams/stream.hpp> /// Namespace for the AIDA detector description toolkit namespace DD4hep { @@ -42,7 +40,7 @@ namespace DD4hep { //typedef boost::iostreams::stream<dd4hep_file_source<TFile*> > in_stream; typedef HepMC::EventStream EventStream; protected: - in_stream m_input; + in_stream m_input; EventStream* m_events; public: /// Initializing constructor -- GitLab