diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/glib-fixture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h index a5da2f5..65d2921 100644 --- a/tests/glib-fixture.h +++ b/tests/glib-fixture.h @@ -67,7 +67,7 @@ class GlibFixture : public ::testing::Test const gchar * message, gpointer self) { - auto tmp = g_strdup_printf ("%s:%d \"%s\"", log_domain, (int)log_level, message); + char* tmp = g_strdup_printf ("%s:%d \"%s\"", log_domain, (int)log_level, message); static_cast<GlibFixture*>(self)->log[log_level].push_back(tmp); g_free(tmp); } |