Skip to content
Snippets Groups Projects
Unverified Commit 576ca0d7 authored by Pete Peterson's avatar Pete Peterson Committed by GitHub
Browse files

Merge pull request #22379 from martyngigg/apple-clang-9-warnings

Fix pessimizing-move warnings from Apple Clang 9
parents bea2a8c2 d09eca62
No related branches found
No related tags found
No related merge requests found
......@@ -587,7 +587,7 @@ public:
ReflectometryReductionOne2 alg;
auto inputWS = MatrixWorkspace_sptr(std::move(m_multiDetectorWS->clone()));
auto inputWS = MatrixWorkspace_sptr(m_multiDetectorWS->clone());
setYValuesToWorkspace(*inputWS);
alg.setChild(true);
......@@ -631,7 +631,7 @@ public:
ReflectometryReductionOne2 alg;
auto inputWS = MatrixWorkspace_sptr(std::move(m_multiDetectorWS->clone()));
auto inputWS = MatrixWorkspace_sptr(m_multiDetectorWS->clone());
setYValuesToWorkspace(*inputWS);
alg.setChild(true);
......
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