mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
LibUnicode: Mark UniqueStringStorage::generate as constant
This is just to allow it to be invoked from callers who hold a constant UniqueStringStorage instance.
This commit is contained in:
parent
d3621ac177
commit
2c2ede8581
Notes:
sideshowbarker
2024-07-17 08:10:41 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/2c2ede8581 Pull-request: https://github.com/SerenityOS/serenity/pull/14899 Reviewed-by: https://github.com/linusg ✅
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ public:
|
|||
// section of the shared library. If StringViews are generated directly, the table will be located
|
||||
// in the initialized data section. So instead, we generate run-length encoded (RLE) arrays to
|
||||
// represent the strings.
|
||||
void generate(SourceGenerator& generator)
|
||||
void generate(SourceGenerator& generator) const
|
||||
{
|
||||
constexpr size_t max_values_per_row = 300;
|
||||
size_t values_in_current_row = 0;
|
||||
|
|
Loading…
Reference in a new issue