[scribus-dev] revision 24315 broken

Gregory Pittman gpittman at iglou.com
Wed Dec 9 15:13:49 UTC 2020


/home/gregp/development/Scribus15x/scribus/plugins/gettext/sxwim/stylereader.cpp: In member function ‘bool StyleReader::startElement(const QString&, const SXWAttributesMap&)’:
/home/gregp/development/Scribus15x/scribus/plugins/gettext/sxwim/stylereader.cpp:166:33: error: cannot bind non-const lvalue reference of type ‘QMap<QString, QString>::const_iterator&’ to an rvalue of type ‘QMap<QString, QString>::const_iterator’
  166 |   for (auto& attr = attrs.cbegin(); attr != attrs.cend(); ++attr)
      |                     ~~~~~~~~~~~~^~
make[2]: *** [scribus/plugins/gettext/sxwim/CMakeFiles/sxwimplugin.dir/build.make:121: scribus/plugins/gettext/sxwim/CMakeFiles/sxwimplugin.dir/stylereader.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3110: scribus/plugins/gettext/sxwim/CMakeFiles/sxwimplugin.dir/all] Error 2
make: *** [Makefile:171: all] Error 2


Greg



More information about the scribus-dev mailing list