summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Tools/CodeGenerators/LibLocale/GenerateLocaleData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/LibLocale/GenerateLocaleData.cpp')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibLocale/GenerateLocaleData.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibLocale/GenerateLocaleData.cpp b/Meta/Lagom/Tools/CodeGenerators/LibLocale/GenerateLocaleData.cpp
index f3acc8bada..9aaa0e2aa8 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibLocale/GenerateLocaleData.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibLocale/GenerateLocaleData.cpp
@@ -1047,7 +1047,8 @@ namespace Locale {
}
)~~~");
- TRY(file.write(generator.as_string_view().bytes()));
+ // FIXME: This should write the entire span.
+ TRY(file.write_some(generator.as_string_view().bytes()));
return {};
}
@@ -1747,7 +1748,8 @@ ErrorOr<Optional<String>> resolve_most_likely_territory(LanguageID const& langua
}
)~~~");
- TRY(file.write(generator.as_string_view().bytes()));
+ // FIXME: This should write the entire span.
+ TRY(file.write_some(generator.as_string_view().bytes()));
return {};
}