summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2016-08-18 14:04:26 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2016-08-18 14:04:26 -0400
commitceeb17e4265c4c48765acbf9ad6a60b5f1889332 (patch)
treee6d5dfa705dd46a1ba0914d170e96e9db821c4ef /src/mongo/s
parentf5821cbc18c7270a63634bb4080375d165464939 (diff)
downloadmongo-ceeb17e4265c4c48765acbf9ad6a60b5f1889332.tar.gz
SERVER-25384 fixing asan build error for copy elision in scoped_migration_request_test.cpp
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/balancer/scoped_migration_request_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/balancer/scoped_migration_request_test.cpp b/src/mongo/s/balancer/scoped_migration_request_test.cpp
index cc2a956e70b..e7bc010c654 100644
--- a/src/mongo/s/balancer/scoped_migration_request_test.cpp
+++ b/src/mongo/s/balancer/scoped_migration_request_test.cpp
@@ -89,7 +89,7 @@ ScopedMigrationRequest ScopedMigrationRequestTest::makeScopedMigrationRequest(
checkMigrationsCollectionForDocument(migrateInfo.getName(), 1);
- return std::move(scopedMigrationRequest);
+ return scopedMigrationRequest;
}
MigrateInfo makeMigrateInfo() {