Skip to content

Commit

Permalink
Fix Microsoft Visual Studio 14.0 build
Browse files Browse the repository at this point in the history
  • Loading branch information
phprus committed Oct 13, 2021
1 parent a731e90 commit fd23701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fmt/chrono.h
Original file line number Diff line number Diff line change
Expand Up @@ -1714,11 +1714,11 @@ struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
}

// '}' - for detail::parse_chrono_format.
static constexpr Char default_specs[] = {'%', 'F', ' ', '%', 'T', '}'};
static constexpr const Char default_specs[] = {'%', 'F', ' ', '%', 'T', '}'};
};

template <typename Char, typename Duration>
constexpr Char
constexpr const Char
formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
Char>::default_specs[];

Expand Down

0 comments on commit fd23701

Please sign in to comment.