Blame SOURCES/using-std-string.patch

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