summaryrefslogtreecommitdiff
path: root/tests/giomm_stream_vfuncs/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/giomm_stream_vfuncs/main.cc')
-rw-r--r--tests/giomm_stream_vfuncs/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/giomm_stream_vfuncs/main.cc b/tests/giomm_stream_vfuncs/main.cc
index df1cde20..ad42e989 100644
--- a/tests/giomm_stream_vfuncs/main.cc
+++ b/tests/giomm_stream_vfuncs/main.cc
@@ -160,7 +160,7 @@ int main(int, char**)
return EXIT_FAILURE;
}
}
- catch (Gio::Error e)
+ catch (const Gio::Error& e)
{
std::cout << "Gio error: " << e.what() << std::endl;
return EXIT_FAILURE;