Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
f8c1982a
Commit
f8c1982a
authored
7 years ago
by
Samuel Jackson
Browse files
Options
Downloads
Patches
Plain Diff
Refs #19522 Change name of parameter
parent
8a02c86d
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/DataObjects/inc/MantidDataObjects/PeaksWorkspace.h
+1
-1
1 addition, 1 deletion
Framework/DataObjects/inc/MantidDataObjects/PeaksWorkspace.h
Framework/DataObjects/src/PeaksWorkspace.cpp
+1
-1
1 addition, 1 deletion
Framework/DataObjects/src/PeaksWorkspace.cpp
with
2 additions
and
2 deletions
Framework/DataObjects/inc/MantidDataObjects/PeaksWorkspace.h
+
1
−
1
View file @
f8c1982a
...
...
@@ -93,7 +93,7 @@ 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
&&
ipeak
);
Peak
&
getPeak
(
int
peakNum
)
override
;
...
...
This diff is collapsed.
Click to expand it.
Framework/DataObjects/src/PeaksWorkspace.cpp
+
1
−
1
View file @
f8c1982a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment