From 0a1679411a8bd77c2ff34e1cd572307c92e12040 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Mon, 17 Jun 2019 20:02:48 +0200 Subject: [PATCH] review comment: name convention, better name C was for "chrono duration" --- 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 19989516b452..c43ad011f677 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -667,9 +667,9 @@ struct chrono_formatter { write(second(), 2); #if FMT_SAFE_DURATION_CAST // convert rep->Rep - using Crep = std::chrono::duration; - using CRep = std::chrono::duration; - auto tmpval = fmt_safe_duration_cast(Crep{val}); + using duration_rep = std::chrono::duration; + using duration_Rep = std::chrono::duration; + auto tmpval = fmt_safe_duration_cast(duration_rep{val}); #else auto tmpval = std::chrono::duration(val); #endif