mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
70 lines
2.4 KiB
Diff
70 lines
2.4 KiB
Diff
diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp
|
|
index b202e05..0255613 100644
|
|
--- a/src/mongo/db/dbwebserver.cpp
|
|
+++ b/src/mongo/db/dbwebserver.cpp
|
|
@@ -67,6 +67,7 @@ namespace mongo {
|
|
using std::map;
|
|
using std::stringstream;
|
|
using std::vector;
|
|
+using std::string;
|
|
|
|
using namespace html;
|
|
|
|
diff --git a/src/mongo/db/matcher/expression_leaf.cpp b/src/mongo/db/matcher/expression_leaf.cpp
|
|
index d562bff..b96a36d 100644
|
|
--- a/src/mongo/db/matcher/expression_leaf.cpp
|
|
+++ b/src/mongo/db/matcher/expression_leaf.cpp
|
|
@@ -202,7 +202,7 @@ void ComparisonMatchExpression::debugString(StringBuilder& debug, int level) con
|
|
}
|
|
|
|
void ComparisonMatchExpression::serialize(BSONObjBuilder* out) const {
|
|
- string opString = "";
|
|
+ std::string opString = "";
|
|
switch (matchType()) {
|
|
case LT:
|
|
opString = "$lt";
|
|
@@ -884,7 +884,7 @@ void BitTestMatchExpression::debugString(StringBuilder& debug, int level) const
|
|
}
|
|
|
|
void BitTestMatchExpression::serialize(BSONObjBuilder* out) const {
|
|
- string opString = "";
|
|
+ std::string opString = "";
|
|
|
|
switch (matchType()) {
|
|
case BITS_ALL_SET:
|
|
diff --git a/src/mongo/db/repl/master_slave.cpp b/src/mongo/db/repl/master_slave.cpp
|
|
index 05faad1..7fbc062 100644
|
|
--- a/src/mongo/db/repl/master_slave.cpp
|
|
+++ b/src/mongo/db/repl/master_slave.cpp
|
|
@@ -81,6 +81,7 @@ using std::set;
|
|
using std::stringstream;
|
|
using std::unique_ptr;
|
|
using std::vector;
|
|
+using std::string;
|
|
|
|
namespace mongo {
|
|
namespace repl {
|
|
diff --git a/src/mongo/shell/bench.cpp b/src/mongo/shell/bench.cpp
|
|
index 040002f..cb0f6f4 100644
|
|
--- a/src/mongo/shell/bench.cpp
|
|
+++ b/src/mongo/shell/bench.cpp
|
|
@@ -78,6 +78,7 @@ namespace mongo {
|
|
using std::unique_ptr;
|
|
using std::cout;
|
|
using std::map;
|
|
+using std::string;
|
|
|
|
const std::map<OpType, std::string> opTypeName{{OpType::NONE, "none"},
|
|
{OpType::NOP, "nop"},
|
|
diff --git a/src/mongo/util/net/miniwebserver.cpp b/src/mongo/util/net/miniwebserver.cpp
|
|
index 5f4165d..7a7d071 100644
|
|
--- a/src/mongo/util/net/miniwebserver.cpp
|
|
+++ b/src/mongo/util/net/miniwebserver.cpp
|
|
@@ -47,6 +47,7 @@ namespace mongo {
|
|
using std::shared_ptr;
|
|
using std::stringstream;
|
|
using std::vector;
|
|
+using std::string;
|
|
|
|
MiniWebServer::MiniWebServer(const string& name, const string& ip, int port, ServiceContext* ctx)
|
|
: Listener(name, ip, port, ctx, false, false) {}
|