aboutsummaryrefslogtreecommitdiff
path: root/src/platform/graphics/Geometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/graphics/Geometry.cpp')
-rw-r--r--src/platform/graphics/Geometry.cpp2
1 files changed, 1 insertions, 1 deletions
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.");