diff options
Diffstat (limited to 'src/mongo/db/storage/index_entry_comparison.h')
-rw-r--r-- | src/mongo/db/storage/index_entry_comparison.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/storage/index_entry_comparison.h b/src/mongo/db/storage/index_entry_comparison.h index a8c0f18561b..649333a36ab 100644 --- a/src/mongo/db/storage/index_entry_comparison.h +++ b/src/mongo/db/storage/index_entry_comparison.h @@ -35,6 +35,7 @@ #include "mongo/bson/simple_bsonobj_comparator.h" #include "mongo/db/jsobj.h" +#include "mongo/db/namespace_string.h" #include "mongo/db/record_id.h" namespace mongo { @@ -209,7 +210,7 @@ private: * Returns the formatted error status about the duplicate key. */ Status buildDupKeyErrorStatus(const BSONObj& key, - const std::string& collectionNamespace, + const NamespaceString& collectionNamespace, const std::string& indexName, const BSONObj& keyPattern); |