summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-01-13 15:33:31 -0500
committerTim Flynn <trflynn89@pm.me>2023-01-13 18:50:47 -0500
commita59ebdac2d0445cfb35c899d4ff372e1518c2178 (patch)
tree957688a366711afb4a58bfb43de021a531f16d53 /AK
parent9a120d7243ea28ac61a8bda477910ee2c7ea159b (diff)
downloadserenity-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')
0 files changed, 0 insertions, 0 deletions