Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_session.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-09-06 20:46:06 +0200
committerMartin Hořeňovský2026-09-06 20:46:11 +0200
commit15db9be53067d66ecd11a7ddd3097d412047130a (patch)
tree31cf2c06a1100db239390d69bd5e0752ca72eb9c /src/catch2/catch_session.cpp
parent5fe473f202a322ab10ee10bf64fcae63593286cf (diff)
downloadcatch3-15db9be53067d66ecd11a7ddd3097d412047130a.tar.gz
Move-enable createShard
This is _technically_ a performance improvement, but in actuality it is a tiny cleanup so it stops bothering me.
Diffstat (limited to 'src/catch2/catch_session.cpp')
-rw-r--r--src/catch2/catch_session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp
index bf14d23b..503da14f 100644
--- a/src/catch2/catch_session.cpp
+++ b/src/catch2/catch_session.cpp
@@ -103,7 +103,7 @@ namespace Catch {
}
}
- m_tests = createShard(m_tests, m_config->shardCount(), m_config->shardIndex());
+ m_tests = createShard(CATCH_MOVE(m_tests), m_config->shardCount(), m_config->shardIndex());
}
Totals execute() {