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[];