Update StarJsonExtra.hpp

This commit is contained in:
Kae 2024-09-15 13:43:06 +10:00
parent 8155ec6715
commit 1dc14b116c

View File

@ -213,7 +213,7 @@ Json jsonFromList(List<Value> const& list, Converter&& valueConvert) {
template <typename SetType>
SetType jsonToSet(Json const& v) {
return jsonToSet<SetType>(v, construct<Value>());
return jsonToSet<SetType>(v, construct<SetType::value_type>());
}
template <typename SetType, typename Converter>