diff options
Diffstat (limited to 'src/mongo/bson/util/bson_extract.h')
-rw-r--r-- | src/mongo/bson/util/bson_extract.h | 6 |
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 |