Skip to content

Commit

Permalink
Merge pull request #16963 from civanch/fix_gcc620_warning
Browse files Browse the repository at this point in the history
Fixed gcc620 warning in OscarProducer
  • Loading branch information
cmsbuild committed Dec 11, 2016
2 parents 8aef8d9 + 67614d4 commit 5478e54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions SimG4Core/Application/plugins/OscarMTProducer.cc
Expand Up @@ -55,7 +55,6 @@ namespace {
StaticRandomEngineSetUnset(edm::StreamID const&);
explicit StaticRandomEngineSetUnset(CLHEP::HepRandomEngine * engine);
~StaticRandomEngineSetUnset();
CLHEP::HepRandomEngine* getEngine() const;
private:
CLHEP::HepRandomEngine* m_currentEngine;
CLHEP::HepRandomEngine* m_previousEngine;
Expand Down Expand Up @@ -262,9 +261,4 @@ StaticRandomEngineSetUnset::~StaticRandomEngineSetUnset()
G4Random::setTheEngine(m_previousEngine);
}

CLHEP::HepRandomEngine* StaticRandomEngineSetUnset::getEngine() const
{
return m_currentEngine;
}

DEFINE_FWK_MODULE(OscarMTProducer);
6 changes: 0 additions & 6 deletions SimG4Core/Application/plugins/OscarProducer.cc
Expand Up @@ -53,7 +53,6 @@ namespace {
StaticRandomEngineSetUnset(edm::StreamID const&);
explicit StaticRandomEngineSetUnset(CLHEP::HepRandomEngine * engine);
~StaticRandomEngineSetUnset();
CLHEP::HepRandomEngine* getEngine() const;
private:
CLHEP::HepRandomEngine* m_currentEngine;
CLHEP::HepRandomEngine* m_previousEngine;
Expand Down Expand Up @@ -257,9 +256,4 @@ StaticRandomEngineSetUnset::~StaticRandomEngineSetUnset()
G4Random::setTheEngine(m_previousEngine);
}

CLHEP::HepRandomEngine* StaticRandomEngineSetUnset::getEngine() const
{
return m_currentEngine;
}

DEFINE_FWK_MODULE(OscarProducer);

0 comments on commit 5478e54

Please sign in to comment.