dbus::Signal::disconnect() does not work.

Bug #1274701 reported by Antti Kaijanmäki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-cpp (Ubuntu)
New
Undecided
Unassigned

Bug Description

This fails:
auto con = signal->connect([this](){});
signal->disconnect(con);

with:
/usr/include/core/dbus/impl/signal.h:185: error: return-statement with a value, in function returning 'void' [-fpermissive]
     return d->handlers.erase(token);
                                   ^

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.