summaryrefslogtreecommitdiff
path: root/src/mongo/bson/util/bson_extract.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/util/bson_extract.h')
-rw-r--r--src/mongo/bson/util/bson_extract.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/bson/util/bson_extract.h b/src/mongo/bson/util/bson_extract.h
index 4dad3473377..8be7e0393ed 100644
--- a/src/mongo/bson/util/bson_extract.h
+++ b/src/mongo/bson/util/bson_extract.h
@@ -29,13 +29,13 @@
#pragma once
+#include <functional>
#include <string>
#include <vector>
#include "mongo/base/status.h"
#include "mongo/base/string_data.h"
#include "mongo/bson/bsontypes.h"
-#include "mongo/stdx/functional.h"
namespace mongo {
@@ -216,14 +216,14 @@ Status bsonExtractOIDFieldWithDefault(const BSONObj& object,
Status bsonExtractIntegerFieldWithDefaultIf(const BSONObj& object,
StringData fieldName,
long long defaultValue,
- stdx::function<bool(long long)> pred,
+ std::function<bool(long long)> pred,
const std::string& predDescription,
long long* out);
Status bsonExtractIntegerFieldWithDefaultIf(const BSONObj& object,
StringData fieldName,
long long defaultValue,
- stdx::function<bool(long long)> pred,
+ std::function<bool(long long)> pred,
long long* out);
} // namespace mongo