Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
6ba48b33
Commit
6ba48b33
authored
May 11, 2017
by
Samuel Jackson
Browse files
Refs #19522 Change name of parameter
parent
8a02c86d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/DataObjects/inc/MantidDataObjects/PeaksWorkspace.h
View file @
6ba48b33
...
...
@@ -93,9 +93,9 @@ public:
int
getNumberPeaks
()
const
override
;
std
::
string
getConvention
()
const
override
;
void
removePeak
(
int
peakNum
)
override
;
void
addPeak
(
const
Geometry
::
IPeak
&
i
peak
)
override
;
void
addPeak
(
const
Geometry
::
IPeak
&
peak
)
override
;
/// Move a peak object into this peaks workspace
void
addPeak
(
Peak
&&
i
peak
);
void
addPeak
(
Peak
&&
peak
);
Peak
&
getPeak
(
int
peakNum
)
override
;
const
Peak
&
getPeak
(
int
peakNum
)
const
override
;
...
...
Framework/DataObjects/src/PeaksWorkspace.cpp
View file @
6ba48b33
...
...
@@ -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
&&
i
peak
)
{
peaks
.
push_back
(
i
peak
);
}
void
PeaksWorkspace
::
addPeak
(
Peak
&&
peak
)
{
peaks
.
push_back
(
peak
);
}
//---------------------------------------------------------------------------------------------
/** Return a reference to the Peak
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment