Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 3143a52

Browse files
authored
Merge pull request #157 from mingzhe09088/fix-pessimizing-move
Fix compilation issue: prevents copy elision
2 parents 7b80791 + 6d923ad commit 3143a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_harness.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ struct TestHarness {
393393
test->Check();
394394
}
395395

396-
return std::move(test);
396+
return test;
397397
}
398398

399399
static void RunGradient(Workspace& w, const OperatorDef& def) {

0 commit comments

Comments
 (0)