Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / base / Sysconfig.cc
index c1c4786..0d11ec4 100644 (file)
@@ -120,7 +120,7 @@ namespace zypp {
              std::vector<std::string> lines;
              str::split( newcomment_r, std::back_inserter(lines), "\r\n" );
              o << endl;
-             for ( const std::string & line : lines )
+             for ( auto line : lines )
              {
                if ( line[0] != '#' )
                  o << "# ";