summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-06-28 11:35:58 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-29 13:18:03 +0200
commit66526cbbaf4411af89bf96ab44ba6a7f58f3eaea (patch)
tree2dcf040dfb7ded05f7202e0fe0e5cd5ac568c298 /Userland/DevTools
parente0ed160372688546be6fd0e575003f8eb6aafbc3 (diff)
downloadserenity-66526cbbaf4411af89bf96ab44ba6a7f58f3eaea.zip
AK: Return const& from JsonObject::get()
This adds a static JsonValue* s_null_value, which allows JsonObject::get to return a reference instaed of copying the return value. Since JsonValue is only 16 bytes, this seems like a reasonable compromise.
Diffstat (limited to 'Userland/DevTools')
0 files changed, 0 insertions, 0 deletions