Update StarJsonExtra.hpp
This commit is contained in:
parent
8155ec6715
commit
1dc14b116c
@ -213,7 +213,7 @@ Json jsonFromList(List<Value> const& list, Converter&& valueConvert) {
|
|||||||
|
|
||||||
template <typename SetType>
|
template <typename SetType>
|
||||||
SetType jsonToSet(Json const& v) {
|
SetType jsonToSet(Json const& v) {
|
||||||
return jsonToSet<SetType>(v, construct<Value>());
|
return jsonToSet<SetType>(v, construct<SetType::value_type>());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename SetType, typename Converter>
|
template <typename SetType, typename Converter>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user