diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/db/startup_warnings_mongod.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/db/startup_warnings_mongod.h')
-rw-r--r-- | src/mongo/db/startup_warnings_mongod.h | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/src/mongo/db/startup_warnings_mongod.h b/src/mongo/db/startup_warnings_mongod.h index f53e1ce9daa..b1dbbd21b5c 100644 --- a/src/mongo/db/startup_warnings_mongod.h +++ b/src/mongo/db/startup_warnings_mongod.h @@ -31,30 +31,28 @@ namespace mongo { - struct StorageGlobalParams; +struct StorageGlobalParams; - class StartupWarningsMongod { - private: - StartupWarningsMongod(); +class StartupWarningsMongod { +private: + StartupWarningsMongod(); - public: - /** - * Reads Transparent HugePages kernel parameter in sysfs directory. - * Linux only. - */ - static StatusWith<std::string> readTransparentHugePagesParameter( - const std::string& parameter); +public: + /** + * Reads Transparent HugePages kernel parameter in sysfs directory. + * Linux only. + */ + static StatusWith<std::string> readTransparentHugePagesParameter(const std::string& parameter); - /** - * For testing only. - * Supports alternate directory for transparent huge pages files. - */ - static StatusWith<std::string> readTransparentHugePagesParameter( - const std::string& parameter, - const std::string& directory); - }; + /** + * For testing only. + * Supports alternate directory for transparent huge pages files. + */ + static StatusWith<std::string> readTransparentHugePagesParameter(const std::string& parameter, + const std::string& directory); +}; - // Checks various startup conditions and logs any necessary warnings that - // are specific to the mongod process. - void logMongodStartupWarnings(const StorageGlobalParams& params); -} // namespace mongo +// Checks various startup conditions and logs any necessary warnings that +// are specific to the mongod process. +void logMongodStartupWarnings(const StorageGlobalParams& params); +} // namespace mongo |