diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2020-03-20 17:48:20 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-25 16:48:45 +0000 |
commit | 599cabff5a9a40370d985addd8ef689c88211b18 (patch) | |
tree | ce9e17e3b87440142e921edfa7408a70edc78dd5 /src/mongo/logv2/log_source.h | |
parent | 33f4d4229df474c3537d113048dfad511b34e32d (diff) | |
download | mongo-599cabff5a9a40370d985addd8ef689c88211b18.tar.gz |
SERVER-43933 open namespace mongo::logv2 C++17 syntax
Diffstat (limited to 'src/mongo/logv2/log_source.h')
-rw-r--r-- | src/mongo/logv2/log_source.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/logv2/log_source.h b/src/mongo/logv2/log_source.h index 7e389bd4548..6d106138c64 100644 --- a/src/mongo/logv2/log_source.h +++ b/src/mongo/logv2/log_source.h @@ -46,8 +46,7 @@ #include "mongo/logv2/log_truncation.h" #include "mongo/util/time_support.h" -namespace mongo { -namespace logv2 { +namespace mongo::logv2 { // Custom logging source that automatically add our set of attributes class LogSource : public boost::log::sources:: @@ -122,6 +121,4 @@ private: boost::log::attributes::mutable_constant<int32_t> _id; }; - -} // namespace logv2 -} // namespace mongo +} // namespace mongo::logv2 |