aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb/fix-std-string.patch
blob: f2807a83f8383da26bd856f98015ece30b3fed37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- mongodb-src-r3.4.7/src/mongo/db/dbwebserver.cpp.orig
+++ mongodb-src-r3.4.7/src/mongo/db/dbwebserver.cpp
@@ -67,6 +67,7 @@
 using std::map;
 using std::stringstream;
 using std::vector;
+using std::string;
 
 using namespace html;
 
--- mongodb-src-r3.4.7/src/mongo/db/repl/master_slave.cpp.orig
+++ mongodb-src-r3.4.7/src/mongo/db/repl/master_slave.cpp
@@ -78,6 +78,7 @@
 using std::max;
 using std::min;
 using std::set;
+using std::string;
 using std::stringstream;
 using std::unique_ptr;
 using std::vector;
--- mongodb-src-r3.4.7/src/mongo/db/matcher/expression_leaf.cpp.orig
+++ mongodb-src-r3.4.7/src/mongo/db/matcher/expression_leaf.cpp
@@ -46,6 +46,8 @@
 
 namespace mongo {
 
+using std::string;
+
 Status LeafMatchExpression::setPath(StringData path) {
     _path = path;
     return _elementPath.init(_path);
--- mongodb-src-r3.4.7/src/mongo/util/net/miniwebserver.cpp.orig
+++ mongodb-src-r3.4.7/src/mongo/util/net/miniwebserver.cpp
@@ -45,6 +45,7 @@
 namespace mongo {
 
 using std::shared_ptr;
+using std::string;
 using std::stringstream;
 using std::vector;
 
--- mongodb-src-r3.4.7/src/mongo/shell/bench.cpp.orig
+++ mongodb-src-r3.4.7/src/mongo/shell/bench.cpp
@@ -78,6 +78,7 @@
 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"},