diff --git a/include/fmt/core.h b/include/fmt/core.h index 721216ad..1303f559 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1112,7 +1112,7 @@ class basic_format_args { */ template basic_format_args(const format_arg_store &store) - : types_(store.TYPES) { + : types_(static_cast(store.TYPES)) { set_data(store.data_); }