🔨 fixed interface for to_json function

parent f5f6dac8
......@@ -576,7 +576,7 @@ void to_json(BasicJsonType& j, UnscopedEnumType e) noexcept
}
template<typename BasicJsonType>
void to_json(BasicJsonType& j, std::vector<bool> e) noexcept
void to_json(BasicJsonType& j, const std::vector<bool>& e)
{
external_constructor<value_t::array>::construct(j, e);
}
......
......@@ -576,7 +576,7 @@ void to_json(BasicJsonType& j, UnscopedEnumType e) noexcept
}
template<typename BasicJsonType>
void to_json(BasicJsonType& j, std::vector<bool> e) noexcept
void to_json(BasicJsonType& j, const std::vector<bool>& e)
{
external_constructor<value_t::array>::construct(j, e);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment