From e9f4453b0e3b3785055fa1947ddbe698e2722279 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Wed, 13 Oct 2021 21:15:41 +0500 Subject: [PATCH] Fix Microsoft Visual Studio 14.0 build --- include/fmt/chrono.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index f8cf6ae0..24827714 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -1714,11 +1714,11 @@ struct formatter, } // '}' - for detail::parse_chrono_format. - static constexpr Char default_specs[] = {'%', 'F', ' ', '%', 'T', '}'}; + static constexpr const Char default_specs[] = {'%', 'F', ' ', '%', 'T', '}'}; }; template -constexpr Char +constexpr const Char formatter, Char>::default_specs[];