Skip to content

Commit a034712

Browse files
committed
satisfy cppcheck - remove std::move to allow for nrvo
1 parent 2ef33ff commit a034712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Kernel/src/FilteredTimeSeriesProperty.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Kernel::TimeROI *FilteredTimeSeriesProperty<TYPE>::intersectFilterWithOther(cons
413413
auto roi = new TimeROI(*m_filter.get());
414414
if (other && (!other->useAll()))
415415
roi->update_or_replace_intersection(*other);
416-
return std::move(roi);
416+
return roi;
417417
}
418418

419419
template <typename TYPE> const Kernel::TimeROI &FilteredTimeSeriesProperty<TYPE>::getTimeROI() const {

0 commit comments

Comments
 (0)