diff options
author | Linus Groh <mail@linusgroh.de> | 2023-02-28 13:50:29 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-28 15:15:36 +0000 |
commit | 51c3967516cdce42d40c26debaec7f6ef949420b (patch) | |
tree | 60292c772c23b3d1c2cdece4ac6cdd28f2152c6c /Userland/Libraries/LibJS | |
parent | d0ba5f2ed7d2fa397328638457083876338b34e3 (diff) | |
download | serenity-51c3967516cdce42d40c26debaec7f6ef949420b.zip |
Everywhere: Use '_{short_,}string' literals more
This mostly updates code what was written before but merged after these
were added.
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/VM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/VM.cpp b/Userland/Libraries/LibJS/Runtime/VM.cpp index 8d49b298ad..34f98700ac 100644 --- a/Userland/Libraries/LibJS/Runtime/VM.cpp +++ b/Userland/Libraries/LibJS/Runtime/VM.cpp @@ -152,7 +152,7 @@ VM::VM(OwnPtr<CustomData> custom_data) }; #define __JS_ENUMERATE(SymbolName, snake_name) \ - m_well_known_symbol_##snake_name = Symbol::create(*this, String::from_utf8("Symbol." #SymbolName##sv).release_value_but_fixme_should_propagate_errors(), false); + m_well_known_symbol_##snake_name = Symbol::create(*this, "Symbol." #SymbolName##_string.release_value_but_fixme_should_propagate_errors(), false); JS_ENUMERATE_WELL_KNOWN_SYMBOLS #undef __JS_ENUMERATE |