summaryrefslogtreecommitdiffstats
path: root/src/io/stream/inkscapestream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/stream/inkscapestream.cpp')
-rw-r--r--src/io/stream/inkscapestream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/stream/inkscapestream.cpp b/src/io/stream/inkscapestream.cpp
index 56ef7854e..bc6dc1d7f 100644
--- a/src/io/stream/inkscapestream.cpp
+++ b/src/io/stream/inkscapestream.cpp
@@ -508,8 +508,8 @@ Writer &BasicWriter::writeUString(const Glib::ustring &str)
*/
Writer &BasicWriter::writeStdString(const std::string &str)
{
- for (auto it = str.begin(); it != str.end(); ++it) {
- put(*it);
+ for (char it : str) {
+ put(it);
}
return *this;
}