error redundancy calls

dev
keldu.magnus 2021-05-10 17:28:03 +02:00
parent 4abff8b61d
commit 4c56faa6f6
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ XcbDevice::XcbDevice(::Display *display, int screen,
xcb_screen{xcb_screen}, async_notifier{std::move(an)},
async_conveyor{async_notifier->readReady()
.then([this]() { handleEvents(); })
.sink([](const Error &error) { return error; })} {}
.sink()} {}
XcbDevice::~XcbDevice() {
if (display) {