diff options
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/LibTimeZone/GenerateTimeZoneData.cpp')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibTimeZone/GenerateTimeZoneData.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibTimeZone/GenerateTimeZoneData.cpp b/Meta/Lagom/Tools/CodeGenerators/LibTimeZone/GenerateTimeZoneData.cpp index b3743a8795..bfce2109e4 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibTimeZone/GenerateTimeZoneData.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibTimeZone/GenerateTimeZoneData.cpp @@ -469,7 +469,8 @@ namespace TimeZone { } )~~~"); - 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 {}; } @@ -801,7 +802,8 @@ Vector<StringView> time_zones_in_region(StringView region) } )~~~"); - 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 {}; } |