aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-notification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-notification.cpp b/tests/test-notification.cpp
index f31dcf2..50d7b57 100644
--- a/tests/test-notification.cpp
+++ b/tests/test-notification.cpp
@@ -268,7 +268,7 @@ TEST_F(NotificationFixture,Response)
}
// make the notification mock tell the world that the user invoked an action
- const auto notification_id {next_notification_id++};
+ const auto notification_id = next_notification_id++;
idle_add([this, notification_id, test](){
GError* err {};
dbus_test_dbus_mock_object_emit_signal(notify_mock, notify_obj, "ActionInvoked",