summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2019-11-18 09:25:37 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2019-11-18 09:25:37 +0100
commitd3f7d6109d396adb449a150fc2b9feb3045634d0 (patch)
tree66b4f68054b73e1d695bdef19c9ee7f2089c69fa /tests
parent89cfdff3e807d53efbe8afb2d3354151043bf70f (diff)
downloadglibmm-d3f7d6109d396adb449a150fc2b9feb3045634d0.tar.gz
Avoid unnecessary conversions between std::string and Glib::ustring
A few implicit conversions in tests/ have been kept. They are probably deliberate, to test implicit conversion. Inspired by issue #65
Diffstat (limited to 'tests')
-rw-r--r--tests/giomm_memoryinputstream/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/giomm_memoryinputstream/main.cc b/tests/giomm_memoryinputstream/main.cc
index 2c35d1a1..ce1b54ec 100644
--- a/tests/giomm_memoryinputstream/main.cc
+++ b/tests/giomm_memoryinputstream/main.cc
@@ -27,7 +27,7 @@ destroy_func1(void* data)
}
void
-destroy_func2(void* data, const Glib::ustring& intro)
+destroy_func2(void* data, const std::string& intro)
{
char* cdata = static_cast<char*>(data);
func2_output += intro + cdata;