summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Tools/CodeGenerators/LibLocale/GeneratePluralRulesData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/LibLocale/GeneratePluralRulesData.cpp')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibLocale/GeneratePluralRulesData.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibLocale/GeneratePluralRulesData.cpp b/Meta/Lagom/Tools/CodeGenerators/LibLocale/GeneratePluralRulesData.cpp
index 06cf4e5233..ff13b336fa 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibLocale/GeneratePluralRulesData.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibLocale/GeneratePluralRulesData.cpp
@@ -442,8 +442,7 @@ namespace Locale {
}
)~~~");
- // FIXME: This should write the entire span.
- TRY(file.write_some(generator.as_string_view().bytes()));
+ TRY(file.write_until_depleted(generator.as_string_view().bytes()));
return {};
}
@@ -655,8 +654,7 @@ PluralCategory determine_plural_range(StringView locale, PluralCategory start, P
}
)~~~");
- // FIXME: This should write the entire span.
- TRY(file.write_some(generator.as_string_view().bytes()));
+ TRY(file.write_until_depleted(generator.as_string_view().bytes()));
return {};
}