mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Make initialization C++11-compatible
This commit is contained in:
parent
a0190e4bbd
commit
621447fece
@ -2159,7 +2159,7 @@ class format_arg_store {
|
||||
|
||||
template <typename Formatter>
|
||||
format_arg_store(const Args &... args, Formatter *)
|
||||
: data_{MakeValue<Formatter>(args)...} {}
|
||||
: data_{{MakeValue<Formatter>(args)...}} {}
|
||||
|
||||
const value_type *data() const { return data_.data(); }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user