summaryrefslogtreecommitdiff
path: root/src/mongo/s/mock_multi_write_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/mock_multi_write_command.h')
-rw-r--r--src/mongo/s/mock_multi_write_command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/mock_multi_write_command.h b/src/mongo/s/mock_multi_write_command.h
index 726bf0c9eeb..95ab98a5f25 100644
--- a/src/mongo/s/mock_multi_write_command.h
+++ b/src/mongo/s/mock_multi_write_command.h
@@ -102,7 +102,7 @@ namespace mongo {
}
void addCommand( const ConnectionString& endpoint,
- const StringData& dbName,
+ StringData dbName,
const BSONSerializable& request ) {
_pending.push_back( endpoint );
}