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

Merge branch 'GAUDI-1099' into 'master'

fix GAUDI-1099

std::stol is more aggressive than ::strtol when given bad input. This results in Boole failing in the LHCb nightly builds. See GAUDI-1099.

See merge request !31
parents c1d7111d 260e1ae7
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ RootHistCnv::RDirectoryCnv::fillObjRefs(IOpaqueAddress* pAddr,DataObject* pObj)
std::string title = obj->GetTitle();
std::string sid = obj->GetName();
std::string f2 = full + "/" + sid;
int idh = std::stol( sid );
int idh = std::stol( sid.substr(sid.find_first_of("0123456789")) );
// introduced by Grigori Rybkine
std::string clname = key->GetClassName();
std::string clnm = clname.substr(0,3);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment