diff --git a/GUI/Model/Util/UtilXML.h b/GUI/Model/Util/UtilXML.h index 593f1e1b180a2de1bdd66e7be7d5dcd075d863f1..12164242108f1b9c7a97e45c0dd42a75993e84f4 100644 --- a/GUI/Model/Util/UtilXML.h +++ b/GUI/Model/Util/UtilXML.h @@ -103,8 +103,7 @@ template <typename T> void readBaseElement(QXmlStreamReader* r, const QString& t gotoEndElementOfTag(r, tag); } -template <typename C, typename... Args> -C::BaseItem* readItemFrom(QXmlStreamReader* r, Args... args) +template <typename C, typename... Args> C::BaseItem* readItemFrom(QXmlStreamReader* r, Args... args) { const uint typeIndex = readUInt(r, XML::Attrib::type); const QString kind = readString(r, XML::Attrib::kind);