Added InvalidConversion to identify invalid conversions (closes #1585)

This commit is contained in:
Benoit Blanchon
2021-06-11 11:46:20 +02:00
parent dc76c5165f
commit 1d24caf066
5 changed files with 17 additions and 0 deletions

View File

@@ -193,6 +193,8 @@ struct Converter<ArrayRef> {
return ArrayRef(pool, data != 0 ? data->asArray() : 0);
}
static InvalidConversion<VariantConstRef, ArrayRef> fromJson(VariantConstRef);
static bool checkJson(VariantConstRef) {
return false;
}