summaryrefslogtreecommitdiff
path: root/src/mongo/bson
diff options
context:
space:
mode:
authorKang In Cheol <kangic21@gmail.com>2015-06-29 17:47:30 -0400
committerRamon Fernandez <ramon.fernandez@mongodb.com>2015-06-29 17:49:21 -0400
commit80899bf1c22555ebadd1ac0f2f1553174a86bacf (patch)
treee6314facfa73c199ffb62459cf44199c39804eb1 /src/mongo/bson
parent1e73e73295404c9768d324f981e11ba12eee0c2e (diff)
downloadmongo-80899bf1c22555ebadd1ac0f2f1553174a86bacf.tar.gz
SERVER-18928: replace "mongo/platform/cstdint.h" with <cstdint>
Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com> Closes #988
Diffstat (limited to 'src/mongo/bson')
-rw-r--r--src/mongo/bson/bson_validate.h3
-rw-r--r--src/mongo/bson/bsonelement.h2
-rw-r--r--src/mongo/bson/json.cpp2
-rw-r--r--src/mongo/bson/mutable/damage_vector.h3
-rw-r--r--src/mongo/bson/mutable/document.h2
-rw-r--r--src/mongo/bson/mutable/element.h3
-rw-r--r--src/mongo/bson/timestamp.cpp2
7 files changed, 9 insertions, 8 deletions
diff --git a/src/mongo/bson/bson_validate.h b/src/mongo/bson/bson_validate.h
index 1a55a09e6b6..5497f4c8d82 100644
--- a/src/mongo/bson/bson_validate.h
+++ b/src/mongo/bson/bson_validate.h
@@ -29,9 +29,10 @@
#pragma once
+#include <cstdint>
+
#include "mongo/base/string_data.h"
#include "mongo/bson/bsontypes.h"
-#include "mongo/platform/cstdint.h"
namespace mongo {
class BSONObj;
diff --git a/src/mongo/bson/bsonelement.h b/src/mongo/bson/bsonelement.h
index 92ddf87600a..f2fc5416785 100644
--- a/src/mongo/bson/bsonelement.h
+++ b/src/mongo/bson/bsonelement.h
@@ -30,6 +30,7 @@
#pragma once
#include <cmath>
+#include <cstdint>
#include <string.h> // strlen
#include <string>
#include <vector>
@@ -39,7 +40,6 @@
#include "mongo/bson/bsontypes.h"
#include "mongo/bson/oid.h"
#include "mongo/bson/timestamp.h"
-#include "mongo/platform/cstdint.h"
namespace mongo {
class BSONObj;
diff --git a/src/mongo/bson/json.cpp b/src/mongo/bson/json.cpp
index 5e74b9d9a16..d318a9bc0e8 100644
--- a/src/mongo/bson/json.cpp
+++ b/src/mongo/bson/json.cpp
@@ -29,10 +29,10 @@
#include "mongo/bson/json.h"
+#include <cstdint>
#include "mongo/base/parse_number.h"
#include "mongo/db/jsobj.h"
-#include "mongo/platform/cstdint.h"
#include "mongo/platform/strtoll.h"
#include "mongo/util/base64.h"
#include "mongo/util/hex.h"
diff --git a/src/mongo/bson/mutable/damage_vector.h b/src/mongo/bson/mutable/damage_vector.h
index 1072b4f7ec4..0e0469bb8f2 100644
--- a/src/mongo/bson/mutable/damage_vector.h
+++ b/src/mongo/bson/mutable/damage_vector.h
@@ -27,10 +27,9 @@
#pragma once
+#include <cstdint>
#include <vector>
-#include "mongo/platform/cstdint.h"
-
namespace mongo {
namespace mutablebson {
diff --git a/src/mongo/bson/mutable/document.h b/src/mongo/bson/mutable/document.h
index 30c79f1552b..3a24eac74cc 100644
--- a/src/mongo/bson/mutable/document.h
+++ b/src/mongo/bson/mutable/document.h
@@ -27,6 +27,7 @@
#pragma once
+#include <cstdint>
#include "mongo/base/disallow_copying.h"
#include "mongo/base/string_data.h"
@@ -34,7 +35,6 @@
#include "mongo/bson/mutable/damage_vector.h"
#include "mongo/bson/mutable/element.h"
#include "mongo/db/jsobj.h"
-#include "mongo/platform/cstdint.h"
#include "mongo/util/safe_num.h"
namespace mongo {
diff --git a/src/mongo/bson/mutable/element.h b/src/mongo/bson/mutable/element.h
index 50df2e1b620..673180c0c64 100644
--- a/src/mongo/bson/mutable/element.h
+++ b/src/mongo/bson/mutable/element.h
@@ -27,10 +27,11 @@
#pragma once
+#include <cstdint>
+
#include "mongo/base/status.h"
#include "mongo/base/string_data.h"
#include "mongo/db/jsobj.h"
-#include "mongo/platform/cstdint.h"
#include "mongo/util/safe_num.h"
namespace mongo {
diff --git a/src/mongo/bson/timestamp.cpp b/src/mongo/bson/timestamp.cpp
index 68d63d63e3f..299fd87045f 100644
--- a/src/mongo/bson/timestamp.cpp
+++ b/src/mongo/bson/timestamp.cpp
@@ -28,12 +28,12 @@
#include "mongo/bson/bsontypes.h"
#include "mongo/bson/timestamp.h"
+#include <cstdint>
#include <ctime>
#include <iostream>
#include <limits>
#include <sstream>
-#include "mongo/platform/cstdint.h"
#include "mongo/util/time_support.h"
namespace mongo {