Commit 6ba48b33 authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Refs #19522 Change name of parameter

parent 8a02c86d
......@@ -93,9 +93,9 @@ public:
int getNumberPeaks() const override;
std::string getConvention() const override;
void removePeak(int peakNum) override;
void addPeak(const Geometry::IPeak &ipeak) override;
void addPeak(const Geometry::IPeak &peak) override;
/// Move a peak object into this peaks workspace
void addPeak(Peak &&ipeak);
void addPeak(Peak &&peak);
Peak &getPeak(int peakNum) override;
const Peak &getPeak(int peakNum) const override;
......
......@@ -165,7 +165,7 @@ void PeaksWorkspace::addPeak(const Geometry::IPeak &ipeak) {
/** Add a peak to the list
* @param ipeak :: Peak object to add (move) into this.
*/
void PeaksWorkspace::addPeak(Peak &&ipeak) { peaks.push_back(ipeak); }
void PeaksWorkspace::addPeak(Peak &&peak) { peaks.push_back(peak); }
//---------------------------------------------------------------------------------------------
/** Return a reference to the Peak
......
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