From ddd1c7c7c74c2a4a3a4eb2bf2a4b1ed106d0bc9d Mon Sep 17 00:00:00 2001 From: "Hans-Martin B. Jensen" Date: Fri, 2 Jun 2023 16:18:57 +0200 Subject: [PATCH] Review: revert else condition --- include/fmt/chrono.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 1649a282..96a215da 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -2154,10 +2154,10 @@ struct formatter, return formatter::do_format( gmtime(std::chrono::time_point_cast(val)), ctx, &subsecs); - } else { - return formatter::format( - gmtime(std::chrono::time_point_cast(val)), ctx); } + + return formatter::format( + gmtime(std::chrono::time_point_cast(val)), ctx); } };