From b23388d4d7f919163ead9a9e9bdd50d14daf80b7 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Mon, 17 Jun 2019 19:58:55 +0200 Subject: [PATCH] review comment: don't output inf.inf --- include/fmt/chrono.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 7bfa0352ffde..6e0e17f37bd8 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -660,8 +660,6 @@ struct chrono_formatter { void on_second(numeric_system ns) { if (handle_nan_inf()) { - *out++ = '.'; - handle_nan_inf(); return; }