X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=AFBClient.cpp;h=99f22bdf19e44484104b96aafd7d53ffc78280c6;hb=e33f046a281dd88d9c37a34c849bbad6148a95b5;hp=5fadc35085ca78423f3398aa9d60de1e428577e1;hpb=839032bb4aa57418289d829dd57f66b094ceb700;p=staging%2Fwindowmanager.git diff --git a/AFBClient.cpp b/AFBClient.cpp index 5fadc35..99f22bd 100644 --- a/AFBClient.cpp +++ b/AFBClient.cpp @@ -44,8 +44,7 @@ class AFBClient::Impl { int deactivateSurface(const char *label); int endDraw(const char *label); - void set_event_handler(enum EventType et, - std::function f); + void set_event_handler(enum EventType et, handler_fun f); Impl(); ~Impl(); @@ -358,8 +357,6 @@ int AFBClient::Impl::endDraw(const char *label) { void AFBClient::Impl::set_event_handler( enum EventType et, std::function func) { - UNUSED(et); - UNUSED(func); TRACE(); if (et >= 1 && et <= 6) { // Yeah ... just go with it!