From 922a437c7b2c7b458babdb4debfdb4743d52c760 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Mon, 4 Sep 2017 14:53:35 +0200 Subject: [PATCH] Impl: use handler_fun instead of its full type Signed-off-by: Marcus Fritzsch --- AFBClient.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AFBClient.cpp b/AFBClient.cpp index 5fadc35..8ef7edc 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(); -- 2.16.6