diff options
author | gabime <gmelman1@gmail.com> | 2018-06-10 22:59:17 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2018-06-10 22:59:17 +0300 |
commit | a21594bec79ff5d47e4dc58e7c3c99f28470b879 (patch) | |
tree | 4282ab2666399f5ade3b5a00f0982dafcfd8b85c /include/spdlog/formatter.h | |
parent | 7d975de1937ee331f4a7840815107717d95088c7 (diff) |
move underscores to the end of private members
Diffstat (limited to 'include/spdlog/formatter.h')
-rw-r--r-- | include/spdlog/formatter.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/spdlog/formatter.h b/include/spdlog/formatter.h index 3f4951d3..937625f2 100644 --- a/include/spdlog/formatter.h +++ b/include/spdlog/formatter.h @@ -33,10 +33,9 @@ public: void format(details::log_msg &msg) override; private: - const std::string _eol; - const std::string _pattern; - const pattern_time_type _pattern_time; - std::vector<std::unique_ptr<details::flag_formatter>> _formatters; + const std::string eol_; + const pattern_time_type pattern_time_; + std::vector<std::unique_ptr<details::flag_formatter>> formatters_; std::tm get_time(details::log_msg &msg); void handle_flag(char flag); void compile_pattern(const std::string &pattern); |