summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/sort_key_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/sort_key_generator.cpp')
-rw-r--r--src/mongo/db/index/sort_key_generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/sort_key_generator.cpp b/src/mongo/db/index/sort_key_generator.cpp
index 7f9bd3dd018..768e2258e2e 100644
--- a/src/mongo/db/index/sort_key_generator.cpp
+++ b/src/mongo/db/index/sort_key_generator.cpp
@@ -79,7 +79,7 @@ SortKeyGenerator::SortKeyGenerator(const BSONObj& sortSpec, const CollatorInterf
}
constexpr bool isSparse = false;
- _indexKeyGen = stdx::make_unique<BtreeKeyGenerator>(fieldNames, fixed, isSparse, _collator);
+ _indexKeyGen = std::make_unique<BtreeKeyGenerator>(fieldNames, fixed, isSparse, _collator);
}
StatusWith<BSONObj> SortKeyGenerator::getSortKey(const BSONObj& obj,