summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/in_memory/in_memory_record_store.h
diff options
context:
space:
mode:
authorTyler Brock <tyler.brock@gmail.com>2015-02-06 14:29:45 -0500
committerTyler Brock <tyler.brock@gmail.com>2015-02-06 16:37:35 -0500
commitaa9980b8c02de71c6918fba4aba9f22dd10eed01 (patch)
tree3ade9078069c7e1317a8b31c2e1fc427977d7abe /src/mongo/db/storage/in_memory/in_memory_record_store.h
parent3a7675bb6fa110a10be307db3201bfb348cf41cf (diff)
downloadmongo-aa9980b8c02de71c6918fba4aba9f22dd10eed01.tar.gz
SERVER-16940 Change pass-by-const-ref of StringData to pass-by-value
Diffstat (limited to 'src/mongo/db/storage/in_memory/in_memory_record_store.h')
-rw-r--r--src/mongo/db/storage/in_memory/in_memory_record_store.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/in_memory/in_memory_record_store.h b/src/mongo/db/storage/in_memory/in_memory_record_store.h
index a616ad7bfd6..48f62cd96aa 100644
--- a/src/mongo/db/storage/in_memory/in_memory_record_store.h
+++ b/src/mongo/db/storage/in_memory/in_memory_record_store.h
@@ -48,7 +48,7 @@ namespace mongo {
*/
class InMemoryRecordStore : public RecordStore {
public:
- explicit InMemoryRecordStore(const StringData& ns,
+ explicit InMemoryRecordStore(StringData ns,
boost::shared_ptr<void>* dataInOut,
bool isCapped = false,
int64_t cappedMaxSize = -1,