aboutsummaryrefslogtreecommitdiff
path: root/tests/test-notification.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-05-16 15:57:51 -0500
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit8d384b89dfe9dc921047222623bf9036b6ab4282 (patch)
treef627d3cd27f28a50c764f5be1bcf2606d401f312 /tests/test-notification.cpp
parent7eee00bc63a561ee1700dcf75bce90b2e4ffb335 (diff)
downloadayatana-indicator-datetime-8d384b89dfe9dc921047222623bf9036b6ab4282.tar.gz
ayatana-indicator-datetime-8d384b89dfe9dc921047222623bf9036b6ab4282.tar.bz2
ayatana-indicator-datetime-8d384b89dfe9dc921047222623bf9036b6ab4282.zip
work around g++ 4.9.2 initializer list issue for vivid
Diffstat (limited to 'tests/test-notification.cpp')
-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",