Commit 7b9b114e authored by Karl Palmen's avatar Karl Palmen
Browse files

Replaced references to protected members with function calls. Re #4137



Signed-off-by: default avatarKarl Palmen <karl.palmen@stfc.ac.uk>
parent 3a293c44
......@@ -256,8 +256,8 @@ namespace DataObjects
for (size_t i=0; i < peaks.size(); i++)
{
Peak p = peaks[i];
detectorID.push_back( p.m_DetectorID ); //Protected member of Peak.h not accessible here
H.push_back( p.m_H ); //Protected member of Peak.h not accessible here
detectorID.push_back( p.getDetectorID() );
H.push_back( p.getH() );
// etc.
}
file->writeData("detector_id", detectorID);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment