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/logger/encoder.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/logger/encoder.h')
-rw-r--r-- | src/mongo/logger/encoder.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mongo/logger/encoder.h b/src/mongo/logger/encoder.h index 4945863ceaf..80be7b696fb 100644 --- a/src/mongo/logger/encoder.h +++ b/src/mongo/logger/encoder.h @@ -32,18 +32,18 @@ namespace mongo { namespace logger { - /** - * Interface for objects that encode Events to std::ostreams. - * - * Most appender implementations write to streams, and Encoders represent the process of - * encoding events into streams. - */ - template <typename Event> - class Encoder { - public: - virtual ~Encoder() {} - virtual std::ostream& encode(const Event& event, std::ostream& os) = 0; - }; +/** + * Interface for objects that encode Events to std::ostreams. + * + * Most appender implementations write to streams, and Encoders represent the process of + * encoding events into streams. + */ +template <typename Event> +class Encoder { +public: + virtual ~Encoder() {} + virtual std::ostream& encode(const Event& event, std::ostream& os) = 0; +}; } // namespace logger } // nnamspace mongo |