Skip to content
Snippets Groups Projects
Commit f8c1982a authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Refs #19522 Change name of parameter

parent 8a02c86d
No related merge requests found
......@@ -93,7 +93,7 @@ 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);
Peak &getPeak(int peakNum) 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
......
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