mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:58:12 +00:00
LibJS+LibWeb: Convert empty PrimitiveString invocators to String
This commit is contained in:
parent
1bcde5d216
commit
34574c5ee8
9 changed files with 13 additions and 13 deletions
|
@ -41,7 +41,7 @@ VM::VM(OwnPtr<CustomData> custom_data)
|
|||
: m_heap(*this)
|
||||
, m_custom_data(move(custom_data))
|
||||
{
|
||||
m_empty_string = m_heap.allocate_without_realm<PrimitiveString>(DeprecatedString::empty());
|
||||
m_empty_string = m_heap.allocate_without_realm<PrimitiveString>(String {});
|
||||
for (size_t i = 0; i < 128; ++i) {
|
||||
m_single_ascii_character_strings[i] = m_heap.allocate_without_realm<PrimitiveString>(DeprecatedString::formatted("{:c}", i));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue