From dceef749139061fdac4946df77219f1cc8aa6483 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 9 Mar 2022 23:12:26 +0800 Subject: ... --- src/platform/graphics/Geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform/graphics/Geometry.cpp') diff --git a/src/platform/graphics/Geometry.cpp b/src/platform/graphics/Geometry.cpp index 32ba0d6d..c215ad30 100644 --- a/src/platform/graphics/Geometry.cpp +++ b/src/platform/graphics/Geometry.cpp @@ -193,7 +193,7 @@ void IGeometryBuilder::ParseAndApplySvgPathData(StringView path_d) { Index processed_count = 0; auto result = path_d.substr(position).ParseToFloat( - &processed_count, StringToFloatFlags::kAllowTrailingJunk); + &processed_count, StringToNumberFlags::kAllowTrailingJunk); if (std::isnan(result)) throw Exception(u"Invalid svg path data number."); -- cgit v1.2.3