summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AFBClient.cpp3
1 files changed, 1 insertions, 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<void(char const *label)> f);
+ void set_event_handler(enum EventType et, handler_fun f);
Impl();
~Impl();