summaryrefslogtreecommitdiff
path: root/Userland/Services/Taskbar/TaskbarButton.cpp
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2021-12-29 22:31:45 +0000
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-01-13 15:16:12 +0330
commitdbd25916a3029a4b87b658986e11a39803b15b64 (patch)
tree6147a973f5ae6ac208154cfb4a69401e6b5eebe7 /Userland/Services/Taskbar/TaskbarButton.cpp
parenteb389db92c4e7e09e3ce529aa173df80d75bab58 (diff)
downloadserenity-dbd25916a3029a4b87b658986e11a39803b15b64.zip
LibCore+Userland+Tests: Convert Stream APIs to construct on heap
As per previous discussion, it was decided that the Stream classes should be constructed on the heap. While I don't personally agree with this change, it does have the benefit of avoiding Function object reconstructions due to the lambda passed to Notifier pointing to a stale object reference. This also has the benefit of not having to "box" objects for virtual usage, as the objects come pre-boxed. However, it means that we now hit the heap everytime we construct a TCPSocket for instance, which might not be desirable.
Diffstat (limited to 'Userland/Services/Taskbar/TaskbarButton.cpp')
0 files changed, 0 insertions, 0 deletions