diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-05-19 12:46:52 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-05-19 14:43:05 -0400 |
commit | f2bfd36a6f3eb7e7e2587268be3cc12636703d42 (patch) | |
tree | 6436772fbceb28f07bbfaee528d700159beb0cec /src/mongo/util/processinfo.h | |
parent | c10e8282a7af38f8512e911a14889e14df8a2c6a (diff) | |
download | mongo-f2bfd36a6f3eb7e7e2587268be3cc12636703d42.tar.gz |
SERVER-13256: Remove pch - qualify std in headers
Diffstat (limited to 'src/mongo/util/processinfo.h')
-rw-r--r-- | src/mongo/util/processinfo.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mongo/util/processinfo.h b/src/mongo/util/processinfo.h index 40ca98e8967..d41b085a6eb 100644 --- a/src/mongo/util/processinfo.h +++ b/src/mongo/util/processinfo.h @@ -55,17 +55,17 @@ namespace mongo { /** * Get the type of os (e.g. Windows, Linux, Mac OS) */ - const string& getOsType() const { return sysInfo().osType; } + const std::string& getOsType() const { return sysInfo().osType; } /** * Get the os Name (e.g. Ubuntu, Gentoo, Windows Server 2008) */ - const string& getOsName() const { return sysInfo().osName; } + const std::string& getOsName() const { return sysInfo().osName; } /** * Get the os version (e.g. 10.04, 11.3.0, 6.1 (build 7600)) */ - const string& getOsVersion() const { return sysInfo().osVersion; } + const std::string& getOsVersion() const { return sysInfo().osVersion; } /** * Get the cpu address size (e.g. 32, 36, 64) @@ -90,7 +90,7 @@ namespace mongo { /** * Get the CPU architecture (e.g. x86, x86_64) */ - const string& getArch() const { return sysInfo().cpuArch; } + const std::string& getArch() const { return sysInfo().cpuArch; } /** * Determine if NUMA is enabled (interleaved) for this process @@ -138,7 +138,7 @@ namespace mongo { * * NOTE: requires blockCheckSupported() == true */ - static bool pagesInMemory(const void* start, size_t numPages, vector<char>* out); + static bool pagesInMemory(const void* start, size_t numPages, std::vector<char>* out); private: /** @@ -146,14 +146,14 @@ namespace mongo { */ class SystemInfo { public: - string osType; - string osName; - string osVersion; + std::string osType; + std::string osName; + std::string osVersion; unsigned addrSize; unsigned long long memSize; unsigned numCores; unsigned long long pageSize; - string cpuArch; + std::string cpuArch; bool hasNuma; BSONObj _extraStats; |