From b257c56e512d87675132af9d3a1d4b99371a9722 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 24 Aug 2019 08:36:14 -0700 Subject: [PATCH] Fix size types --- include/fmt/compile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/compile.h b/include/fmt/compile.h index 530497df..f7b510dd 100644 --- a/include/fmt/compile.h +++ b/include/fmt/compile.h @@ -631,7 +631,7 @@ FMT_CONSTEXPR auto compile(S format_str) { } #endif -template +template auto compile(const Char (&format_str)[N]) -> typename internal::preparator, Args...>::prepared_format_type { @@ -663,7 +663,7 @@ OutputIt format_to(OutputIt out, const CompiledFormat& cf, template ::value)> -format_to_n_result format_to_n(OutputIt out, unsigned n, +format_to_n_result format_to_n(OutputIt out, size_t n, const CompiledFormat& cf, const Args&... args) { auto it =