summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/server_status.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 12:46:52 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 14:43:05 -0400
commitf2bfd36a6f3eb7e7e2587268be3cc12636703d42 (patch)
tree6436772fbceb28f07bbfaee528d700159beb0cec /src/mongo/db/commands/server_status.h
parentc10e8282a7af38f8512e911a14889e14df8a2c6a (diff)
downloadmongo-f2bfd36a6f3eb7e7e2587268be3cc12636703d42.tar.gz
SERVER-13256: Remove pch - qualify std in headers
Diffstat (limited to 'src/mongo/db/commands/server_status.h')
-rw-r--r--src/mongo/db/commands/server_status.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/commands/server_status.h b/src/mongo/db/commands/server_status.h
index b6313f28eba..adf761cc5a6 100644
--- a/src/mongo/db/commands/server_status.h
+++ b/src/mongo/db/commands/server_status.h
@@ -40,10 +40,10 @@ namespace mongo {
class ServerStatusSection {
public:
- ServerStatusSection( const string& sectionName );
+ ServerStatusSection( const std::string& sectionName );
virtual ~ServerStatusSection(){}
- const string& getSectionName() const { return _sectionName; }
+ const std::string& getSectionName() const { return _sectionName; }
/**
* if this returns true, if the user doesn't mention this section
@@ -77,12 +77,12 @@ namespace mongo {
virtual BSONObj generateSection(const BSONElement& configElement) const = 0;
private:
- const string _sectionName;
+ const std::string _sectionName;
};
class OpCounterServerStatusSection : public ServerStatusSection {
public:
- OpCounterServerStatusSection( const string& sectionName, OpCounters* counters );
+ OpCounterServerStatusSection( const std::string& sectionName, OpCounters* counters );
virtual bool includeByDefault() const { return true; }
virtual BSONObj generateSection(const BSONElement& configElement) const;