summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-04 14:53:35 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commit922a437c7b2c7b458babdb4debfdb4743d52c760 (patch)
tree050da47faa4eaee88c771b0adbf3688f31f000dc
parent839032bb4aa57418289d829dd57f66b094ceb700 (diff)
Impl: use handler_fun instead of its full type
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-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();