From 91cf38c71ce56497f2e59de911158a0a90a3ac5a Mon Sep 17 00:00:00 2001 From: Shawn Zhong Date: Sat, 29 Apr 2023 06:54:52 -0500 Subject: [PATCH] Fix windows build --- include/fmt/core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index fef44a08..e7a369a8 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -835,11 +835,11 @@ constexpr auto has_const_formatter() -> bool { // Extracts a reference to the container from back_insert_iterator. template -FMT_CONSTEXPR inline auto get_container(std::back_insert_iterator it) - -> Container& { +FMT_CONSTEXPR_LIB inline auto get_container( + std::back_insert_iterator it) -> Container& { using base = std::back_insert_iterator; struct accessor : base { - FMT_CONSTEXPR accessor(base b) : base(b) {} + FMT_CONSTEXPR_LIB accessor(base b) : base(b) {} using base::container; }; return *accessor(it).container;