summaryrefslogtreecommitdiff
path: root/plugingui/notifier.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-09-28 15:14:58 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-09-28 15:14:58 +0200
commit9f01114c286cc2a19683ff69efc0381fc9b4be90 (patch)
tree54f026d5e30281b355b37de3e915de32897ba3d6 /plugingui/notifier.h
parentfbf9b94913bacfd9310b6ba27da803563545e686 (diff)
Use function operator() for notification instead opf notify(...).
Diffstat (limited to 'plugingui/notifier.h')
-rw-r--r--plugingui/notifier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/notifier.h b/plugingui/notifier.h
index 7e6b0d8..a9f8831 100644
--- a/plugingui/notifier.h
+++ b/plugingui/notifier.h
@@ -88,7 +88,7 @@ public:
slots.erase(object);
}
- void notify(Args...args)
+ void operator()(Args... args)
{
for(auto slot = slots.begin(); slot != slots.end(); ++slot) {
(*slot).second(args...);