Skip to content
Snippets Groups Projects
Commit f7feb7cb authored by Marco Clemencic's avatar Marco Clemencic
Browse files

GAUDI-1082: Fixed compilation with CLHEP 2 after merge request !7

parent c062cbed
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,9 @@ Package: GaudiSvc
Package manager : Marco Clemencic
Commit Id: $Format:%H$
! 2015-09-14 - Marco Clemencic
- GAUDI-1082: Fixed compilation with CLHEP 2 after "modernization changes".
! 2015-09-09 - Gerhard Raven and Benedikt Hegner
- C++11 modernization changes
o prefer !.emtpy() over .size()!=0
......
......@@ -6,7 +6,7 @@
// Author : M.Frank
// History :
// +---------+----------------------------------------------+---------
// | Date | Comment | Who
// | Date | Comment | Who
// +---------+----------------------------------------------+---------
// | 29/10/99| Initial version | MF
// +---------+----------------------------------------------+---------
......@@ -39,7 +39,7 @@ namespace HepRndm {
double rndm() const override { return m_hepEngine->flat(); }
StatusCode finalize() override {
if (m_hepEngine) HepRandom::setTheEngine(nullptr);
if (m_hepEngine) CLHEP::HepRandom::setTheEngine(nullptr);
m_hepEngine.reset();
return RndmEngine::finalize();
}
......
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