diff options
author | Linus Groh <mail@linusgroh.de> | 2021-12-14 19:49:15 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-12-14 19:49:15 +0000 |
commit | 5f993eecdbbd95c006ff542dfbb96341b9ee3f59 (patch) | |
tree | b8228b11ac6817a7a2b7b3b44e2d727d108d3d2a /Base | |
parent | 9090dea1e2d527115a4205dec35217cdab34af1a (diff) | |
download | serenity-5f993eecdbbd95c006ff542dfbb96341b9ee3f59.zip |
LibWeb: Replace incorrect empty Optional return with ByteBuffer
This function initially returned a ByteBuffer, so `return {}` was fine.
It was then changed to return Optional<ByteBuffer>, so we accidentally
started returning an empty Optional instead. Explicitly specify the
constructor name to fix this.
Thanks to DexesTTP for catching this!
Diffstat (limited to 'Base')
0 files changed, 0 insertions, 0 deletions