From 11509299f15c3691116450b89a961b6d9f4df6f7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 16 May 2016 15:57:51 -0500 Subject: work around g++ 4.9.2 initializer list issue for vivid --- tests/test-notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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", -- cgit v1.2.3