diff --git a/include/slimlog/format.h b/include/slimlog/format.h index 5dc193e..5bef956 100644 --- a/include/slimlog/format.h +++ b/include/slimlog/format.h @@ -164,7 +164,7 @@ class FormatValue final { * @param formatter Reference to the formatter. * @param value Value to be formatted. */ - constexpr FormatValue(const CachedFormatter& formatter, T value) + constexpr explicit FormatValue(const CachedFormatter& formatter, T value) : m_formatter(formatter) , m_value(std::move(value)) {