From 7e09f018477b73f0a75c8c9c21302f2db8776892 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Wed, 31 May 2017 13:12:21 -0400 Subject: [PATCH] brace styling --- include/spdlog/details/pattern_formatter_impl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spdlog/details/pattern_formatter_impl.h b/include/spdlog/details/pattern_formatter_impl.h index f17f90f8..81835618 100644 --- a/include/spdlog/details/pattern_formatter_impl.h +++ b/include/spdlog/details/pattern_formatter_impl.h @@ -665,7 +665,8 @@ inline void spdlog::pattern_formatter::handle_flag(char flag) } } -inline std::tm spdlog::pattern_formatter::get_time(details::log_msg& msg) { +inline std::tm spdlog::pattern_formatter::get_time(details::log_msg& msg) +{ if (_pattern_time == pattern_time_type::local) return details::os::localtime(log_clock::to_time_t(msg.time)); else