diff options
Diffstat (limited to 'tests/indicator-test.cpp')
-rw-r--r-- | tests/indicator-test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/indicator-test.cpp b/tests/indicator-test.cpp index 8f87191..0991db5 100644 --- a/tests/indicator-test.cpp +++ b/tests/indicator-test.cpp @@ -98,7 +98,7 @@ TEST_F(IndicatorTest, SingleMessage) { static void messageReplyActivate (GObject * obj, gchar * name, GVariant * value, gpointer user_data) { - std::string * res = reinterpret_cast<std::string *>(user_data); + auto res = reinterpret_cast<std::string *>(user_data); *res = g_variant_get_string(value, nullptr); } |