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

@@ -265,6 +265,9 @@ struct Converter<ObjectRef> {
return ObjectRef(pool, data != 0 ? data->asObject() : 0);
}
static InvalidConversion<VariantConstRef, ObjectRef> fromJson(
VariantConstRef);
static bool checkJson(VariantConstRef) {
return false;
}