Rename Float to JsonFloat

This commit is contained in:
Benoit Blanchon
2022-12-19 11:43:20 +01:00
parent 2f2e0e9415
commit 8228aec74b
10 changed files with 17 additions and 17 deletions

View File

@@ -101,7 +101,7 @@ struct Converter<T, typename enable_if<is_floating_point<T>::value>::type>
static void toJson(T src, VariantRef dst) {
VariantData* data = getData(dst);
if (data)
data->setFloat(static_cast<Float>(src));
data->setFloat(static_cast<JsonFloat>(src));
}
static T fromJson(VariantConstRef src) {