Skip to content

wayland/clientbuffer: use std::unique_ptr properly

Xaver Hugl requested to merge work/zamundaaa/client-buffer-d-ptr into master

Taking the address of a reference that's a dereference of a newly created object is the most possibly confusing way to initialize a std::unique_ptr. Instead, just pass a std::unique_ptr around to take ownership of

Merge request reports

Loading