- TC71: REGR: copy object leads to fatal error and unknown exception
< anInputFileStream>>aLocalPersistentID;
---
> std::ostrstream anOutputStream;
> anInputFileStream >> anOutputStream.rdbuf();
> aLocalPersistentID = anOutputStream.str();
{
std::string aCopyPersist = aTmpDir + "copy_persistent";
std::ifstream anInputFileStream(aCopyPersist.c_str());
- anInputFileStream>>aLocalPersistentID;
+ std::ostrstream anOutputStream;
+ anInputFileStream >> anOutputStream.rdbuf();
+ aLocalPersistentID = anOutputStream.str();
anInputFileStream.close();
}