Skip to content

Revert "BUG: Use std::forward instead of std::move on forwarding references"#5963

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:mainfrom
hjmjohnson:revert-forward-move
Mar 17, 2026
Merged

Revert "BUG: Use std::forward instead of std::move on forwarding references"#5963
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:mainfrom
hjmjohnson:revert-forward-move

Conversation

@hjmjohnson
Copy link
Copy Markdown
Member

@hjmjohnson hjmjohnson commented Mar 17, 2026

This reverts commit 14c265b.

The tests are just testing move-semantics

PR Checklist

@hjmjohnson hjmjohnson requested a review from N-Dekker March 17, 2026 14:43
@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Core Issues affecting the Core module labels Mar 17, 2026
@N-Dekker
Copy link
Copy Markdown
Contributor

Thanks, Hans.

Please note that the commit message is incorrect, as it says:

The tests are testing for failures that should occur, but that scan-build identifies as dangerous.

Instead, these tests are just testing move-semantics!

…rences"

This reverts commit 14c265b.

The tests are testing move-semantics.
@hjmjohnson hjmjohnson force-pushed the revert-forward-move branch from 3059fc5 to a7c99c7 Compare March 17, 2026 15:16
Copy link
Copy Markdown
Contributor

@N-Dekker N-Dekker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Hans 👍

@hjmjohnson hjmjohnson merged commit 2a1ebd4 into InsightSoftwareConsortium:main Mar 17, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants