diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-01-13 15:33:31 -0500 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-13 18:50:47 -0500 |
commit | a59ebdac2d0445cfb35c899d4ff372e1518c2178 (patch) | |
tree | 957688a366711afb4a58bfb43de021a531f16d53 /AK/EnumBits.h | |
parent | 9a120d7243ea28ac61a8bda477910ee2c7ea159b (diff) | |
download | serenity-a59ebdac2d0445cfb35c899d4ff372e1518c2178.zip |
LibJS+Everywhere: Return strings by value from PrimitiveString
It turns out return a ThrowCompletionOr<T const&> is flawed, as the GCC
expansion trick used with TRY will always make a copy. PrimitiveString
is luckily the only such use case.
Diffstat (limited to 'AK/EnumBits.h')
0 files changed, 0 insertions, 0 deletions