diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-05-16 15:57:51 -0500 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-07 02:35:36 +0200 |
commit | 11509299f15c3691116450b89a961b6d9f4df6f7 (patch) | |
tree | d58ca624b6bb6e4f1781b09d397c33c31e39b12a /tests | |
parent | 36bcdc4a83fa488e4eccb4f41ef4da6695dac027 (diff) | |
download | ayatana-indicator-datetime-11509299f15c3691116450b89a961b6d9f4df6f7.tar.gz ayatana-indicator-datetime-11509299f15c3691116450b89a961b6d9f4df6f7.tar.bz2 ayatana-indicator-datetime-11509299f15c3691116450b89a961b6d9f4df6f7.zip |
work around g++ 4.9.2 initializer list issue for vivid
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-notification.cpp | 2 |
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", |