mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +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
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…
Add table
Add a link
Reference in a new issue