diff --git a/Framework/Algorithms/test/ReflectometryReductionOne2Test.h b/Framework/Algorithms/test/ReflectometryReductionOne2Test.h index cc52d1b307dd8c9a762b2a88848c86898288a34e..f27921b3b5dd1985bb06c52bd23e03a3188e3980 100644 --- a/Framework/Algorithms/test/ReflectometryReductionOne2Test.h +++ b/Framework/Algorithms/test/ReflectometryReductionOne2Test.h @@ -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);