diff --git a/include/toml11/fwd/format_fwd.hpp b/include/toml11/fwd/format_fwd.hpp index 937e841..2b6fcf6 100644 --- a/include/toml11/fwd/format_fwd.hpp +++ b/include/toml11/fwd/format_fwd.hpp @@ -232,12 +232,12 @@ struct value_with_format value_with_format& operator=(value_with_format&&) = default; value_with_format(value_type v, format_type f) - : value(std::move(v)), format(std::move(f)) + : value{std::move(v)}, format{std::move(f)} {} template value_with_format(value_with_format other) - : value(std::move(other.value)), format(std::move(other.format)) + : value{std::move(other.value)}, format{std::move(other.format)} {} value_type value;