diff options
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r-- | tests/dummyresourcebenchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index d5f98c3..7e334a6 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp | |||
@@ -90,7 +90,7 @@ private slots: | |||
90 | bool gotNotification = false; | 90 | bool gotNotification = false; |
91 | int duration = 0; | 91 | int duration = 0; |
92 | notifier->registerHandler([&gotNotification, &duration, &time](const Sink::Notification ¬ification) { | 92 | notifier->registerHandler([&gotNotification, &duration, &time](const Sink::Notification ¬ification) { |
93 | if (notification.type == Sink::Commands::NotificationType::NotificationType_RevisionUpdate) { | 93 | if (notification.type == Sink::Notification::RevisionUpdate) { |
94 | gotNotification = true; | 94 | gotNotification = true; |
95 | duration = time.elapsed(); | 95 | duration = time.elapsed(); |
96 | } | 96 | } |