[1/195] /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:21:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:23:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | 23 | CovarianceMatrix::CovarianceMatrix(size_t size) : _size(size) | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:32:8: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | 23 | CovarianceMatrix::CovarianceMatrix(size_t size) : _size(size) 24 | { 25 | auto square = size * size; 26 | auto diagonal = size; 27 | auto twoHalves = square - diagonal; 28 | 29 | _values.resize(twoHalves / 2); 30 | } 31 | 32 | static size_t indexOf(size_t column, size_t row, size_t size) | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:32:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | 23 | CovarianceMatrix::CovarianceMatrix(size_t size) : _size(size) 24 | { 25 | auto square = size * size; 26 | auto diagonal = size; 27 | auto twoHalves = square - diagonal; 28 | 29 | _values.resize(twoHalves / 2); 30 | } 31 | 32 | static size_t indexOf(size_t column, size_t row, size_t size) | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:32:38: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | 23 | CovarianceMatrix::CovarianceMatrix(size_t size) : _size(size) 24 | { 25 | auto square = size * size; 26 | auto diagonal = size; 27 | auto twoHalves = square - diagonal; 28 | 29 | _values.resize(twoHalves / 2); 30 | } 31 | 32 | static size_t indexOf(size_t column, size_t row, size_t size) | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:32:50: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | 23 | CovarianceMatrix::CovarianceMatrix(size_t size) : _size(size) 24 | { 25 | auto square = size * size; 26 | auto diagonal = size; 27 | auto twoHalves = square - diagonal; 28 | 29 | _values.resize(twoHalves / 2); 30 | } 31 | 32 | static size_t indexOf(size_t column, size_t row, size_t size) | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:34:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 22 | 23 | CovarianceMatrix::CovarianceMatrix(size_t size) : _size(size) 24 | { 25 | auto square = size * size; 26 | auto diagonal = size; 27 | auto twoHalves = square - diagonal; 28 | 29 | _values.resize(twoHalves / 2); 30 | } 31 | 32 | static size_t indexOf(size_t column, size_t row, size_t size) 33 | { 34 | Q_ASSERT(column != row); | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:37:14: warning: no header providing "std::swap" is directly included [misc-include-cleaner] 22 | 23 | CovarianceMatrix::CovarianceMatrix(size_t size) : _size(size) 24 | { 25 | auto square = size * size; 26 | auto diagonal = size; 27 | auto twoHalves = square - diagonal; 28 | 29 | _values.resize(twoHalves / 2); 30 | } 31 | 32 | static size_t indexOf(size_t column, size_t row, size_t size) 33 | { 34 | Q_ASSERT(column != row); 35 | 36 | if(row > column) 37 | std::swap(column, row); | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:45:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | double CovarianceMatrix::valueAt(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:45:49: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | double CovarianceMatrix::valueAt(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:53:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | void CovarianceMatrix::setValueAt(size_t column, size_t row, double value) | ^ /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:53:50: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | void CovarianceMatrix::setValueAt(size_t column, size_t row, double value) | ^ 4575 warnings generated. [2/195] /home/runner/work/graphia/graphia/source/shared/graph/elementtype.cpp:21:1: warning: included header QObject is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/shared/graph/elementtype.cpp:23:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | QString elementTypeAsString(ElementType elementType) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementtype.cpp:27:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | 23 | QString elementTypeAsString(ElementType elementType) 24 | { 25 | switch(elementType) 26 | { 27 | case ElementType::Node: return QObject::tr("Node"); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementtype.cpp:28:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | 23 | QString elementTypeAsString(ElementType elementType) 24 | { 25 | switch(elementType) 26 | { 27 | case ElementType::Node: return QObject::tr("Node"); 28 | case ElementType::Edge: return QObject::tr("Edge"); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementtype.cpp:29:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | 23 | QString elementTypeAsString(ElementType elementType) 24 | { 25 | switch(elementType) 26 | { 27 | case ElementType::Node: return QObject::tr("Node"); 28 | case ElementType::Edge: return QObject::tr("Edge"); 29 | case ElementType::Component: return QObject::tr("Component"); | ^ 11056 warnings generated. [3/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:24:1: warning: included header QXmlStreamReader is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:26:1: warning: included header QUrl is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:41:30: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | // http://www.biopax.org/owldoc/Level3/ 34 | // Effectively, Entity and all subclasses are Nodes. 35 | // The members and properties of entities define the edges 36 | 37 | // CamelCase is Class definitions, mixedCase is properties 38 | 39 | namespace 40 | { 41 | bool isNodeElementName(const QString& name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:43:11: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | // http://www.biopax.org/owldoc/Level3/ 34 | // Effectively, Entity and all subclasses are Nodes. 35 | // The members and properties of entities define the edges 36 | 37 | // CamelCase is Class definitions, mixedCase is properties 38 | 39 | namespace 40 | { 41 | bool isNodeElementName(const QString& name) 42 | { 43 | const QStringList nodeElementNames = | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:75:30: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | bool isEdgeElementName(const QString& name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:80:11: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | const QStringList edgeElementNames = | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:102:23: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | userNodeData->add(QObject::tr("Node Name")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:107:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | QStringList _sources; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:108:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | QStringList _targets; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:111:21: warning: no header providing "std::tie" is directly included [misc-include-cleaner] 30 | return std::tie(l._sources, l._targets) < std::tie(r._sources, r._targets); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:111:56: warning: no header providing "std::tie" is directly included [misc-include-cleaner] 30 | return std::tie(l._sources, l._targets) < std::tie(r._sources, r._targets); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:115:36: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 28 | bool BiopaxFileParser::parse(const QUrl& url, IGraphModel* graphModel) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:117:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 28 | Q_ASSERT(graphModel != nullptr); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:124:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Unable to open file.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:131:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("File is empty.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:137:5: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 28 | QXmlStreamReader xsr(&file); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:139:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::map nodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:139:23: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::map nodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:140:21: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 30 | std::stack> activeNodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:140:26: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::stack> activeNodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:140:34: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::stack> activeNodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:141:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::stack activeElements; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:143:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 30 | std::vector tempEdges; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:145:29: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 28 | auto processToken = [&](QXmlStreamReader::TokenType tokenType) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:147:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId activeNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:148:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString activeNodeName; | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:158:14: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 28 | case QXmlStreamReader::StartElement: | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:166:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | if(!attributes.hasAttribute(u"rdf:ID"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:168:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Node element has no id.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:172:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | auto rdfId = attributes.value(u"rdf:ID"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:180:55: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | _userNodeData->setValueBy(nodeId, QObject::tr("ID"), rdfId); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:181:55: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | _userNodeData->setValueBy(nodeId, QObject::tr("Class"), elementName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:188:64: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | if(!attributes.hasAttribute(u"rdf:resource"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:190:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Edge element has no resource.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:194:72: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | auto rdfResource = attributes.value(u"rdf:resource"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:195:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | .toString().remove(u"#"_s); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:202:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | if(elementName == u"right"_s || elementName == u"controlled"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:202:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | if(elementName == u"right"_s || elementName == u"controlled"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:215:14: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 28 | case QXmlStreamReader::Characters: | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:222:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | if(activeElements.top() == u"displayName"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:224:57: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | _userNodeData->setValueBy(activeNodeId, QObject::tr("Node Name"), data); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:227:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | else if(activeElements.top() == u"comment"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:228:57: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | _userNodeData->setValueBy(activeNodeId, QObject::tr("Comment"), data); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:233:14: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 28 | case QXmlStreamReader::EndElement: | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:239:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Orphan end element: %1").arg(elementName)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:246:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Start and end element mismatch: %1 != %2").arg(top, elementName)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:257:78: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | auto nodeIdString = _userNodeData->valueBy(activeNodeId, QObject::tr("ID")).toString(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:258:61: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | _userNodeData->setValueBy(activeNodeId, QObject::tr("Node Name"), nodeIdString); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:268:14: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 28 | case QXmlStreamReader::EndDocument: | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:277:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Invalid Edge Source: %1").arg(sourceNode)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:286:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr( | ^ /home/runner/work/graphia/graphia/source/shared/loading/biopaxfileparser.cpp:325:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("XML parse error: %1").arg(xsr.errorString())); | ^ 11720 warnings generated. [4/195] /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:36:23: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | CxParser::CxParser(IUserNodeData* userNodeData, IUserEdgeData* userEdgeData) : 33 | _userNodeData(userNodeData), _userEdgeData(userEdgeData) 34 | { 35 | // Add this up front, so that it appears first in the attribute table 36 | userNodeData->add(QObject::tr("Node Name")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:39:28: warning: no header providing "json" is directly included [misc-include-cleaner] 27 | #include 28 | #include 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | CxParser::CxParser(IUserNodeData* userNodeData, IUserEdgeData* userEdgeData) : 33 | _userNodeData(userNodeData), _userEdgeData(userEdgeData) 34 | { 35 | // Add this up front, so that it appears first in the attribute table 36 | userNodeData->add(QObject::tr("Node Name")); 37 | } 38 | 39 | static bool parseCx1(const json& jsonArray, IGraphModel* graphModel, | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:40:5: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | IParser* parser, IUserNodeData* userNodeData, IUserEdgeData* userEdgeData) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:56:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Node is missing ID.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:64:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Node ID is not a number.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:73:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | auto name = QString::fromStdString(node["n"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:73:75: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | auto name = QString::fromStdString(node["n"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:74:54: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | userNodeData->setValueBy(nodeId, QObject::tr("Node Name"), name); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:80:39: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | auto represents = QString::fromStdString(node["r"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:80:81: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | auto represents = QString::fromStdString(node["r"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:81:54: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | userNodeData->setValueBy(nodeId, QObject::tr("Node Represents"), represents); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:105:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Edge is missing ID.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:111:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Edge is missing source and/or target IDs.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:120:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Edge source or target ID is unknown.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:131:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Edge ID is not a number.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:140:40: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | auto interaction = QString::fromStdString(edge["i"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:140:82: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | auto interaction = QString::fromStdString(edge["i"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:141:54: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | userEdgeData->setValueBy(edgeId, QObject::tr("Edge Interaction"), interaction); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:152:40: warning: no header providing "json" is directly included [misc-include-cleaner] 27 | auto addAttribute = [parser](const json& attribute, const char* elementType, const auto& idMap, auto& userData) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:156:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("%1 attribute is missing ID.").arg(elementType)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:162:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("%1 attribute is missing name or value.").arg(elementType)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:168:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("%1 attribute name is not a string.").arg(elementType)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:174:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("%1 attribute value is not a string or list.").arg(elementType)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:182:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("%1 ID not in graph.").arg(elementType)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:187:30: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | auto attributeName = QObject::tr("%1 %2") | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:188:31: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | .arg(elementType, QString::fromStdString(attribute["n"].get())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:188:78: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | .arg(elementType, QString::fromStdString(attribute["n"].get())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:190:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString::fromStdString(attribute["v"].get()) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:190:60: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | QString::fromStdString(attribute["v"].get()) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:191:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString::fromStdString(attribute["v"].dump()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:239:28: warning: no header providing "json" is directly included [misc-include-cleaner] 27 | static bool parseCx2(const json& jsonArray, IGraphModel* graphModel, | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:240:5: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | IParser* parser, IUserNodeData* userNodeData, IUserEdgeData* userEdgeData) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:242:19: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | std::map nodeAttributeAliases; | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:242:32: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | std::map nodeAttributeAliases; | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:243:19: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | std::map edgeAttributeAliases; | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:243:32: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | std::map edgeAttributeAliases; | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:245:42: warning: no header providing "json" is directly included [misc-include-cleaner] 27 | auto findAttributeAliases = [](const json& declaration, std::map& map) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:245:75: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | auto findAttributeAliases = [](const json& declaration, std::map& map) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:245:88: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | auto findAttributeAliases = [](const json& declaration, std::map& map) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:256:63: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | const auto& shortName = members["a"].get(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:281:85: warning: no header providing "json" is directly included [misc-include-cleaner] 27 | auto addAttribute = [graphModel](const char* elementType, auto elementId, const json& attributes, | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:288:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString::fromStdString(attribute.value().get()) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:288:67: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | QString::fromStdString(attribute.value().get()) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:289:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString::fromStdString(attribute.value().dump()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:296:64: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | userData.setValueBy(elementId, u"Node Name"_s, attributeValue); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:304:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | auto attributeName = QObject::tr("%1 %2") | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:305:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | .arg(elementType, QString::fromStdString(name)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:323:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Node is missing ID.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:331:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Node ID is not a number.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:362:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Edge is missing ID.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:368:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Edge is missing source and/or target IDs.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:377:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | parser->setFailureReason(QObject::tr("Edge source or target ID is unknown.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:400:32: warning: no header providing "json" is directly included [misc-include-cleaner] 27 | bool CxParser::parseJson(const json& jsonArray, IGraphModel* graphModel) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:404:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Body is empty, or not an array.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:408:41: warning: no header providing "std::any_of" is directly included [misc-include-cleaner] 27 | auto arrayContainsNonObjects = std::any_of(jsonArray.begin(), jsonArray.end(), [](const auto& j) | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:415:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Body contains elements that aren't objects.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:424:50: warning: no header providing "std::string" is directly included [misc-include-cleaner] 28 | jsonArray.at(0).at("CXVersion").get().front() == '2'; | ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:428:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | setFailureReason(QObject::tr("Unknown version.")); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 18415 warnings generated. [5/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:23:1: warning: included header QUrl is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:27:5: warning: no header providing "matvar_t" is directly included [misc-include-cleaner] 24 | 25 | struct MatLabMatrix 26 | { 27 | matvar_t* _var = nullptr; | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:28:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | 25 | struct MatLabMatrix 26 | { 27 | matvar_t* _var = nullptr; 28 | size_t _numColumns = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:29:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | 25 | struct MatLabMatrix 26 | { 27 | matvar_t* _var = nullptr; 28 | size_t _numColumns = 0; 29 | size_t _numRows = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:37:32: warning: no header providing "matvar_t" is directly included [misc-include-cleaner] 24 | 25 | struct MatLabMatrix 26 | { 27 | matvar_t* _var = nullptr; 28 | size_t _numColumns = 0; 29 | size_t _numRows = 0; 30 | 31 | bool operator>(const MatLabMatrix& other) const 32 | { 33 | return (_numColumns * _numRows) > (other._numColumns * other._numRows); 34 | } 35 | }; 36 | 37 | MatLabMatrix findBiggestMatrix(matvar_t* v, MatLabMatrix& m) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:41:10: warning: no header providing "MAT_C_STRUCT" is directly included [misc-include-cleaner] 24 | case MAT_C_STRUCT: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:43:30: warning: no header providing "Mat_VarGetNumberOfFields" is directly included [misc-include-cleaner] 24 | for(auto i = 0u; i < Mat_VarGetNumberOfFields(v); i++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:45:27: warning: no header providing "Mat_VarGetStructFieldByIndex" is directly included [misc-include-cleaner] 24 | auto* field = Mat_VarGetStructFieldByIndex(v, i, 0); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:51:10: warning: no header providing "MAT_C_SPARSE" is directly included [misc-include-cleaner] 24 | case MAT_C_SPARSE: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:52:10: warning: no header providing "MAT_C_DOUBLE" is directly included [misc-include-cleaner] 24 | case MAT_C_DOUBLE: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:53:10: warning: no header providing "MAT_C_SINGLE" is directly included [misc-include-cleaner] 24 | case MAT_C_SINGLE: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:54:10: warning: no header providing "MAT_C_INT8" is directly included [misc-include-cleaner] 24 | case MAT_C_INT8: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:55:10: warning: no header providing "MAT_C_UINT8" is directly included [misc-include-cleaner] 24 | case MAT_C_UINT8: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:56:10: warning: no header providing "MAT_C_INT16" is directly included [misc-include-cleaner] 24 | case MAT_C_INT16: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:57:10: warning: no header providing "MAT_C_UINT16" is directly included [misc-include-cleaner] 24 | case MAT_C_UINT16: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:58:10: warning: no header providing "MAT_C_INT32" is directly included [misc-include-cleaner] 24 | case MAT_C_INT32: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:59:10: warning: no header providing "MAT_C_UINT32" is directly included [misc-include-cleaner] 24 | case MAT_C_UINT32: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:60:10: warning: no header providing "MAT_C_INT64" is directly included [misc-include-cleaner] 24 | case MAT_C_INT64: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:61:10: warning: no header providing "MAT_C_UINT64" is directly included [misc-include-cleaner] 24 | case MAT_C_UINT64: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:74:10: warning: no header providing "MAT_C_OBJECT" is directly included [misc-include-cleaner] 24 | case MAT_C_OBJECT: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:75:10: warning: no header providing "MAT_C_CHAR" is directly included [misc-include-cleaner] 24 | case MAT_C_CHAR: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:76:10: warning: no header providing "MAT_C_EMPTY" is directly included [misc-include-cleaner] 24 | case MAT_C_EMPTY: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:77:10: warning: no header providing "MAT_C_FUNCTION" is directly included [misc-include-cleaner] 24 | case MAT_C_FUNCTION: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:78:10: warning: no header providing "MAT_C_OPAQUE" is directly included [misc-include-cleaner] 24 | case MAT_C_OPAQUE: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:79:10: warning: no header providing "MAT_C_CELL" is directly included [misc-include-cleaner] 24 | case MAT_C_CELL: | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:87:32: warning: no header providing "matvar_t" is directly included [misc-include-cleaner] 24 | MatLabMatrix findBiggestMatrix(matvar_t* v) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:93:36: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 24 | bool MatLabFileParser::parse(const QUrl& url, IGraphModel*) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:93:47: warning: no header providing "IGraphModel" is directly included [misc-include-cleaner] 21 | bool MatLabFileParser::parse(const QUrl& url, IGraphModel*) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:97:21: warning: no header providing "Mat_Open" is directly included [misc-include-cleaner] 24 | auto* matFile = Mat_Open(url.toLocalFile().toUtf8().data(), MAT_ACC_RDONLY); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:97:65: warning: no header providing "MAT_ACC_RDONLY" is directly included [misc-include-cleaner] 24 | auto* matFile = Mat_Open(url.toLocalFile().toUtf8().data(), MAT_ACC_RDONLY); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:105:5: warning: no header providing "matvar_t" is directly included [misc-include-cleaner] 24 | matvar_t* matVar = nullptr; | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:110:21: warning: no header providing "Mat_VarReadNext" is directly included [misc-include-cleaner] 24 | while((matVar = Mat_VarReadNext(matFile)) != nullptr) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:121:18: warning: no header providing "MAT_T_DOUBLE" is directly included [misc-include-cleaner] 24 | case MAT_T_DOUBLE: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:122:18: warning: no header providing "MAT_T_SINGLE" is directly included [misc-include-cleaner] 24 | case MAT_T_SINGLE: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:123:18: warning: no header providing "MAT_T_INT64" is directly included [misc-include-cleaner] 24 | case MAT_T_INT64: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:123:65: warning: no header providing "mat_int64_t" is directly included [misc-include-cleaner] 24 | case MAT_T_INT64: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:124:18: warning: no header providing "MAT_T_UINT64" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT64: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:124:65: warning: no header providing "mat_uint64_t" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT64: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:125:18: warning: no header providing "MAT_T_INT32" is directly included [misc-include-cleaner] 24 | case MAT_T_INT32: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:125:65: warning: no header providing "mat_int32_t" is directly included [misc-include-cleaner] 24 | case MAT_T_INT32: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:126:18: warning: no header providing "MAT_T_UINT32" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT32: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:126:65: warning: no header providing "mat_uint32_t" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT32: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:127:18: warning: no header providing "MAT_T_INT16" is directly included [misc-include-cleaner] 24 | case MAT_T_INT16: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:127:65: warning: no header providing "mat_int16_t" is directly included [misc-include-cleaner] 24 | case MAT_T_INT16: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:128:18: warning: no header providing "MAT_T_UINT16" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT16: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:128:65: warning: no header providing "mat_uint16_t" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT16: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:129:18: warning: no header providing "MAT_T_INT8" is directly included [misc-include-cleaner] 24 | case MAT_T_INT8: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:129:65: warning: no header providing "mat_int8_t" is directly included [misc-include-cleaner] 24 | case MAT_T_INT8: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:130:18: warning: no header providing "MAT_T_UINT8" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT8: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:130:65: warning: no header providing "mat_uint8_t" is directly included [misc-include-cleaner] 24 | case MAT_T_UINT8: return storeMatVarAsTabularData(v); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:137:9: warning: no header providing "Mat_VarFree" is directly included [misc-include-cleaner] 24 | Mat_VarFree(matVar); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:140:5: warning: no header providing "Mat_Close" is directly included [misc-include-cleaner] 24 | Mat_Close(matFile); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:144:38: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 24 | bool MatLabFileParser::canLoad(const QUrl& url) | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:146:21: warning: no header providing "Mat_Open" is directly included [misc-include-cleaner] 24 | auto* matFile = Mat_Open(url.toLocalFile().toUtf8().data(), MAT_ACC_RDONLY); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:146:65: warning: no header providing "MAT_ACC_RDONLY" is directly included [misc-include-cleaner] 24 | auto* matFile = Mat_Open(url.toLocalFile().toUtf8().data(), MAT_ACC_RDONLY); | ^ /home/runner/work/graphia/graphia/source/shared/loading/matlabfileparser.cpp:151:5: warning: no header providing "Mat_Close" is directly included [misc-include-cleaner] 24 | Mat_Close(matFile); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11512 warnings generated. [6/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:25:1: warning: included header userelementdata.h is not used directly [misc-include-cleaner] 25 | #include "shared/loading/userelementdata.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:31:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~ 32 | /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:37:14: warning: no header providing "IGraphModel" is directly included [misc-include-cleaner] 21 | void addEdge(IGraphModel* graphModel, IUserEdgeData* userEdgeData, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:38:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId sourceNodeId, NodeId targetNodeId, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:38:26: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId sourceNodeId, NodeId targetNodeId, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:42:5: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | EdgeId edgeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:51:52: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | setWeights = userEdgeData->valueBy(edgeId, QObject::tr("Absolute Edge Weight")).toDouble() < absEdgeWeight; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:55:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | userEdgeData->setValueBy(edgeId, QObject::tr("Edge Weight"), QString::number(edgeWeight)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:56:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | userEdgeData->setValueBy(edgeId, QObject::tr("Absolute Edge Weight"), | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:61:59: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | bool parseAdjacencyMatrix(const TabularData& tabularData, IParser& parser, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:62:5: warning: no header providing "IGraphModel" is directly included [misc-include-cleaner] 21 | IGraphModel* graphModel, IUserNodeData* userNodeData, IUserEdgeData* userEdgeData, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:69:33: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | parser.setFailureReason(QObject::tr("Matrix is empty.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:77:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = 0; rowIndex < tabularData.numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:88:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t columnIndex = 0; columnIndex < tabularData.numColumns(); columnIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:98:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | const size_t dataStartRow = hasColumnHeaders ? 1 : 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:99:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | const size_t dataStartColumn = hasRowHeaders ? 1 : 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:106:33: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | parser.setFailureReason(QObject::tr("Matrix is not square.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:110:40: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | auto totalIterations = static_cast(tabularData.numColumns() * tabularData.numRows()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:111:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:113:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | std::map indexToNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:113:22: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::map indexToNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:115:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = dataStartRow; rowIndex < tabularData.numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:119:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t columnIndex = dataStartColumn; columnIndex < tabularData.numColumns(); columnIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:126:21: warning: no header providing "std::isnan" is directly included [misc-include-cleaner] 33 | if(std::isnan(edgeWeight) || !std::isfinite(edgeWeight)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:126:48: warning: no header providing "std::isfinite" is directly included [misc-include-cleaner] 33 | if(std::isnan(edgeWeight) || !std::isfinite(edgeWeight)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:129:39: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 33 | auto absEdgeWeight = std::abs(edgeWeight); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:134:71: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | auto addNode = [&indexToNodeId, graphModel, userNodeData](size_t index, const QString& name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:136:23: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(indexToNodeId, index)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:140:58: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | auto nodeName = !name.isEmpty() ? name : QObject::tr("Node %1").arg(index + 1); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:141:50: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | userNodeData->setValueBy(nodeId, QObject::tr("Node Name"), nodeName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:149:19: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId sourceNodeId = addNode(columnIndex, columnHeader); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:150:19: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId targetNodeId = addNode(rowIndex, rowHeader); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:168:52: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | bool parseEdgeList(const TabularData& tabularData, IParser& parser, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:169:5: warning: no header providing "IGraphModel" is directly included [misc-include-cleaner] 21 | IGraphModel* graphModel, IUserNodeData* userNodeData, IUserEdgeData* userEdgeData, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:172:23: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::map nodeIdMap; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:174:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | size_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:177:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = 0; rowIndex < tabularData.numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:183:17: warning: no header providing "std::isnan" is directly included [misc-include-cleaner] 33 | if(std::isnan(edgeWeight) || !std::isfinite(edgeWeight)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:183:44: warning: no header providing "std::isfinite" is directly included [misc-include-cleaner] 33 | if(std::isnan(edgeWeight) || !std::isfinite(edgeWeight)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:186:35: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 33 | auto absEdgeWeight = std::abs(edgeWeight); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:191:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId sourceNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:192:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId targetNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:194:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(nodeIdMap, firstCell)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:199:29: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | auto nodeName = QObject::tr("Node %1").arg(static_cast(sourceNodeId + 1)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:200:52: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | userNodeData->setValueBy(sourceNodeId, QObject::tr("Node Name"), nodeName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:206:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(nodeIdMap, secondCell)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:211:29: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | auto nodeName = QObject::tr("Node %1").arg(static_cast(targetNodeId + 1)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:212:52: warning: no header providing "QObject" is directly included [misc-include-cleaner] 34 | userNodeData->setValueBy(targetNodeId, QObject::tr("Node Name"), nodeName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:235:1: warning: no header providing "QmlTabularDataParser" is directly included [misc-include-cleaner] 21 | QmlTabularDataParser::MatrixTypeResult AdjacencyMatrixTabularDataParser::onParseComplete() | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:238:5: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | QPoint topLeft; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:247:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = 0; rowIndex < data.numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:249:19: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId source = data.valueAt(0, rowIndex).toInt(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:250:19: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId target = data.valueAt(1, rowIndex).toInt(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:261:41: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(auto rowIndex = static_cast(topLeft.y()); rowIndex < data.numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:263:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(auto columnIndex = static_cast(topLeft.x()); columnIndex < data.numColumns(); columnIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:270:52: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | edgeList.emplace_back(EdgeListEdge{NodeId(rowIndex), NodeId(columnIndex), weight}); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:270:70: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | edgeList.emplace_back(EdgeListEdge{NodeId(rowIndex), NodeId(columnIndex), weight}); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:294:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit binaryMatrixChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:297:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit graphSizeEstimateChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:302:1: warning: no header providing "QmlTabularDataParser" is directly included [misc-include-cleaner] 21 | QmlTabularDataParser::MatrixTypeResult AdjacencyMatrixTabularDataParser::isAdjacencyMatrix( | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:303:37: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | const TabularData& tabularData, QPoint* topLeft, size_t maxRows) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:303:54: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | const TabularData& tabularData, QPoint* topLeft, size_t maxRows) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:307:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 34 | std::vector potentialColumnHeaders; | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:316:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = 0; rowIndex < std::min(tabularData.numRows(), maxRows); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:316:46: warning: no header providing "std::min" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = 0; rowIndex < std::min(tabularData.numRows(), maxRows); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:318:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t columnIndex = 0; columnIndex < tabularData.numColumns(); columnIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:376:1: warning: no header providing "QmlTabularDataParser" is directly included [misc-include-cleaner] 21 | QmlTabularDataParser::MatrixTypeResult AdjacencyMatrixTabularDataParser::isEdgeList( | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:377:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | const TabularData& tabularData, size_t maxRows) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:382:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = 0; rowIndex < std::min(tabularData.numRows(), maxRows); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:382:46: warning: no header providing "std::min" is directly included [misc-include-cleaner] 33 | for(size_t rowIndex = 0; rowIndex < std::min(tabularData.numRows(), maxRows); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:397:78: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | bool AdjacencyMatrixTabularDataParser::parse(const TabularData& tabularData, IParser& parser, | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:398:5: warning: no header providing "IGraphModel" is directly included [misc-include-cleaner] 21 | IGraphModel* graphModel, IUserNodeData* userNodeData, IUserEdgeData* userEdgeData) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:424:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 34 | qmlRegisterType(APP_URI, APP_MAJOR_VERSION, | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 20013 warnings generated. [7/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:3:1: warning: included header x3.hpp is not used directly [misc-include-cleaner] 3 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | #include /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:4:1: warning: included header adapt_struct.hpp is not used directly [misc-include-cleaner] 4 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | #include /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:6:1: warning: included header boost_spirit_qstring_adapter.h is not used directly [misc-include-cleaner] 6 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 | /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:17:1: warning: included header QUrl is not used directly [misc-include-cleaner] 17 | #include | ^~~~~~~~~~~~~~~ 18 | #include /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:18:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 18 | #include | ^~~~~~~~~~~~~~~~~~~~ 19 | /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:22:1: warning: included header type_traits is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:34:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | #include 22 | #include 23 | #include 24 | #include 25 | 26 | // https://www.graphviz.org/doc/info/lang.html 27 | 28 | namespace SpiritDotParser 29 | { 30 | struct DotSubGraph; 31 | 32 | struct KeyValue 33 | { 34 | QString _key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:35:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | #include 22 | #include 23 | #include 24 | #include 25 | 26 | // https://www.graphviz.org/doc/info/lang.html 27 | 28 | namespace SpiritDotParser 29 | { 30 | struct DotSubGraph; 31 | 32 | struct KeyValue 33 | { 34 | QString _key; 35 | QString _value; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:38:28: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | 26 | // https://www.graphviz.org/doc/info/lang.html 27 | 28 | namespace SpiritDotParser 29 | { 30 | struct DotSubGraph; 31 | 32 | struct KeyValue 33 | { 34 | QString _key; 35 | QString _value; 36 | }; 37 | 38 | using AttributeList = std::vector; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:42:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | QString _text; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:47:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | QString _ignore1; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:48:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | QString _ignore2; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:57:46: warning: no header providing "boost::recursive_wrapper" is directly included [misc-include-cleaner] 20 | using EdgeEnd = std::variant>; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:59:8: warning: an exception may be thrown in function 'operator=' which should not throw exceptions [bugprone-exception-escape] 59 | struct EdgeStatement | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:62:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector _edgeEnds; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:68:10: warning: no header providing "std::string" is directly included [misc-include-cleaner] 21 | std::string _type; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:72:39: warning: no header providing "boost::recursive_wrapper" is directly included [misc-include-cleaner] 20 | using Statement = std::variant, KeyValue, | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:74:28: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | using StatementList = std::vector; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:78:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | QString _id; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:84:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | QString _id; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:90:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 3 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:96:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 3 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:103:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 3 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:109:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 3 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:116:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 3 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:122:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 3 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:128:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 3 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:139:11: warning: no header providing "boost::spirit::x3::standard::lit" is directly included [misc-include-cleaner] 20 | using x3::lit; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:140:11: warning: no header providing "boost::spirit::x3::standard::string" is directly included [misc-include-cleaner] 20 | using x3::string; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:142:5: warning: no header providing "boost::spirit::x3::real_parser" is directly included [misc-include-cleaner] 20 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:142:29: warning: no header providing "boost::spirit::x3::strict_real_policies" is directly included [misc-include-cleaner] 20 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:143:11: warning: no header providing "boost::spirit::x3::lexeme" is directly included [misc-include-cleaner] 20 | using x3::lexeme; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:144:14: warning: no header providing "boost::spirit::x3::ascii::char_" is directly included [misc-include-cleaner] 20 | using ascii::char_; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:146:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule dotSubGraph = "dotSubGraph"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:148:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule alphaNumericId = "alphaNumericId"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:148:27: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const x3::rule alphaNumericId = "alphaNumericId"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:151:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule numeral = "numeral"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:151:25: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const x3::rule numeral = "numeral"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:155:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule quotedString = "quotedString"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:155:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const x3::rule quotedString = "quotedString"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:159:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule nonXml = "nonXml"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:159:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const x3::rule nonXml = "nonXml"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:162:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule xmlTag = "xmlTag"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:162:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const x3::rule xmlTag = "xmlTag"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:165:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule htmlString = "htmlString"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:165:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const x3::rule htmlString = "htmlString"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:168:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule identifier = "identifier"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:168:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const x3::rule identifier = "identifier"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:174:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule keyValueList = "keyValueList"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:177:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule dotNode = "Node"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:183:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule nodeStatement = "nodeStatement"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:186:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule edgeEnd = "edgeEnd"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:189:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule edgeStatement = "edgeStatement"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:192:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule attributeStatement = "attributeStatement"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:195:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule statement = "statement"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:198:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule statementList = "list"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:204:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule dotGraph = "dotGraph"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:208:1: warning: no header providing "BOOST_SPIRIT_DEFINE" is directly included [misc-include-cleaner] 20 | BOOST_SPIRIT_DEFINE(dotGraph, dotSubGraph, keyValue, keyValueList, | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:218:36: warning: no header providing "boost::spirit::x3::eol" is directly included [misc-include-cleaner] 20 | "//" >> *~char_("\r\n") >> x3::eol]; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:220:39: warning: no header providing "boost::spirit::x3::ascii::space" is directly included [misc-include-cleaner] 20 | const auto skipper = comment | ascii::space; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:225:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:226:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:227:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | std::map dotNodeToNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:228:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector attributeStatements; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:230:30: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | auto addNode = [&](const QString& nodeName) | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:237:45: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | userNodeData.setValueBy(nodeId, QObject::tr("Node Name"), nodeName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:245:24: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::function(const Statement& s)> processStatement; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:245:31: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | std::function(const Statement& s)> processStatement; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:249:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector nodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:249:21: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | std::vector nodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:250:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | size_t i = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:267:50: warning: no header providing "boost::recursive_wrapper" is directly included [misc-include-cleaner] 20 | [&processStatementList](const boost::recursive_wrapper& subGraph) | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:270:31: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | { return std::vector({node._text}); } | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:270:38: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | { return std::vector({node._text}); } | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:278:30: warning: no header providing "boost::recursive_wrapper" is directly included [misc-include-cleaner] 20 | [&](const boost::recursive_wrapper& subGraph) | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:283:29: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | return std::vector{}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:283:36: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | return std::vector{}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:287:22: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector addedEdgeIds; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:293:26: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector sourceNodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:294:26: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector targetNodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:318:40: warning: no header providing "std::move" is directly included [misc-include-cleaner] 21 | sourceNodes = std::move(targetNodes); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:325:31: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Edge ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:325:55: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Edge ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:330:29: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | return std::vector{}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:330:36: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | return std::vector{}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:338:27: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Node ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:338:51: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Node ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:342:29: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | return std::vector({node._node._text}); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:342:36: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | return std::vector({node._node._text}); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:344:38: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | [](auto&&) { return std::vector(); } // Ignore everything else | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:344:45: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | [](auto&&) { return std::vector(); } // Ignore everything else | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:360:27: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Node ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:360:51: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Node ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:371:27: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Edge ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:371:51: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | const QString attributeName = QObject::tr("Edge ") + attribute._key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:387:23: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | userNodeData->add(QObject::tr("Node Name")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:390:33: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 21 | bool DotFileParser::parse(const QUrl& url, IGraphModel* graphModel) | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:392:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 21 | Q_ASSERT(graphModel != nullptr); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:396:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 21 | const QString localFile = url.toLocalFile(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:397:11: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 21 | const QFileInfo fileInfo(localFile); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:405:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | setFailureReason(QObject::tr("File is empty.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:412:24: warning: no header providing "std::ios" is directly included [misc-include-cleaner] 21 | stream.unsetf(std::ios::skipws); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:420:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | [this, &fileSize](size_t position) | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:422:69: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | setProgress(static_cast((position * 100) / static_cast(fileSize))); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:428:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | setPhase(QObject::tr("Parsing")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:431:47: warning: no header providing "boost::spirit::x3::phrase_parse" is directly included [misc-include-cleaner] 20 | const bool success = SpiritDotParser::x3::phrase_parse(it, end, | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:437:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 21 | setPhase(QObject::tr("Building Graph")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/progress_iterator.h:44:50: warning: forwarding reference parameter 'onPositionChangedFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 44 | void onPositionChanged(OnPositionChangedFn&& onPositionChangedFn) | ^ /home/runner/work/graphia/graphia/source/shared/loading/progress_iterator.h:50:39: warning: forwarding reference parameter 'cancelledFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 50 | void setCancelledFn(CancelledFn&& cancelledFn) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 26766 warnings generated. [8/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:21:1: warning: included header x3.hpp is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:22:1: warning: included header adapt_struct.hpp is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:24:1: warning: included header boost_spirit_qstring_adapter.h is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:34:1: warning: included header QUrl is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:35:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~~~~~~ 36 | #include /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:36:1: warning: included header QTextDocumentFragment is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:49:19: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 41 | 42 | using namespace Qt::Literals::StringLiterals; 43 | 44 | // https://www.google.com/search?q=gml-technical-report.pdf 45 | 46 | namespace SpiritGmlParser 47 | { 48 | struct KeyValue; 49 | using List = std::vector>; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:49:33: warning: no header providing "boost::recursive_wrapper" is directly included [misc-include-cleaner] 38 | #include 39 | #include 40 | #include 41 | 42 | using namespace Qt::Literals::StringLiterals; 43 | 44 | // https://www.google.com/search?q=gml-technical-report.pdf 45 | 46 | namespace SpiritGmlParser 47 | { 48 | struct KeyValue; 49 | using List = std::vector>; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:51:41: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | #include 40 | #include 41 | 42 | using namespace Qt::Literals::StringLiterals; 43 | 44 | // https://www.google.com/search?q=gml-technical-report.pdf 45 | 46 | namespace SpiritGmlParser 47 | { 48 | struct KeyValue; 49 | using List = std::vector>; 50 | 51 | using Value = std::variant; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:54:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | #include 40 | #include 41 | 42 | using namespace Qt::Literals::StringLiterals; 43 | 44 | // https://www.google.com/search?q=gml-technical-report.pdf 45 | 46 | namespace SpiritGmlParser 47 | { 48 | struct KeyValue; 49 | using List = std::vector>; 50 | 51 | using Value = std::variant; 52 | struct KeyValue 53 | { 54 | QString _key; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:59:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 21 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:70:11: warning: no header providing "boost::spirit::x3::standard::lit" is directly included [misc-include-cleaner] 38 | using x3::lit; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:72:5: warning: no header providing "boost::spirit::x3::real_parser" is directly included [misc-include-cleaner] 38 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:72:29: warning: no header providing "boost::spirit::x3::strict_real_policies" is directly included [misc-include-cleaner] 38 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:73:11: warning: no header providing "boost::spirit::x3::int_" is directly included [misc-include-cleaner] 38 | using x3::int_; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:74:11: warning: no header providing "boost::spirit::x3::lexeme" is directly included [misc-include-cleaner] 38 | using x3::lexeme; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:75:14: warning: no header providing "boost::spirit::x3::ascii::char_" is directly included [misc-include-cleaner] 38 | using ascii::char_; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:77:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 38 | const x3::rule gmlList = "list"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:79:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 38 | const x3::rule noQuotesString = "noQuotesString"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:79:38: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | const x3::rule noQuotesString = "noQuotesString"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:82:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 38 | const x3::rule gmlValue = "value"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:85:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 38 | const x3::rule gmlKey = "key"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:85:25: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | const x3::rule gmlKey = "key"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:93:1: warning: no header providing "BOOST_SPIRIT_DEFINE" is directly included [misc-include-cleaner] 38 | BOOST_SPIRIT_DEFINE(gmlList, noQuotesString, gmlKey, gmlValue, gmlKeyValue) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:97:21: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | Attribute(const QString& name, const QString& value) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:97:42: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | Attribute(const QString& name, const QString& value) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:101:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | QString _name; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:102:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | QString _value; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:105:30: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 41 | using AttributeVector = std::vector; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:111:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | QString _name; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:112:32: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | explicit Visitor(const QString& name) : _name(name) {} | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:114:79: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | AttributeVector operator()(double v) const { return {{_name, QString::number(v)}}; } | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:115:79: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | AttributeVector operator()(int v) const { return {{_name, QString::number(v)}}; } | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:116:42: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | AttributeVector operator()(const QString& v) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:118:29: warning: no header providing "QTextDocumentFragment" is directly included [misc-include-cleaner] 39 | return {{_name, QTextDocumentFragment::fromHtml(v).toPlainText()}}; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:130:27: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | const QString subName = _name + "." + childAttribute._name; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:145:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | auto findIntValue = [](const List& list, const QString& key) -> const int* | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:147:30: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 21 | auto keyValue = std::find_if(list.begin(), list.end(), [&key](auto& item) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:162:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | const auto* id = findIntValue(node, u"id"_s); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:169:25: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | auto nodeName = QString::number(*id); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:174:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(keyValue._key == u"id"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:177:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(keyValue._key == u"label"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:180:49: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | const auto* label = std::get_if(&keyValue._value); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:190:27: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | const QString attributeName = QObject::tr("Node ") + attribute._name; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:190:51: warning: no header providing "QObject" is directly included [misc-include-cleaner] 39 | const QString attributeName = QObject::tr("Node ") + attribute._name; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:196:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 39 | userNodeData.setValueBy(nodeId, QObject::tr("Node Name"), nodeName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:204:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | const auto* sourceId = findIntValue(edge, u"source"_s); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:205:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | const auto* targetId = findIntValue(edge, u"target"_s); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:220:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(keyValue._key == u"source"_s || keyValue._key == u"target"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:220:74: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(keyValue._key == u"source"_s || keyValue._key == u"target"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:227:23: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | const QString attributeName = QObject::tr("Edge ") + attribute._name; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:227:47: warning: no header providing "QObject" is directly included [misc-include-cleaner] 39 | const QString attributeName = QObject::tr("Edge ") + attribute._name; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:235:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 41 | std::vector edges; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:241:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(key == u"graph"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:248:13: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 38 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:261:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(type == u"node"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:263:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | else if(type == u"edge"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:289:23: warning: no header providing "QObject" is directly included [misc-include-cleaner] 39 | userNodeData->add(QObject::tr("Node Name")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:292:33: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 39 | bool GmlFileParser::parse(const QUrl& url, IGraphModel* graphModel) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:294:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 39 | Q_ASSERT(graphModel != nullptr); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:298:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | const QString localFile = url.toLocalFile(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:299:11: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 39 | const QFileInfo fileInfo(localFile); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:307:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 39 | setFailureReason(QObject::tr("File is empty.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:318:24: warning: no header providing "std::ios" is directly included [misc-include-cleaner] 39 | stream.unsetf(std::ios::skipws); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:326:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 38 | [this, &fileSize](size_t position) | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:328:69: warning: no header providing "size_t" is directly included [misc-include-cleaner] 38 | setProgress(static_cast((position * 100) / static_cast(fileSize))); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:334:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 39 | setPhase(QObject::tr("Parsing")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:337:47: warning: no header providing "boost::spirit::x3::phrase_parse" is directly included [misc-include-cleaner] 38 | const bool success = SpiritGmlParser::x3::phrase_parse(it, end, | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:338:59: warning: no header providing "boost::spirit::x3::ascii::space" is directly included [misc-include-cleaner] 38 | SpiritGmlParser::gmlList, SpiritGmlParser::ascii::space, gml); | ^ /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:343:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 39 | setPhase(QObject::tr("Building Graph")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/progress_iterator.h:44:50: warning: forwarding reference parameter 'onPositionChangedFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 44 | void onPositionChanged(OnPositionChangedFn&& onPositionChangedFn) | ^ /home/runner/work/graphia/graphia/source/shared/loading/progress_iterator.h:50:39: warning: forwarding reference parameter 'cancelledFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 50 | void setCancelledFn(CancelledFn&& cancelledFn) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 26679 warnings generated. [9/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:22:1: warning: included header elementid_debug.h is not used directly [misc-include-cleaner] 22 | #include "shared/graph/elementid_debug.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include "shared/graph/imutablegraph.h" /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:26:1: warning: included header QXmlStreamReader is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:28:1: warning: included header QDebug is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:29:1: warning: included header QUrl is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:42:23: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | #include 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | // http://graphml.graphdrawing.org/primer/graphml-primer.html 37 | 38 | GraphMLParser::GraphMLParser(IUserNodeData* userNodeData, IUserEdgeData* userEdgeData) : 39 | _userNodeData(userNodeData), _userEdgeData(userEdgeData) 40 | { 41 | // Add this up front, so that it appears first in the attribute table 42 | userNodeData->add(QObject::tr("Node Name")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:45:33: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 31 | #include 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | // http://graphml.graphdrawing.org/primer/graphml-primer.html 37 | 38 | GraphMLParser::GraphMLParser(IUserNodeData* userNodeData, IUserEdgeData* userEdgeData) : 39 | _userNodeData(userNodeData), _userEdgeData(userEdgeData) 40 | { 41 | // Add this up front, so that it appears first in the attribute table 42 | userNodeData->add(QObject::tr("Node Name")); 43 | } 44 | 45 | bool GraphMLParser::parse(const QUrl& url, IGraphModel* graphModel) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:47:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(graphModel != nullptr); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:54:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Unable to Open File.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:61:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("File is empty.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:67:5: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 31 | QXmlStreamReader xsr(&file); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:68:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | std::stack stack; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:69:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | std::map nodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:69:23: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::map nodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:70:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | std::map nodeAttributes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:70:23: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | std::map nodeAttributes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:71:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | std::map edgeAttributes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:71:23: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | std::map edgeAttributes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:75:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId activeNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:76:5: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | EdgeId activeEdgeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:77:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | QString activeKey; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:79:29: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 31 | auto processToken = [&](QXmlStreamReader::TokenType tokenType) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:83:30: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Node and edge both active: %1 %2") | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:90:14: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 31 | case QXmlStreamReader::StartElement: | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:96:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(elementName == u"graphml"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:98:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(elementName == u"graph"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:105:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "WARNING: nested graphs not supported"; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:108:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(elementName == u"key"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:110:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(!attributes.hasAttribute(u"attr.name"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:113:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(!attributes.hasAttribute(u"for"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:116:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(!attributes.hasAttribute(u"id"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:119:74: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const auto& attributeName = attributes.value(u"attr.name"_s); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:120:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const auto& keyId = attributes.value(u"id"_s); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:122:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(attributes.value(u"for"_s) == u"node"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:122:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(attributes.value(u"for"_s) == u"node"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:124:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(attributes.value(u"for"_s) == u"edge"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:124:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(attributes.value(u"for"_s) == u"edge"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:131:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(elementName == u"node"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:133:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(!attributes.hasAttribute(u"id"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:135:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Node has no id.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:139:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const auto& nodeName = attributes.value(u"id"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:143:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Duplicate node id: %1").arg(nodeName)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:150:57: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | _userNodeData->setValueBy(activeNodeId, QObject::tr("Node Name"), nodeName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:153:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(elementName == u"edge"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:155:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(!attributes.hasAttribute(u"source"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:157:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Edge missing source.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:161:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(!attributes.hasAttribute(u"target"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:163:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Edge missing target.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:167:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const auto& sourceName = attributes.value(u"source"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:168:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const auto& targetName = attributes.value(u"target"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:172:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "WARNING: Edge has unknown source or target:" << sourceName << targetName; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:181:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(attributes.hasAttribute(u"id"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:183:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | auto edgeName = attributes.value(u"id"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:184:61: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | _userEdgeData->setValueBy(activeEdgeId, QObject::tr("Edge Name"), edgeName); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:187:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(elementName == u"data"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:189:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(!attributes.hasAttribute(u"key"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:192:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | activeKey = attributes.value(u"key"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:198:14: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 31 | case QXmlStreamReader::Characters: | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:216:14: warning: no header providing "QXmlStreamReader" is directly included [misc-include-cleaner] 31 | case QXmlStreamReader::EndElement: | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:222:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Orphan end element: %1").arg(elementName)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:229:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("Start and end element mismatch: %1 != %2") | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:236:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(elementName == u"graph"_s) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:242:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | if(elementName == u"node"_s && !activeNodeId.isNull()) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:244:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(elementName == u"edge"_s && !activeEdgeId.isNull()) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:246:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | else if(elementName == u"data"_s && !activeKey.isEmpty()) | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:277:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("graphml header not found.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphmlparser.cpp:283:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setFailureReason(QObject::tr("XML parse error: %1").arg(xsr.errorString())); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11721 warnings generated. [10/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:26:1: warning: included header QVector is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:35:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | #include 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | QVariantMap graphSizeEstimateThreshold(EdgeList edgeList, | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:35:40: warning: no header providing "EdgeList" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | #include "shared/graph/elementid_containers.h" 24 | #include "shared/graph/undirectededge.h" 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | QVariantMap graphSizeEstimateThreshold(EdgeList edgeList, | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:54:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector keys; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:55:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector estimatedNumNodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:56:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector estimatedNumEdges; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:57:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector estimatedNumUniqueEdges; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:59:30: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | keys.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:60:43: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | estimatedNumNodes.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:61:43: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | estimatedNumEdges.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:62:49: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | estimatedNumUniqueEdges.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:107:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 29 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:108:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"keys"_s, QVariant::fromValue(keys)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:108:27: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"keys"_s, QVariant::fromValue(keys)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:109:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"numNodes"_s, QVariant::fromValue(estimatedNumNodes)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:109:31: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"numNodes"_s, QVariant::fromValue(estimatedNumNodes)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:110:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"numEdges"_s, QVariant::fromValue(estimatedNumEdges)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:110:31: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"numEdges"_s, QVariant::fromValue(estimatedNumEdges)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:111:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"numUniqueEdges"_s, QVariant::fromValue(estimatedNumUniqueEdges)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:111:37: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"numUniqueEdges"_s, QVariant::fromValue(estimatedNumUniqueEdges)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:115:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 29 | QVariantMap graphSizeEstimateKnn(EdgeList edgeList, size_t maximumK, | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:115:34: warning: no header providing "EdgeList" is directly included [misc-include-cleaner] 21 | QVariantMap graphSizeEstimateKnn(EdgeList edgeList, size_t maximumK, | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:130:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector keys; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:131:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector estimatedNumNodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:132:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector estimatedNumEdges; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:133:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 29 | QVector estimatedNumUniqueEdges; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:135:30: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | keys.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:136:43: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | estimatedNumNodes.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:137:43: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | estimatedNumEdges.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:138:49: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 29 | estimatedNumUniqueEdges.reserve(static_cast(numEstimateSamples)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:140:20: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | NodeIdMap> nodes; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:167:23: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId opposite = (nodeId == edge._source) ? edge._target : edge._source; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:200:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 29 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:201:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"keys"_s, QVariant::fromValue(keys)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:201:27: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"keys"_s, QVariant::fromValue(keys)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:202:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"numNodes"_s, QVariant::fromValue(estimatedNumNodes)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:202:31: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"numNodes"_s, QVariant::fromValue(estimatedNumNodes)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:203:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"numEdges"_s, QVariant::fromValue(estimatedNumEdges)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:203:31: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"numEdges"_s, QVariant::fromValue(estimatedNumEdges)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:204:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | map.insert(u"numUniqueEdges"_s, QVariant::fromValue(estimatedNumUniqueEdges)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/graphsizeestimate.cpp:204:37: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 29 | map.insert(u"numUniqueEdges"_s, QVariant::fromValue(estimatedNumUniqueEdges)); | ^ 10903 warnings generated. [11/195] /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:24:1: warning: included header QUrl is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:25:1: warning: included header QByteArray is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:26:1: warning: included header QDataStream is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:30:30: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | bool JsonParser::parse(const QUrl& url, IGraphModel* graphModel) | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:33:5: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | bool JsonParser::parse(const QUrl& url, IGraphModel* graphModel) 31 | { 32 | QFile file(url.toLocalFile()); 33 | QByteArray byteArray; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:35:19: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | bool JsonParser::parse(const QUrl& url, IGraphModel* graphModel) 31 | { 32 | QFile file(url.toLocalFile()); 33 | QByteArray byteArray; 34 | 35 | if(!file.open(QIODevice::ReadOnly)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:49:5: warning: no header providing "qint64" is directly included [misc-include-cleaner] 28 | qint64 bytesRead = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:50:5: warning: no header providing "QDataStream" is directly included [misc-include-cleaner] 28 | QDataStream input(&file); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:65:21: warning: no header providing "parseJsonFrom" is directly included [misc-include-cleaner] 28 | auto jsonBody = parseJsonFrom(byteArray, this); | ^ 17264 warnings generated. [12/195] /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:26:39: warning: no header providing "json" is directly included [misc-include-cleaner] 25 | 26 | bool JsonGraphParser::parseJson(const json& jsonObject, IGraphModel* graphModel) | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:30:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | 26 | bool JsonGraphParser::parseJson(const json& jsonObject, IGraphModel* graphModel) 27 | { 28 | if(jsonObject.is_null() || !jsonObject.is_object()) 29 | { 30 | setFailureReason(QObject::tr("Body is empty, or not an object.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:34:11: warning: no header providing "json" is directly included [misc-include-cleaner] 25 | 26 | bool JsonGraphParser::parseJson(const json& jsonObject, IGraphModel* graphModel) 27 | { 28 | if(jsonObject.is_null() || !jsonObject.is_object()) 29 | { 30 | setFailureReason(QObject::tr("Body is empty, or not an object.")); 31 | return false; 32 | } 33 | 34 | const json* graph = nullptr; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:42:26: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | setFailureReason(QObject::tr("Body doesn't contain a graph object.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:49:46: warning: no header providing "json" is directly included [misc-include-cleaner] 25 | bool JsonGraphParser::parseGraphObject(const json& jsonGraphObject, IGraphModel* graphModel, | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:50:5: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | IParser& parser, bool useElementIdsLiterally, | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:55:33: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | parser.setFailureReason(QObject::tr("Graph doesn't contain nodes or edges arrays.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:62:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 25 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:64:21: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | parser.setPhase(QObject::tr("Nodes")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:66:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 25 | std::map stringNodeIdToNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:66:19: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | std::map stringNodeIdToNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:66:27: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::map stringNodeIdToNodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:71:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | parser.setFailureReason(QObject::tr("Node has no ID.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:75:53: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | auto nodeIdString = jsonNode["id"].get(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:77:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId nodeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:81:27: warning: no header providing "std::stoi" is directly included [misc-include-cleaner] 25 | nodeId = std::stoi(nodeIdString); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:92:61: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | auto nodeJsonLabel = jsonNode["label"].get(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:93:45: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | graphModel->setNodeName(nodeId, QString::fromStdString(nodeJsonLabel)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:101:28: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | auto key = QString::fromStdString(it.key()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:102:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString value; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:105:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | value = QString::fromStdString(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:105:72: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | value = QString::fromStdString(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:107:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | value = QString::number(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:109:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | value = QString::number(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:122:21: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | parser.setPhase(QObject::tr("Edges")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:127:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | parser.setFailureReason(QObject::tr("Edge has no source or target.")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:134:59: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | auto sourceIdString = jsonEdge["source"].get(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:135:59: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | auto targetIdString = jsonEdge["target"].get(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:143:9: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | EdgeId edgeId; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:144:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId sourceId = stringNodeIdToNodeId.at(sourceIdString); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:145:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId targetId = stringNodeIdToNodeId.at(targetIdString); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:149:27: warning: no header providing "std::stoi" is directly included [misc-include-cleaner] 25 | edgeId = std::stoi(jsonEdge["id"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:149:56: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | edgeId = std::stoi(jsonEdge["id"].get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:162:23: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | const QString key = QString::fromStdString(it.key()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:162:37: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | const QString key = QString::fromStdString(it.key()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:163:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString value; | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:166:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | value = QString::fromStdString(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:166:72: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | value = QString::fromStdString(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:168:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | value = QString::number(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/jsongraphparser.cpp:170:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | value = QString::number(it.value().get()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 18156 warnings generated. [13/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:28:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:29:1: warning: included header QFuture is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:30:1: warning: included header QtConcurrentRun is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:31:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~ 32 | /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:38:5: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | ValueType valueTypes, const QStringList& skip, HeaderModelType headerModelType) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:38:33: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | QmlTabularDataHeaderModel::QmlTabularDataHeaderModel(const QmlTabularDataParser* parser, 38 | ValueType valueTypes, const QStringList& skip, HeaderModelType headerModelType) : | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:41:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | #include 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | QmlTabularDataHeaderModel::QmlTabularDataHeaderModel(const QmlTabularDataParser* parser, 38 | ValueType valueTypes, const QStringList& skip, HeaderModelType headerModelType) : 39 | _parser(parser), _type(headerModelType) 40 | { 41 | const size_t num = _type == HeaderModelType::Rows ? | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:47:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | #include 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | QmlTabularDataHeaderModel::QmlTabularDataHeaderModel(const QmlTabularDataParser* parser, 38 | ValueType valueTypes, const QStringList& skip, HeaderModelType headerModelType) : 39 | _parser(parser), _type(headerModelType) 40 | { 41 | const size_t num = _type == HeaderModelType::Rows ? 42 | _parser->_dataPtr->numColumns() : 43 | _parser->_dataPtr->numRows(); 44 | 45 | _indices.reserve(num); 46 | 47 | for(size_t index = 0; index < num; index++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:53:20: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 27 | if(type == TypeIdentity::Type::String && !(valueTypes & ValueType::String)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:53:40: warning: no header providing "TypeIdentity::Type::String" is directly included [misc-include-cleaner] 27 | if(type == TypeIdentity::Type::String && !(valueTypes & ValueType::String)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:53:65: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | if(type == TypeIdentity::Type::String && !(valueTypes & ValueType::String)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:53:76: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 21 | if(type == TypeIdentity::Type::String && !(valueTypes & ValueType::String)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:56:20: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 27 | if(type == TypeIdentity::Type::Int && !(valueTypes & ValueType::Int)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:56:40: warning: no header providing "TypeIdentity::Type::Int" is directly included [misc-include-cleaner] 27 | if(type == TypeIdentity::Type::Int && !(valueTypes & ValueType::Int)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:56:62: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | if(type == TypeIdentity::Type::Int && !(valueTypes & ValueType::Int)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:56:73: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | if(type == TypeIdentity::Type::Int && !(valueTypes & ValueType::Int)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:59:20: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 27 | if(type == TypeIdentity::Type::Float && !(valueTypes & ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:59:40: warning: no header providing "TypeIdentity::Type::Float" is directly included [misc-include-cleaner] 27 | if(type == TypeIdentity::Type::Float && !(valueTypes & ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:59:64: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | if(type == TypeIdentity::Type::Float && !(valueTypes & ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:59:75: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | if(type == TypeIdentity::Type::Float && !(valueTypes & ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:76:47: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 34 | int QmlTabularDataHeaderModel::rowCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:81:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 34 | QVariant QmlTabularDataHeaderModel::data(const QModelIndex& modelIndex, int role) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:81:48: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 34 | QVariant QmlTabularDataHeaderModel::data(const QModelIndex& modelIndex, int role) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:83:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | auto indicesIndex = static_cast(modelIndex.row()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:90:20: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 34 | if(role == Qt::DisplayRole) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:103:1: warning: no header providing "QHash" is directly included [misc-include-cleaner] 34 | QHash QmlTabularDataHeaderModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:103:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 34 | QHash QmlTabularDataHeaderModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:105:18: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 34 | auto names = QAbstractItemModel::roleNames(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:112:47: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 34 | int QmlTabularDataHeaderModel::indexFor(const QModelIndex& modelIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:117:1: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 34 | QModelIndex QmlTabularDataHeaderModel::modelIndexOf(int roleIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:129:35: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 34 | connect(&_dataParserWatcher, &QFutureWatcher::started, this, &QmlTabularDataParser::busyChanged); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:130:35: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 34 | connect(&_dataParserWatcher, &QFutureWatcher::finished, this, &QmlTabularDataParser::busyChanged); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:131:35: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 34 | connect(&_dataParserWatcher, &QFutureWatcher::finished, this, &QmlTabularDataParser::onDataLoaded); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:138:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit progressChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:142:21: warning: no header providing "std::make_shared" is directly included [misc-include-cleaner] 34 | _dataPtr = std::make_shared(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:142:33: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 21 | _dataPtr = std::make_shared(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:156:40: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 34 | bool QmlTabularDataParser::parse(const QUrl& fileUrl) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:160:11: warning: no header providing "QFuture" is directly included [misc-include-cleaner] 34 | const QFuture future = QtConcurrent::run([this, fileUrl] | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:160:48: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] 34 | const QFuture future = QtConcurrent::run([this, fileUrl] | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:182:41: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 21 | _dataPtr = std::make_shared(std::move(parser.tabularData())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:184:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit dataChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:189:18: warning: no header providing "QString" is directly included [misc-include-cleaner] 34 | std::map> parsers = | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:189:32: warning: no header providing "std::function" is directly included [misc-include-cleaner] 33 | std::map> parsers = | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:191:20: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | {u"csv"_s, [&tryToParseUsing]{ return tryToParseUsing(CsvFileParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:191:71: warning: no header providing "CsvFileParser" is directly included [misc-include-cleaner] 21 | {u"csv"_s, [&tryToParseUsing]{ return tryToParseUsing(CsvFileParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:192:20: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | {u"tsv"_s, [&tryToParseUsing]{ return tryToParseUsing(TsvFileParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:192:71: warning: no header providing "TsvFileParser" is directly included [misc-include-cleaner] 21 | {u"tsv"_s, [&tryToParseUsing]{ return tryToParseUsing(TsvFileParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:193:20: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | {u"ssv"_s, [&tryToParseUsing]{ return tryToParseUsing(SsvFileParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:193:71: warning: no header providing "SsvFileParser" is directly included [misc-include-cleaner] 21 | {u"ssv"_s, [&tryToParseUsing]{ return tryToParseUsing(SsvFileParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:194:21: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | {u"xlsx"_s, [&tryToParseUsing]{ return tryToParseUsing(XlsxTabularDataParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:195:20: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | {u"mat"_s, [&tryToParseUsing]{ return tryToParseUsing(MatLabFileParser()); }}, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:196:20: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | {u"txt"_s, [&tryToParseUsing]{ return tryToParseUsing(TxtFileParser()); }} | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:196:71: warning: no header providing "TxtFileParser" is directly included [misc-include-cleaner] 21 | {u"txt"_s, [&tryToParseUsing]{ return tryToParseUsing(TxtFileParser()); }} | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:199:26: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 34 | auto extension = QFileInfo(fileUrl.toLocalFile()).suffix(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:263:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit dataChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:269:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit progressChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:275:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit completeChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:281:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit failedChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:285:84: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 34 | QmlTabularDataHeaderModel* QmlTabularDataParser::rowHeaders(int _valueTypes, const QStringList& skip) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:287:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 34 | Q_ASSERT(_dataPtr != nullptr); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:291:35: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | auto valueTypes = static_cast(_valueTypes); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:297:87: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 34 | QmlTabularDataHeaderModel* QmlTabularDataParser::columnHeaders(int _valueTypes, const QStringList& skip) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:299:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 34 | Q_ASSERT(_dataPtr != nullptr); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:303:35: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | auto valueTypes = static_cast(_valueTypes); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:314:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit failureReasonChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:317:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit failedChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:322:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit dataLoaded(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:326:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit completeChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:329:1: warning: no header providing "Q_DECLARE_INTERFACE" is directly included [misc-include-cleaner] 34 | Q_DECLARE_INTERFACE(QmlTabularDataHeaderModel, APP_URI) | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:333:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 34 | qmlRegisterType(APP_URI, APP_MAJOR_VERSION, | ^ /home/runner/work/graphia/graphia/source/shared/loading/qmltabulardataparser.cpp:336:5: warning: no header providing "qmlRegisterInterface" is directly included [misc-include-cleaner] 34 | qmlRegisterInterface("TabularDataHeaderModel", APP_MAJOR_VERSION); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 13567 warnings generated. [14/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:25:46: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | #include "shared/utils/source_location.h" 22 | 23 | #include 24 | 25 | XlsxTabularDataParser::XlsxTabularDataParser(IParser* parent) | ^ /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:31:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | #include 24 | 25 | XlsxTabularDataParser::XlsxTabularDataParser(IParser* parent) 26 | { 27 | if(parent != nullptr) 28 | setProgressFn([parent](int percent) { parent->setProgress(percent); }); 29 | } 30 | 31 | static int cellCallback(size_t row, size_t column, const XLSXIOCHAR* value, void* cbData) | ^ /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:31:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | #include 24 | 25 | XlsxTabularDataParser::XlsxTabularDataParser(IParser* parent) 26 | { 27 | if(parent != nullptr) 28 | setProgressFn([parent](int percent) { parent->setProgress(percent); }); 29 | } 30 | 31 | static int cellCallback(size_t row, size_t column, const XLSXIOCHAR* value, void* cbData) | ^ /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:52:41: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 23 | bool XlsxTabularDataParser::parse(const QUrl& url, IGraphModel*) | ^ /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:52:52: warning: no header providing "IGraphModel" is directly included [misc-include-cleaner] 21 | bool XlsxTabularDataParser::parse(const QUrl& url, IGraphModel*) | ^ /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:54:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 23 | setPhase(QObject::tr("Parsing")); | ^ /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:75:43: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 23 | bool XlsxTabularDataParser::canLoad(const QUrl& url) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11348 warnings generated. [15/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:30:16: warning: no header providing "std::move" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | TabularData::TabularData(TabularData&& other) noexcept : 30 | _data(std::move(other._data)), | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:43:22: warning: no header providing "std::move" is directly included [misc-include-cleaner] 26 | _data = std::move(other._data); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:54:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | void TabularData::reserve(size_t columns, size_t rows) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:54:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | void TabularData::reserve(size_t columns, size_t rows) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:64:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t TabularData::index(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:64:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t TabularData::index(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:64:42: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t TabularData::index(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:66:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(column < numColumns()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:67:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(row < numRows()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:76:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t TabularData::numColumns() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:81:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t TabularData::numRows() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:86:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | void TabularData::setValueAt(size_t column, size_t row, QString&& value, int progressHint) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:86:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | void TabularData::setValueAt(size_t column, size_t row, QString&& value, int progressHint) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:86:57: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void TabularData::setValueAt(size_t column, size_t row, QString&& value, int progressHint) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:86:67: warning: rvalue reference parameter 'value' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | void TabularData::setValueAt(size_t column, size_t row, QString&& value, int progressHint) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:88:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | const size_t columns = column >= _columns ? column + 1 : _columns; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:89:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | const size_t rows = row >= _rows ? row + 1 : _rows; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:98:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t offset = _rows - 1; offset > 0; offset--) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:100:65: warning: no header providing "std::ptrdiff_t" is directly included [misc-include-cleaner] 24 | auto oldPosition = _data.begin() + static_cast(offset * _columns); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:101:65: warning: no header providing "std::ptrdiff_t" is directly included [misc-include-cleaner] 24 | auto newPosition = _data.begin() + static_cast(offset * columns); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:104:48: warning: no header providing "std::ptrdiff_t" is directly included [misc-include-cleaner] 24 | oldPosition + static_cast(_columns), | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:105:48: warning: no header providing "std::ptrdiff_t" is directly included [misc-include-cleaner] 24 | newPosition + static_cast(_columns)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:114:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t reserveSize = newSize; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:125:80: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | auto estimate = ((100 + extraFudgeFactor) * newSize) / static_cast(progressHint); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:146:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t column = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:171:7: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString& TabularData::valueAt(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:171:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | const QString& TabularData::valueAt(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:171:52: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | const QString& TabularData::valueAt(size_t column, size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:176:1: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | TypeIdentity TabularData::columnTypeIdentity(size_t columnIndex, size_t rowIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:176:46: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | TypeIdentity TabularData::columnTypeIdentity(size_t columnIndex, size_t rowIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:176:66: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | TypeIdentity TabularData::columnTypeIdentity(size_t columnIndex, size_t rowIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:178:5: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | TypeIdentity identity; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:189:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 26 | std::vector TabularData::columnTypeIdentities(Progressable* progressable, size_t rowIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:189:13: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | std::vector TabularData::columnTypeIdentities(Progressable* progressable, size_t rowIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:189:89: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | std::vector TabularData::columnTypeIdentities(Progressable* progressable, size_t rowIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:191:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 26 | std::vector t; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:191:17: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | std::vector t; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:198:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t columnIndex = 0; columnIndex < numColumns(); columnIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:212:1: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | TypeIdentity TabularData::rowTypeIdentity(size_t rowIndex, size_t columnIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:212:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | TypeIdentity TabularData::rowTypeIdentity(size_t rowIndex, size_t columnIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:212:60: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | TypeIdentity TabularData::rowTypeIdentity(size_t rowIndex, size_t columnIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:214:5: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | TypeIdentity identity; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:225:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 26 | std::vector TabularData::rowTypeIdentities(Progressable* progressable, size_t columnIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:225:13: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | std::vector TabularData::rowTypeIdentities(Progressable* progressable, size_t columnIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:225:86: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | std::vector TabularData::rowTypeIdentities(Progressable* progressable, size_t columnIndex) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:227:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 26 | std::vector t; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:227:17: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 20 | std::vector t; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:234:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t rowIndex = 0; rowIndex < numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:248:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | int TabularData::columnMatchPercentage(size_t columnIndex, const QStringList& referenceValues) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:248:66: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 24 | int TabularData::columnMatchPercentage(size_t columnIndex, const QStringList& referenceValues) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:250:20: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const std::set referenceSet(referenceValues.begin(), referenceValues.end()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:252:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | std::set columnValues; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:253:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | std::set intersection; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:255:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t row = 1; row < numRows(); row++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:260:14: warning: no header providing "std::inserter" is directly included [misc-include-cleaner] 24 | std::inserter(intersection, intersection.begin())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:263:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | static_cast(referenceValues.size())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:273:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | int TabularData::rowMatchPercentage(size_t rowIndex, const QStringList& referenceValues) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:273:60: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 24 | int TabularData::rowMatchPercentage(size_t rowIndex, const QStringList& referenceValues) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:275:20: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const std::set referenceSet(referenceValues.begin(), referenceValues.end()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:277:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | std::set rowValues; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:278:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | std::set intersection; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:280:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 1; column < numColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:285:14: warning: no header providing "std::inserter" is directly included [misc-include-cleaner] 24 | std::inserter(intersection, intersection.begin())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:288:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | static_cast(referenceValues.size())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:298:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString TabularData::contentIdentityOf(const QUrl& url) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:298:46: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 24 | QString TabularData::contentIdentityOf(const QUrl& url) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:301:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | return u"XLSX"_s; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:303:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString identity; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:305:10: warning: no header providing "std::ifstream" is directly included [misc-include-cleaner] 24 | std::ifstream file(url.toLocalFile().toStdString()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:312:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 24 | std::map counts; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:312:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | std::map counts; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:314:10: warning: no header providing "std::istream" is directly included [misc-include-cleaner] 24 | std::istream* is = nullptr; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:317:14: warning: no header providing "std::string" is directly included [misc-include-cleaner] 26 | std::string line; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:319:18: warning: no header providing "u::getline" is directly included [misc-include-cleaner] 20 | is = &u::getline(file, line); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:353:9: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] 353 | switch(character) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:355:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case ',': identity = u"CSV"_s; break; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:356:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case ';': identity = u"SSV"_s; break; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:357:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case '\t': identity = u"TSV"_s; break; | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11824 warnings generated. [16/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:42:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | auto c = static_cast(column); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:48:24: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 22 | return type == TypeIdentity::Type::Int || type == TypeIdentity::Type::Float; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:48:44: warning: no header providing "TypeIdentity::Type::Int" is directly included [misc-include-cleaner] 22 | return type == TypeIdentity::Type::Int || type == TypeIdentity::Type::Float; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:48:59: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 22 | return type == TypeIdentity::Type::Int || type == TypeIdentity::Type::Float; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:48:79: warning: no header providing "TypeIdentity::Type::Float" is directly included [misc-include-cleaner] 22 | return type == TypeIdentity::Type::Int || type == TypeIdentity::Type::Float; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:54:38: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 22 | int TabularDataModel::rowCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:62:41: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 22 | int TabularDataModel::columnCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:70:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 22 | QVariant TabularDataModel::data(const QModelIndex& index, int) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:70:39: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 22 | QVariant TabularDataModel::data(const QModelIndex& index, int) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:72:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | auto row = static_cast(index.row()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:73:31: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | auto column = static_cast(index.column()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:81:1: warning: no header providing "QHash" is directly included [misc-include-cleaner] 22 | QHash TabularDataModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:81:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 22 | QHash TabularDataModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:83:19: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 22 | return { {Qt::DisplayRole, "display"} }; | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:86:39: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 21 | void TabularDataModel::setTabularData(TabularData& data) | ^ /home/runner/work/graphia/graphia/source/shared/loading/tabulardatamodel.cpp:96:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 22 | qmlRegisterType(APP_URI, APP_MAJOR_VERSION, APP_MINOR_VERSION, "TabularDataModel"); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11518 warnings generated. [17/195] /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:23:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:24:1: warning: included header QUrl is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:26:38: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:27:38: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, 27 | const QString& individualDescription, | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:28:38: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, 27 | const QString& individualDescription, 28 | const QString& collectiveDescription, | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:29:38: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, 27 | const QString& individualDescription, 28 | const QString& collectiveDescription, 29 | const QStringList& extensions) | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:34:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, 27 | const QString& individualDescription, 28 | const QString& collectiveDescription, 29 | const QStringList& extensions) 30 | { 31 | _urlTypes.emplace(urlTypeName, UrlType(individualDescription, collectiveDescription, extensions)); 32 | } 33 | 34 | QStringList UrlTypes::identifyByExtension(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:36:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, 27 | const QString& individualDescription, 28 | const QString& collectiveDescription, 29 | const QStringList& extensions) 30 | { 31 | _urlTypes.emplace(urlTypeName, UrlType(individualDescription, collectiveDescription, extensions)); 32 | } 33 | 34 | QStringList UrlTypes::identifyByExtension(const QUrl& url) const 35 | { 36 | QStringList urlTypeNames; | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:40:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, 27 | const QString& individualDescription, 28 | const QString& collectiveDescription, 29 | const QStringList& extensions) 30 | { 31 | _urlTypes.emplace(urlTypeName, UrlType(individualDescription, collectiveDescription, extensions)); 32 | } 33 | 34 | QStringList UrlTypes::identifyByExtension(const QUrl& url) const 35 | { 36 | QStringList urlTypeNames; 37 | 38 | if(url.isLocalFile()) 39 | { 40 | const QString extension = QFileInfo(url.toLocalFile()).suffix(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:40:35: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 25 | 26 | void UrlTypes::registerUrlType(const QString& urlTypeName, 27 | const QString& individualDescription, 28 | const QString& collectiveDescription, 29 | const QStringList& extensions) 30 | { 31 | _urlTypes.emplace(urlTypeName, UrlType(individualDescription, collectiveDescription, extensions)); 32 | } 33 | 34 | QStringList UrlTypes::identifyByExtension(const QUrl& url) const 35 | { 36 | QStringList urlTypeNames; 37 | 38 | if(url.isLocalFile()) 39 | { 40 | const QString extension = QFileInfo(url.toLocalFile()).suffix(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:46:61: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 25 | if(loadableExtension.compare(extension, Qt::CaseInsensitive) == 0) | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:55:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList UrlTypes::loadableUrlTypeNames() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:57:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList urlTypeNames; | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:65:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString UrlTypes::individualDescriptionForUrlTypeName(const QString& urlTypeName) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:65:61: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString UrlTypes::individualDescriptionForUrlTypeName(const QString& urlTypeName) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:67:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(u::contains(_urlTypes, urlTypeName)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:72:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString UrlTypes::collectiveDescriptionForUrlTypeName(const QString& urlTypeName) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:72:61: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString UrlTypes::collectiveDescriptionForUrlTypeName(const QString& urlTypeName) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:74:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(u::contains(_urlTypes, urlTypeName)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:79:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList UrlTypes::extensionsForUrlTypeName(const QString& urlTypeName) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:79:54: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QStringList UrlTypes::extensionsForUrlTypeName(const QString& urlTypeName) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/urltypes.cpp:81:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(u::contains(_urlTypes, urlTypeName)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 10699 warnings generated. [18/195] /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:23:1: warning: included header QDebug is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:25:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | 25 | QString UserData::firstVectorName() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:33:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | 25 | QString UserData::firstVectorName() const 26 | { 27 | if(!_vectorNames.empty()) 28 | return _vectorNames.front(); 29 | 30 | return {}; 31 | } 32 | 33 | size_t UserData::numUserDataVectors() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:38:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | 25 | QString UserData::firstVectorName() const 26 | { 27 | if(!_vectorNames.empty()) 28 | return _vectorNames.front(); 29 | 30 | return {}; 31 | } 32 | 33 | size_t UserData::numUserDataVectors() const 34 | { 35 | return _userDataVectors.size(); 36 | } 37 | 38 | size_t UserData::numValues() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:43:8: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | static QString normalise(QString name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:43:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | static QString normalise(QString name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:46:16: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | return QObject::tr("Unnamed"); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:55:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | const std::vector& UserData::vectorNames() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:55:19: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const std::vector& UserData::vectorNames() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:60:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void UserData::add(const QString& name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:62:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString normalisedName = normalise(name); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:67:46: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | _userDataVectors.emplace(normalisedName, UserDataVector(normalisedName)); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:70:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | bool UserData::setValue(size_t index, const QString& name, const QString& value) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:70:45: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | bool UserData::setValue(size_t index, const QString& name, const QString& value) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:70:66: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | bool UserData::setValue(size_t index, const QString& name, const QString& value) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:72:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString normalisedName = normalise(name); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:77:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 24 | auto it = std::find_if(_userDataVectors.begin(), _userDataVectors.end(), | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:80:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(it != _userDataVectors.end()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:85:23: warning: no header providing "std::max" is directly included [misc-include-cleaner] 24 | _numValues = std::max(_numValues, userDataVector.numValues()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:88:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit vectorValuesChanged(name); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:93:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 24 | QVariant UserData::value(size_t index, const QString& name) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:93:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | QVariant UserData::value(size_t index, const QString& name) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:93:46: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QVariant UserData::value(size_t index, const QString& name) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:95:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString normalisedName = normalise(name); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:96:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 24 | auto it = std::find_if(_userDataVectors.begin(), _userDataVectors.end(), | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:107:14: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | case UserDataVector::Type::Unknown: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:107:36: warning: no header providing "TypeIdentity::Type::Unknown" is directly included [misc-include-cleaner] 22 | case UserDataVector::Type::Unknown: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:108:14: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | case UserDataVector::Type::String: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:108:36: warning: no header providing "TypeIdentity::Type::String" is directly included [misc-include-cleaner] 22 | case UserDataVector::Type::String: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:111:14: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | case UserDataVector::Type::Float: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:111:36: warning: no header providing "TypeIdentity::Type::Float" is directly included [misc-include-cleaner] 22 | case UserDataVector::Type::Float: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:114:14: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | case UserDataVector::Type::Int: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:114:36: warning: no header providing "TypeIdentity::Type::Int" is directly included [misc-include-cleaner] 22 | case UserDataVector::Type::Int: | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:122:1: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | UserDataVector* UserData::vector(const QString& name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:122:40: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | UserDataVector* UserData::vector(const QString& name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:124:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString normalisedName = normalise(name); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:125:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 24 | auto it = std::find_if(_userDataVectors.begin(), _userDataVectors.end(), | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:134:26: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | void UserData::setVector(UserDataVector&& other) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:136:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString normalisedName = normalise(other.name()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:138:36: warning: no header providing "std::move" is directly included [misc-include-cleaner] 24 | *vector(normalisedName) = std::move(other); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:141:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void UserData::remove(const QString& name) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:143:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString normalisedName = normalise(name); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:148:1: warning: no header providing "json" is directly included [misc-include-cleaner] 24 | json UserData::save(Progressable& progressable, const std::vector& indexes) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:148:21: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 22 | json UserData::save(Progressable& progressable, const std::vector& indexes) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:148:60: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | json UserData::save(Progressable& progressable, const std::vector& indexes) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:148:67: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | json UserData::save(Progressable& progressable, const std::vector& indexes) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:150:5: warning: no header providing "json" is directly included [misc-include-cleaner] 24 | json jsonObject; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:154:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | std::vector> vectors; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:154:22: warning: no header providing "std::map" is directly included [misc-include-cleaner] 24 | std::vector> vectors; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:154:31: warning: no header providing "std::string" is directly included [misc-include-cleaner] 24 | std::vector> vectors; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:154:39: warning: no header providing "json" is directly included [misc-include-cleaner] 24 | std::vector> vectors; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:159:14: warning: no header providing "std::map" is directly included [misc-include-cleaner] 24 | std::map vector; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:159:23: warning: no header providing "std::string" is directly included [misc-include-cleaner] 24 | std::map vector; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:159:31: warning: no header providing "json" is directly included [misc-include-cleaner] 24 | std::map vector; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:172:27: warning: no header providing "json" is directly included [misc-include-cleaner] 24 | bool UserData::load(const json& jsonObject, Progressable& progressable) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:172:45: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 22 | bool UserData::load(const json& jsonObject, Progressable& progressable) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:174:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 24 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:187:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString& name = normalise(QString::fromStdString(it.key())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:187:41: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString& name = normalise(QString::fromStdString(it.key())); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:191:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 24 | qDebug() << "WARNING: Duplicate vector name" << name << | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:198:9: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 21 | UserDataVector userDataVector; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:211:27: warning: no header providing "std::max" is directly included [misc-include-cleaner] 24 | _numValues = std::max(_numValues, userDataVector.second.numValues()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 18237 warnings generated. [19/195] /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:21:1: warning: included header container.h is not used directly [misc-include-cleaner] 21 | #include "shared/utils/container.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:23:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 22 | 23 | QStringList UserDataVector::toStringList() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:25:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 22 | 23 | QStringList UserDataVector::toStringList() const 24 | { 25 | QStringList list; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:34:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | 23 | QStringList UserDataVector::toStringList() const 24 | { 25 | QStringList list; 26 | list.reserve(static_cast(numValues())); 27 | 28 | for(const auto& value : _values) 29 | list.append(value); 30 | 31 | return list; 32 | } 33 | 34 | size_t UserDataVector::numUniqueValues() const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:37:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 22 | 23 | QStringList UserDataVector::toStringList() const 24 | { 25 | QStringList list; 26 | list.reserve(static_cast(numValues())); 27 | 28 | for(const auto& value : _values) 29 | list.append(value); 30 | 31 | return list; 32 | } 33 | 34 | size_t UserDataVector::numUniqueValues() const 35 | { 36 | auto v = _values; 37 | std::sort(v.begin(), v.end()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:38:22: warning: no header providing "std::unique" is directly included [misc-include-cleaner] 22 | auto last = std::unique(v.begin(), v.end()); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:44:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | bool UserDataVector::set(size_t index, const QString& value) | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:62:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | QString UserDataVector::get(size_t index) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:70:1: warning: no header providing "json" is directly included [misc-include-cleaner] 22 | json UserDataVector::save(const std::vector& indexes) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:70:38: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | json UserDataVector::save(const std::vector& indexes) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:70:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | json UserDataVector::save(const std::vector& indexes) const | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:72:5: warning: no header providing "json" is directly included [misc-include-cleaner] 22 | json jsonObject; | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:76:9: warning: no header providing "json" is directly included [misc-include-cleaner] 22 | json jsonValues = json::array(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:76:27: warning: no header providing "json" is directly included [misc-include-cleaner] 22 | json jsonValues = json::array(); | ^ /home/runner/work/graphia/graphia/source/shared/loading/userdatavector.cpp:94:54: warning: no header providing "json" is directly included [misc-include-cleaner] 22 | bool UserDataVector::load(const QString& name, const json& jsonObject) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 18103 warnings generated. [20/195] /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:21:35: warning: no header providing "IApplication" is directly included [misc-include-cleaner] 20 | 21 | void BasePlugin::initialise(const IApplication* application) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:26:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | 21 | void BasePlugin::initialise(const IApplication* application) 22 | { 23 | _application = application; 24 | } 25 | 26 | QString BasePlugin::imageSource() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:32:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | 21 | void BasePlugin::initialise(const IApplication* application) 22 | { 23 | _application = application; 24 | } 25 | 26 | QString BasePlugin::imageSource() const 27 | { 28 | // Default empty image 29 | return {}; 30 | } 31 | 32 | QString BasePlugin::parametersQmlPath(const QString&) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:32:45: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | 21 | void BasePlugin::initialise(const IApplication* application) 22 | { 23 | _application = application; 24 | } 25 | 26 | QString BasePlugin::imageSource() const 27 | { 28 | // Default empty image 29 | return {}; 30 | } 31 | 32 | QString BasePlugin::parametersQmlPath(const QString&) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:38:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString BasePlugin::qmlPath() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:50:7: warning: no header providing "IApplication" is directly included [misc-include-cleaner] 20 | const IApplication* BasePlugin::application() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:55:1: warning: no header providing "QObject" is directly included [misc-include-cleaner] 20 | QObject* BasePlugin::ptr() | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:60:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString BasePlugin::displayTextForTransform(const QString& transform) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:60:51: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString BasePlugin::displayTextForTransform(const QString& transform) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:65:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString BasePlugin::displayTextForVisualisation(const QString& visualisation) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/baseplugin.cpp:65:55: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString BasePlugin::displayTextForVisualisation(const QString& visualisation) const | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11487 warnings generated. [21/195] /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:30:1: warning: included header iattribute.h is not used directly [misc-include-cleaner] 30 | #include "shared/attributes/iattribute.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:34:1: warning: included header json_helper.h is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 35 | /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:40:19: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] 35 | 36 | using namespace Qt::Literals::StringLiterals; 37 | 38 | BaseGenericPluginInstance::BaseGenericPluginInstance() 39 | { 40 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:40:48: warning: no header providing "SLOT" is directly included [misc-include-cleaner] 35 | 36 | using namespace Qt::Literals::StringLiterals; 37 | 38 | BaseGenericPluginInstance::BaseGenericPluginInstance() 39 | { 40 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:41:19: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] 35 | 36 | using namespace Qt::Literals::StringLiterals; 37 | 38 | BaseGenericPluginInstance::BaseGenericPluginInstance() 39 | { 40 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); 41 | connect(this, SIGNAL(selectionChanged(const ISelectionManager*)), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:42:19: warning: no header providing "SLOT" is directly included [misc-include-cleaner] 35 | 36 | using namespace Qt::Literals::StringLiterals; 37 | 38 | BaseGenericPluginInstance::BaseGenericPluginInstance() 39 | { 40 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); 41 | connect(this, SIGNAL(selectionChanged(const ISelectionManager*)), 42 | this, SLOT(onSelectionChanged(const ISelectionManager*)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:42:75: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 35 | 36 | using namespace Qt::Literals::StringLiterals; 37 | 38 | BaseGenericPluginInstance::BaseGenericPluginInstance() 39 | { 40 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); 41 | connect(this, SIGNAL(selectionChanged(const ISelectionManager*)), 42 | this, SLOT(onSelectionChanged(const ISelectionManager*)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:45:50: warning: no header providing "IPlugin" is directly included [misc-include-cleaner] 21 | void BaseGenericPluginInstance::initialise(const IPlugin* plugin, IDocument* document, | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:45:67: warning: no header providing "IDocument" is directly included [misc-include-cleaner] 33 | 34 | #include 35 | 36 | using namespace Qt::Literals::StringLiterals; 37 | 38 | BaseGenericPluginInstance::BaseGenericPluginInstance() 39 | { 40 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); 41 | connect(this, SIGNAL(selectionChanged(const ISelectionManager*)), 42 | this, SLOT(onSelectionChanged(const ISelectionManager*)), Qt::DirectConnection); 43 | } 44 | 45 | void BaseGenericPluginInstance::initialise(const IPlugin* plugin, IDocument* document, | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:46:50: warning: no header providing "IParserThread" is directly included [misc-include-cleaner] 21 | const IParserThread* parserThread) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:48:5: warning: no header providing "BasePluginInstance" is directly included [misc-include-cleaner] 21 | BasePluginInstance::initialise(plugin, document, parserThread); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:54:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 35 | std::unique_ptr BaseGenericPluginInstance::parserForUrlTypeName(const QString& urlTypeName) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:54:17: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | std::unique_ptr BaseGenericPluginInstance::parserForUrlTypeName(const QString& urlTypeName) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:54:80: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | std::unique_ptr BaseGenericPluginInstance::parserForUrlTypeName(const QString& urlTypeName) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:59:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"GML"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:60:21: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | return std::make_unique(userNodeData, userEdgeData); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:62:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"GraphML"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:63:21: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | return std::make_unique(userNodeData, userEdgeData); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:65:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"DOT"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:66:21: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | return std::make_unique(userNodeData, userEdgeData); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:68:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName.startsWith(u"Pairwise"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:70:14: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 35 | std::unique_ptr parser; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:70:25: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | std::unique_ptr parser; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:80:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"PairwiseCSV"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:81:51: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configurePairwiseParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:82:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"PairwiseSSV"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:83:51: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configurePairwiseParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:84:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"PairwiseTSV"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:85:51: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configurePairwiseParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:86:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"PairwiseTXT"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:87:51: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configurePairwiseParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:88:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"PairwiseXLSX"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:89:51: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configurePairwiseParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:94:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName.startsWith(u"Matrix"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:96:14: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 35 | std::unique_ptr parser; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:96:25: warning: no header providing "IParser" is directly included [misc-include-cleaner] 21 | std::unique_ptr parser; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:108:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"MatrixCSV"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:109:49: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configureMatrixParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:110:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"MatrixSSV"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:111:49: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configureMatrixParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:112:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"MatrixTSV"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:113:49: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configureMatrixParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:114:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"MatrixTXT"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:115:49: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configureMatrixParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:116:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"MatrixXLSX"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:117:49: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configureMatrixParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:118:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(urlTypeName == u"MatrixMatLab"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:119:49: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | parser = configureMatrixParser(std::make_unique(userNodeData, userEdgeData, &_preloadedTabularData)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:124:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"BiopaxOWL"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:125:21: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | return std::make_unique(userNodeData); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:127:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"JSONGraph"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:128:21: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | return std::make_unique(userNodeData, userEdgeData); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:130:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlTypeName == u"CX"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:131:21: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 35 | return std::make_unique(userNodeData, userEdgeData); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:136:35: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 35 | static auto pairwiseColumns(const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:145:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 35 | Q_ASSERT(u::isInteger(key)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:145:21: warning: no header providing "u::isInteger" is directly included [misc-include-cleaner] 33 | Q_ASSERT(u::isInteger(key)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:147:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 34 | auto column = static_cast(key.toInt()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:150:63: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | static_cast(info.value(u"type"_s).toInt()) : PairwiseColumnType::Unused; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:151:67: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | auto name = u::contains(info, "name") ? info.value(u"name"_s).toString() : QString(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:151:84: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | auto name = u::contains(info, "name") ? info.value(u"name"_s).toString() : QString(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:159:54: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | void BaseGenericPluginInstance::applyParameter(const QString& name, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:159:75: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 35 | void BaseGenericPluginInstance::applyParameter(const QString& name, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:161:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(name == u"firstRowIsHeader"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:162:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | _pairwiseParameters._firstRowIsHeader = (value == u"true"_s); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:163:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(name == u"columns"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:165:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(name == u"minimumThreshold"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:167:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(name == u"initialThreshold"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:169:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(name == u"filterEdges"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:170:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | _adjacencyMatrixParameters._filterEdges = (value == u"true"_s); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:171:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(name == u"skipDuplicates"_s) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:172:71: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | _adjacencyMatrixParameters._skipDuplicates = (value == u"true"_s); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:173:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | else if(name == u"data"_s && value.canConvert>()) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:173:56: warning: no header providing "std::shared_ptr" is directly included [misc-include-cleaner] 35 | else if(name == u"data"_s && value.canConvert>()) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:174:38: warning: no header providing "std::move" is directly included [misc-include-cleaner] 35 | _preloadedTabularData = std::move(*value.value>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:174:61: warning: no header providing "std::shared_ptr" is directly included [misc-include-cleaner] 35 | _preloadedTabularData = std::move(*value.value>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:176:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 35 | qDebug() << "BaseGenericPluginInstance::applyParameter unknown parameter" << name << value; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:179:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 35 | QStringList BaseGenericPluginInstance::defaultTransforms() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:181:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 35 | QStringList defaultTransforms; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:186:13: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 35 | QStringLiteral(R"("Remove Edges" where $"Absolute Edge Weight" < %2)") | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:193:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | QString BaseGenericPluginInstance::selectedNodeNames() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:195:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | QString s; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:200:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | s += u", "_s; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:208:58: warning: no header providing "QVector" is directly included [misc-include-cleaner] 35 | void BaseGenericPluginInstance::setHighlightedRows(const QVector& highlightedRows) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:215:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 21 | NodeIdSet highlightedNodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:218:81: warning: no header providing "size_t" is directly included [misc-include-cleaner] 34 | auto nodeId = _graphModel->userNodeData().elementIdForIndex(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:224:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 35 | emit highlightedRowsChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:232:58: warning: no header providing "ISelectionManager" is directly included [misc-include-cleaner] 33 | void BaseGenericPluginInstance::onSelectionChanged(const ISelectionManager*) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:234:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 35 | emit selectedNodeNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:241:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"GML"_s, QObject::tr("GML File"), QObject::tr("GML Files"), {"gml"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:241:31: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"GML"_s, QObject::tr("GML File"), QObject::tr("GML Files"), {"gml"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:241:56: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"GML"_s, QObject::tr("GML File"), QObject::tr("GML Files"), {"gml"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:242:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"GraphML"_s, QObject::tr("GraphML File"), QObject::tr("GraphML Files"), {"graphml"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:242:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"GraphML"_s, QObject::tr("GraphML File"), QObject::tr("GraphML Files"), {"graphml"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:242:64: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"GraphML"_s, QObject::tr("GraphML File"), QObject::tr("GraphML Files"), {"graphml"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:243:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"DOT"_s, QObject::tr("DOT File"), QObject::tr("DOT Files"), {"dot"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:243:31: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"DOT"_s, QObject::tr("DOT File"), QObject::tr("DOT Files"), {"dot"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:243:56: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"DOT"_s, QObject::tr("DOT File"), QObject::tr("DOT Files"), {"dot"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:244:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"PairwiseCSV"_s, QObject::tr("Pairwise CSV File"), QObject::tr("Pairwise CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:244:39: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseCSV"_s, QObject::tr("Pairwise CSV File"), QObject::tr("Pairwise CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:244:73: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseCSV"_s, QObject::tr("Pairwise CSV File"), QObject::tr("Pairwise CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:245:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"PairwiseSSV"_s, QObject::tr("Pairwise SSV File"), QObject::tr("Pairwise SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:245:39: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseSSV"_s, QObject::tr("Pairwise SSV File"), QObject::tr("Pairwise SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:245:73: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseSSV"_s, QObject::tr("Pairwise SSV File"), QObject::tr("Pairwise SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:246:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"PairwiseTSV"_s, QObject::tr("Pairwise TSV File"), QObject::tr("Pairwise TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:246:39: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseTSV"_s, QObject::tr("Pairwise TSV File"), QObject::tr("Pairwise TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:246:73: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseTSV"_s, QObject::tr("Pairwise TSV File"), QObject::tr("Pairwise TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:247:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"PairwiseTXT"_s, QObject::tr("Pairwise Text File"), QObject::tr("Pairwise Text Files"), {"txt"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:247:39: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseTXT"_s, QObject::tr("Pairwise Text File"), QObject::tr("Pairwise Text Files"), {"txt"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:247:74: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseTXT"_s, QObject::tr("Pairwise Text File"), QObject::tr("Pairwise Text Files"), {"txt"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:248:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"PairwiseXLSX"_s, QObject::tr("Pairwise Excel File"), QObject::tr("Pairwise Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:248:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseXLSX"_s, QObject::tr("Pairwise Excel File"), QObject::tr("Pairwise Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:248:76: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"PairwiseXLSX"_s, QObject::tr("Pairwise Excel File"), QObject::tr("Pairwise Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:249:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"MatrixCSV"_s, QObject::tr("Adjacency Matrix CSV File"), QObject::tr("Adjacency Matrix CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:249:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixCSV"_s, QObject::tr("Adjacency Matrix CSV File"), QObject::tr("Adjacency Matrix CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:249:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixCSV"_s, QObject::tr("Adjacency Matrix CSV File"), QObject::tr("Adjacency Matrix CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:250:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"MatrixSSV"_s, QObject::tr("Adjacency Matrix SSV File"), QObject::tr("Adjacency Matrix SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:250:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixSSV"_s, QObject::tr("Adjacency Matrix SSV File"), QObject::tr("Adjacency Matrix SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:250:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixSSV"_s, QObject::tr("Adjacency Matrix SSV File"), QObject::tr("Adjacency Matrix SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:251:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"MatrixTSV"_s, QObject::tr("Adjacency Matrix TSV File"), QObject::tr("Adjacency Matrix TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:251:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixTSV"_s, QObject::tr("Adjacency Matrix TSV File"), QObject::tr("Adjacency Matrix TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:251:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixTSV"_s, QObject::tr("Adjacency Matrix TSV File"), QObject::tr("Adjacency Matrix TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:252:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"MatrixTXT"_s, QObject::tr("Adjacency Matrix TXT File"), QObject::tr("Adjacency Matrix TXT Files"), {"txt"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:252:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixTXT"_s, QObject::tr("Adjacency Matrix TXT File"), QObject::tr("Adjacency Matrix TXT Files"), {"txt"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:252:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixTXT"_s, QObject::tr("Adjacency Matrix TXT File"), QObject::tr("Adjacency Matrix TXT Files"), {"txt"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:253:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"MatrixXLSX"_s, QObject::tr("Adjacency Matrix Excel File"), QObject::tr("Adjacency Matrix Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:253:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixXLSX"_s, QObject::tr("Adjacency Matrix Excel File"), QObject::tr("Adjacency Matrix Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:253:82: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixXLSX"_s, QObject::tr("Adjacency Matrix Excel File"), QObject::tr("Adjacency Matrix Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:254:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"MatrixMatLab"_s, QObject::tr("Matlab Data File"), QObject::tr("Matlab Data Files"), {"mat"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:254:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixMatLab"_s, QObject::tr("Matlab Data File"), QObject::tr("Matlab Data Files"), {"mat"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:254:73: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"MatrixMatLab"_s, QObject::tr("Matlab Data File"), QObject::tr("Matlab Data Files"), {"mat"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:255:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"BiopaxOWL"_s, QObject::tr("Biopax OWL File"), QObject::tr("Biopax OWL Files"), {"owl"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:255:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"BiopaxOWL"_s, QObject::tr("Biopax OWL File"), QObject::tr("Biopax OWL Files"), {"owl"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:255:69: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"BiopaxOWL"_s, QObject::tr("Biopax OWL File"), QObject::tr("Biopax OWL Files"), {"owl"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:256:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"JSONGraph"_s, QObject::tr("JSON Graph File"), QObject::tr("JSON Graph Files"), {"json"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:256:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"JSONGraph"_s, QObject::tr("JSON Graph File"), QObject::tr("JSON Graph Files"), {"json"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:256:69: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"JSONGraph"_s, QObject::tr("JSON Graph File"), QObject::tr("JSON Graph Files"), {"json"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:257:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | registerUrlType(u"CX"_s, QObject::tr("Cytoscape Exchange File"), QObject::tr("Cytoscape Exchange Files"), {"cx", "cx2"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:257:30: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"CX"_s, QObject::tr("Cytoscape Exchange File"), QObject::tr("Cytoscape Exchange Files"), {"cx", "cx2"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:257:70: warning: no header providing "QObject" is directly included [misc-include-cleaner] 35 | registerUrlType(u"CX"_s, QObject::tr("Cytoscape Exchange File"), QObject::tr("Cytoscape Exchange Files"), {"cx", "cx2"}); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:260:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 35 | QStringList BaseGenericPlugin::identifyUrl(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:260:50: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 35 | QStringList BaseGenericPlugin::identifyUrl(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:270:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 35 | QStringList result; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:276:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"GML"_s && GmlFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:277:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"GraphML"_s && GraphMLParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:278:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"DOT"_s && DotFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:279:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"PairwiseCSV"_s && PairwiseCSVFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:280:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"PairwiseSSV"_s && PairwiseSSVFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:281:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"PairwiseTSV"_s && PairwiseTSVFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:282:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"PairwiseTXT"_s && PairwiseTXTFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:283:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"PairwiseXLSX"_s && PairwiseXLSXFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:284:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"MatrixCSV"_s && AdjacencyMatrixCSVFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:285:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"MatrixSSV"_s && AdjacencyMatrixSSVFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:286:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"MatrixTSV"_s && AdjacencyMatrixTSVFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:287:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"MatrixTXT"_s && AdjacencyMatrixTXTFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:288:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"MatrixXLSX"_s && AdjacencyMatrixXLSXFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:289:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"MatrixMatLab"_s && AdjacencyMatrixMatLabFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:290:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"BiopaxOWL"_s && BiopaxFileParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:291:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"JSONGraph"_s && JsonGraphParser::canLoad(url)) || | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:292:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | (urlType == u"CX"_s && CxParser::canLoad(url)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:301:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | QString BaseGenericPlugin::failureReason(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:301:48: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 35 | QString BaseGenericPlugin::failureReason(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:309:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | .arg(urlTypes.join(u", "_s)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:315:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | QString BaseGenericPlugin::parametersQmlPath(const QString& urlType) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:315:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 35 | QString BaseGenericPlugin::parametersQmlPath(const QString& urlType) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:317:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlType.startsWith(u"Matrix"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:318:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | return u"qrc:///qml/MatrixParameters.qml"_s; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:320:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | if(urlType.startsWith(u"Pairwise"_s)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:321:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | return u"qrc:///qml/PairwiseParameters.qml"_s; | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 21887 warnings generated. [22/195] /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:31:1: warning: included header QSet is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:32:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~~ 33 | /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:34:42: warning: no header providing "IDocument" is directly included [misc-include-cleaner] 30 | 31 | #include 32 | #include 33 | 34 | void NodeAttributeTableModel::initialise(IDocument* document, IUserNodeData* userNodeData) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:38:27: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 33 | 34 | void NodeAttributeTableModel::initialise(IDocument* document, IUserNodeData* userNodeData) 35 | { 36 | _roleNames.insert(Roles::NodeIdRole, "nodeId"); 37 | _roleNames.insert(Roles::NodeSelectedRole, "nodeSelected"); 38 | _roleNames.insert(Qt::DisplayRole, "display"); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:48:51: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | 34 | void NodeAttributeTableModel::initialise(IDocument* document, IUserNodeData* userNodeData) 35 | { 36 | _roleNames.insert(Roles::NodeIdRole, "nodeId"); 37 | _roleNames.insert(Roles::NodeSelectedRole, "nodeSelected"); 38 | _roleNames.insert(Qt::DisplayRole, "display"); 39 | 40 | _document = document; 41 | _userNodeData = userNodeData; 42 | _graph = &_document->graphModel()->graph(); 43 | 44 | const auto* graphModel = _document->graphModel(); 45 | 46 | updateColumnNames(); 47 | 48 | const auto* modelQObject = dynamic_cast(graphModel); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:49:27: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] 33 | connect(modelQObject, SIGNAL(attributesChanged(QStringList,QStringList,QStringList,bool)), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:50:19: warning: no header providing "SLOT" is directly included [misc-include-cleaner] 33 | this, SLOT(onAttributesChanged(QStringList,QStringList,QStringList,bool)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:50:92: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 33 | this, SLOT(onAttributesChanged(QStringList,QStringList,QStringList,bool)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:52:51: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | const auto* graphQObject = dynamic_cast(&graphModel->graph()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:53:27: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] 33 | connect(graphQObject, SIGNAL(graphChanged(const Graph*,bool)), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:54:19: warning: no header providing "SLOT" is directly included [misc-include-cleaner] 33 | this, SLOT(onGraphChanged(const Graph*,bool)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:54:64: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 33 | this, SLOT(onGraphChanged(const Graph*,bool)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:57:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 33 | QStringList NodeAttributeTableModel::columnNames() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:62:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 33 | QStringList list = u::toQStringList(_userNodeData->exposedAttributeNames()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:64:71: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | for(auto& attributeName : _document->graphModel()->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:64:84: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | for(auto& attributeName : _document->graphModel()->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:67:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(attribute != nullptr); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:73:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(!u::contains(list, attributeName)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:83:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(index >= 0); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:87:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 33 | QVariant NodeAttributeTableModel::dataValue(size_t row, const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:87:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | QVariant NodeAttributeTableModel::dataValue(size_t row, const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:92:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(attribute->elementType() == ElementType::Node); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:92:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | Q_ASSERT(attribute->elementType() == ElementType::Node); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:92:59: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | Q_ASSERT(attribute->elementType() == ElementType::Node); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:108:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(u::hasUniqueValues(u::toQStringVector(_columnNames))); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:109:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit columnNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:116:31: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | column.resize(static_cast(rowCount())); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:118:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t row = 0; row < static_cast(rowCount()); row++) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:118:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(size_t row = 0; row < static_cast(rowCount()); row++) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:120:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | const NodeId nodeId = _userNodeData->elementIdForIndex(row); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:139:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:139:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:146:39: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 33 | for(const auto& columnName : std::as_const(_columnNames)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:149:26: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 33 | updateColumn(Qt::DisplayRole, _pendingData.back(), columnName); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:152:5: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 33 | QMetaObject::invokeMethod(this, "onUpdateComplete"); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:157:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:157:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:168:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit columnNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:174:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit selectionChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:203:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | void NodeAttributeTableModel::moveFocusToNodeForRowIndex(size_t row) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:209:72: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | void NodeAttributeTableModel::moveFocusToNodesForRowIndices(const std::vector& rows) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:211:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:211:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:215:72: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | nodeIds.push_back(_userNodeData->elementIdForIndex(static_cast(row))); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:257:42: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | bool NodeAttributeTableModel::rowVisible(size_t row) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:259:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(row < _nodeSelectedColumn.size()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:263:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | QString NodeAttributeTableModel::columnNameFor(size_t column) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:265:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(column < static_cast(_columnNames.size())); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:265:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | Q_ASSERT(column < static_cast(_columnNames.size())); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:270:13: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | static std::vector relatedNodes(const IUserNodeData* userNodeData, | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:271:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | const std::vector& rows, RelatedNodesFn&& relatedNodesFn) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:271:52: warning: forwarding reference parameter 'relatedNodesFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 271 | const std::vector& rows, RelatedNodesFn&& relatedNodesFn) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:273:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 21 | NodeIdSet relatedNodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:277:67: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | auto nodeId = userNodeData->elementIdForIndex(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:283:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector relatedRows; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:295:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector NodeAttributeTableModel::sourcesOf(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:295:64: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector NodeAttributeTableModel::sourcesOf(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:303:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector NodeAttributeTableModel::targetsOf(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:303:64: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector NodeAttributeTableModel::targetsOf(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:311:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector NodeAttributeTableModel::neighboursOf(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:311:67: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector NodeAttributeTableModel::neighboursOf(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:319:49: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | void NodeAttributeTableModel::cropTo(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:321:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 21 | NodeIdSet nodeIds; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:325:68: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | auto nodeId = _userNodeData->elementIdForIndex(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:332:51: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 33 | void NodeAttributeTableModel::onAttributesChanged(QStringList added, QStringList removed, QStringList changed, bool graphChanged) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:332:70: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 33 | void NodeAttributeTableModel::onAttributesChanged(QStringList added, QStringList removed, QStringList changed, bool graphChanged) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:332:91: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 33 | void NodeAttributeTableModel::onAttributesChanged(QStringList added, QStringList removed, QStringList changed, bool graphChanged) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:334:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:334:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:339:44: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | return attribute->elementType() != ElementType::Node || attribute->hasParameter(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:339:57: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | return attribute->elementType() != ElementType::Node || attribute->hasParameter(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:343:22: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 33 | added.erase(std::remove_if(added.begin(), added.end(), attributeIneligible), added.end()); // clazy:exclude=strict-iterators | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:344:24: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 33 | changed.erase(std::remove_if(changed.begin(), changed.end(), attributeIneligible), changed.end()); // clazy:exclude=strict-iterators | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:347:5: warning: no header providing "QSet" is directly included [misc-include-cleaner] 33 | QSet addedSet(added.begin(), added.end()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:348:5: warning: no header providing "QSet" is directly included [misc-include-cleaner] 33 | QSet removedSet(removed.begin(), removed.end()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:349:5: warning: no header providing "QSet" is directly included [misc-include-cleaner] 33 | QSet changedSet(changed.begin(), changed.end()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:361:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(addedSet.isEmpty() || !addedSet.intersects({_columnNames.begin(), _columnNames.end()})); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:368:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:368:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:369:57: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 33 | std::transform(names.begin(), names.end(), std::back_inserter(indices), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:370:59: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | [this](const auto& name) { return static_cast(indexForColumnName(name)); }); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:375:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | const std::vector changedIndices = indicesForColumnNames(changedSet, std::less<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:375:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | const std::vector changedIndices = indicesForColumnNames(changedSet, std::less<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:375:87: warning: no header providing "std::less" is directly included [misc-include-cleaner] 33 | const std::vector changedIndices = indicesForColumnNames(changedSet, std::less<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:376:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(const size_t index : changedIndices) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:380:26: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 33 | updateColumn(Qt::DisplayRole, column, columnName); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:383:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | const std::vector removedIndices = indicesForColumnNames(removedSet, std::greater<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:383:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | const std::vector removedIndices = indicesForColumnNames(removedSet, std::greater<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:383:87: warning: no header providing "std::greater" is directly included [misc-include-cleaner] 33 | const std::vector removedIndices = indicesForColumnNames(removedSet, std::greater<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:384:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(const size_t index : removedIndices) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:386:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(index < _pendingData.size()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:392:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | const std::vector addedIndices = indicesForColumnNames(addedSet, std::less<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:392:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | const std::vector addedIndices = indicesForColumnNames(addedSet, std::less<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:392:83: warning: no header providing "std::less" is directly included [misc-include-cleaner] 33 | const std::vector addedIndices = indicesForColumnNames(addedSet, std::less<>()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:393:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | for(const size_t index : addedIndices) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:403:26: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 33 | updateColumn(Qt::DisplayRole, column, columnName); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:407:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 33 | QMetaObject::invokeMethod(this, "onUpdateComplete"); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:410:45: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 33 | int NodeAttributeTableModel::rowCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:415:48: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 33 | int NodeAttributeTableModel::columnCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:420:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 33 | QVariant NodeAttributeTableModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:420:46: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 33 | QVariant NodeAttributeTableModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:422:31: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | auto column = static_cast(index.column()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:423:20: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 33 | if(role == Qt::DisplayRole) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:430:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | auto row = static_cast(index.row()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:440:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | auto row = static_cast(index.row()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:449:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit selectionChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11883 warnings generated. [23/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:26:61: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | 26 | bool TableProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex& sourceParent) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:32:67: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | 26 | bool TableProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex& sourceParent) const 27 | { 28 | return sourceModel()->data(sourceModel()->index(sourceRow, 0, sourceParent), 29 | NodeAttributeTableModel::Roles::NodeSelectedRole).toBool(); 30 | } 31 | 32 | bool TableProxyModel::filterAcceptsColumn(int sourceColumn, const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:41:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 25 | QVariant TableProxyModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:41:38: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | QVariant TableProxyModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:48:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | if(_orderedProxyToSourceColumn.size() == static_cast(columnCount())) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:51:56: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _orderedProxyToSourceColumn.at(static_cast(index.column()))); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:56:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(index.isValid() && sourceIndex.isValid()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:61:45: warning: no header providing "QItemSelection" is directly included [misc-include-cleaner] 25 | void TableProxyModel::setSubSelection(const QItemSelection& subSelection, const QItemSelection& subDeSelection) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:61:81: warning: no header providing "QItemSelection" is directly included [misc-include-cleaner] 25 | void TableProxyModel::setSubSelection(const QItemSelection& subSelection, const QItemSelection& subDeSelection) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:73:34: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 25 | for(const auto& range : std::as_const(_subSelection)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:74:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit dataChanged(range.topLeft(), range.bottomRight(), { Roles::SubSelectedRole }); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:77:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit dataChanged(range.topLeft(), range.bottomRight(), { Roles::SubSelectedRole }); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:80:1: warning: no header providing "QItemSelectionRange" is directly included [misc-include-cleaner] 25 | QItemSelectionRange TableProxyModel::buildRowSelectionRange(int topRow, int bottomRow) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:85:1: warning: no header providing "QItemSelection" is directly included [misc-include-cleaner] 25 | QItemSelection TableProxyModel::buildRowSelection(const std::vector& rows) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:85:62: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | QItemSelection TableProxyModel::buildRowSelection(const std::vector& rows) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:90:5: warning: no header providing "QItemSelection" is directly included [misc-include-cleaner] 25 | QItemSelection selection; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:91:35: warning: no header providing "qsizetype" is directly included [misc-include-cleaner] 25 | selection.reserve(static_cast(rows.size())); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:94:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 25 | std::sort(sortedRows.begin(), sortedRows.end()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:114:46: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | void TableProxyModel::setRowOrder(const std::vector& rows) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:118:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t i = 0; i < rows.size(); i++) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:121:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _rowOrderMap[static_cast(row)] = i; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:125:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit isRowOrderSetChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:130:11: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | const QModelIndex proxyIndex = index(proxyRow, 0); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:131:11: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | const QModelIndex sourceIndex = mapToSource(proxyIndex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:137:11: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | const QModelIndex sourceIndex = sourceModel()->index(sourceRow, 0); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:138:11: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | const QModelIndex proxyIndex = mapFromSource(sourceIndex); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:152:72: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | mappedProxyColumn = _orderedProxyToSourceColumn.at(static_cast(proxyColumn)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:157:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | TableProxyModel::TableProxyModel(QObject* parent) : QSortFilterProxyModel(parent) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:157:53: warning: no header providing "QSortFilterProxyModel" is directly included [misc-include-cleaner] 25 | TableProxyModel::TableProxyModel(QObject* parent) : QSortFilterProxyModel(parent) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:161:20: warning: no header providing "QAbstractProxyModel" is directly included [misc-include-cleaner] 25 | connect(this, &QAbstractProxyModel::sourceModelChanged, this, &TableProxyModel::updateSourceModelFilter); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:167:46: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | void TableProxyModel::setHiddenColumns(const QStringList& hiddenColumns) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:175:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(!sourceModel() || _sourceColumnOrder.size() == sourceModel()->columnCount()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:179:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 25 | std::map columnNameIndices; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:179:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | std::map columnNameIndices; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:181:39: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 25 | for(const auto& columnName : std::as_const(_columnNames)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:184:45: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 25 | for(const auto& sourceColumnName : std::as_const(_sourceColumnOrder)) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:188:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(u::contains(columnNameIndices, sourceColumnName)); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:198:40: warning: no header providing "QStandardItem" is directly included [misc-include-cleaner] 25 | _headerModel.setItem(0, i, new QStandardItem()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:200:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit columnOrderChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:201:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit layoutChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:204:44: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | void TableProxyModel::setColumnOrder(const QStringList& columnOrder) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:208:27: warning: no header providing "QList" is directly included [misc-include-cleaner] 25 | static_cast&>(columnOrder), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:208:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static_cast&>(columnOrder), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:209:27: warning: no header providing "QList" is directly included [misc-include-cleaner] 25 | static_cast&>(_columnNames))); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:209:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static_cast&>(_columnNames))); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:211:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector> newColumns; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:211:22: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 25 | std::vector> newColumns; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:211:32: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | std::vector> newColumns; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:228:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit columnOrderChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:232:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString TableProxyModel::sortColumn_() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:240:43: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | void TableProxyModel::setSortColumn(const QString& newSortColumn) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:247:33: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 25 | auto currentSortOrder = Qt::AscendingOrder; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:249:26: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 25 | auto existing = std::find_if(_sortColumnAndOrders.begin(), _sortColumnAndOrders.end(), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:266:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit sortColumnChanged(newSortColumn); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:267:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit sortOrderChanged(currentSortOrder); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:268:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit isRowOrderSetChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:271:5: warning: no header providing "Qt::SortOrder" is directly included [misc-include-cleaner] 25 | Qt::SortOrder TableProxyModel::sortOrder_() const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:274:20: warning: no header providing "Qt::DescendingOrder" is directly included [misc-include-cleaner] 25 | return Qt::DescendingOrder; | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:279:40: warning: no header providing "Qt::SortOrder" is directly included [misc-include-cleaner] 25 | void TableProxyModel::setSortOrder(Qt::SortOrder newSortOrder) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:289:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit sortOrderChanged(newSortOrder); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:290:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit isRowOrderSetChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:298:37: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 25 | _sortColumnAndOrders.erase(std::remove_if(_sortColumnAndOrders.begin(), _sortColumnAndOrders.end(), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:304:5: warning: no header providing "QSortFilterProxyModel" is directly included [misc-include-cleaner] 25 | QSortFilterProxyModel::invalidateFilter(); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:315:29: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 25 | connect(sourceModel(), &QAbstractItemModel::modelReset, this, &TableProxyModel::invalidateFilter); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:316:29: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 25 | connect(sourceModel(), &QAbstractItemModel::layoutChanged, this, &TableProxyModel::invalidateFilter); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:338:27: warning: no header providing "QList" is directly included [misc-include-cleaner] 25 | static_cast&>(_hiddenColumns), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:338:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static_cast&>(_hiddenColumns), | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:339:27: warning: no header providing "QList" is directly included [misc-include-cleaner] 25 | static_cast&>(_columnNames))); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:339:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static_cast&>(_columnNames))); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:352:38: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | bool TableProxyModel::lessThan(const QModelIndex& a, const QModelIndex& b) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:352:60: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 25 | bool TableProxyModel::lessThan(const QModelIndex& a, const QModelIndex& b) const | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:354:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | auto rowA = static_cast(a.row()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:355:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | auto rowB = static_cast(b.row()); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:373:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(column >= 0); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:382:55: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 25 | auto valueA = sourceModel()->data(indexA, Qt::DisplayRole); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:383:55: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 25 | auto valueB = sourceModel()->data(indexB, Qt::DisplayRole); | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:388:24: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 25 | if(static_cast(valueA.typeId()) == QMetaType::QString && | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:388:61: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 25 | if(static_cast(valueA.typeId()) == QMetaType::QString && | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:389:25: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 25 | static_cast(valueB.typeId()) == QMetaType::QString) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:389:62: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 25 | static_cast(valueB.typeId()) == QMetaType::QString) | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:391:33: warning: no header providing "Qt::DescendingOrder" is directly included [misc-include-cleaner] 25 | return order == Qt::DescendingOrder ? | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:396:29: warning: no header providing "Qt::DescendingOrder" is directly included [misc-include-cleaner] 25 | return order == Qt::DescendingOrder ? | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:397:13: warning: no header providing "QSortFilterProxyModel" is directly included [misc-include-cleaner] 25 | QSortFilterProxyModel::lessThan(indexB, indexA) : | ^ /home/runner/work/graphia/graphia/source/shared/plugins/tableproxymodel.cpp:398:13: warning: no header providing "QSortFilterProxyModel" is directly included [misc-include-cleaner] 25 | QSortFilterProxyModel::lessThan(indexA, indexB); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 12932 warnings generated. [24/195] /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:24:1: warning: included header checksum.h is not used directly [misc-include-cleaner] 24 | #include "shared/utils/checksum.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include "shared/utils/string.h" /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:32:1: warning: included header QStringList is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 33 | #include /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:33:1: warning: included header QCollator is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~~ 34 | #include /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:34:1: warning: included header QStandardPaths is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:35:1: warning: included header QSysInfo is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~~~~~ 36 | #include /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:36:1: warning: included header QDir is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~ 37 | #include /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:37:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~~~~~~ 38 | /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:46:28: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 40 | #include 41 | 42 | using namespace Qt::Literals::StringLiterals; 43 | 44 | QString updatesLocation() 45 | { 46 | auto appDataLocation = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:46:61: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 40 | #include 41 | 42 | using namespace Qt::Literals::StringLiterals; 43 | 44 | QString updatesLocation() 45 | { 46 | auto appDataLocation = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:74:59: warning: no header providing "std::string" is directly included [misc-include-cleaner] 41 | auto updatesString = updateObject["updates"].get(); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:75:60: warning: no header providing "std::string" is directly included [misc-include-cleaner] 41 | auto hexSignature = updateObject["signature"].get(); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:98:20: warning: no header providing "std::string" is directly included [misc-include-cleaner] 41 | const std::string targetVersionRegex = update["targetVersionRegex"]; | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:112:30: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 40 | return payloads.find(QSysInfo::kernelType().toStdString()) == payloads.end(); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:115:5: warning: no header providing "QCollator" is directly included [misc-include-cleaner] 40 | QCollator collator; | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:144:51: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 40 | json payload = *latestUpdate["payloads"].find(QSysInfo::kernelType().toStdString()); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:201:5: warning: no header providing "QDir" is directly included [misc-include-cleaner] 40 | QDir().mkpath(QFileInfo(fileName).absolutePath()); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:201:19: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 40 | QDir().mkpath(QFileInfo(fileName).absolutePath()); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:239:5: warning: no header providing "QDir" is directly included [misc-include-cleaner] 40 | QDir().mkpath(QFileInfo(fileName).absolutePath()); | ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:239:19: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 40 | QDir().mkpath(QFileInfo(fileName).absolutePath()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 20044 warnings generated. [25/195] /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:21:1: warning: included header QPainter is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:22:1: warning: included header QQuickWindow is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:24:20: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 23 | 24 | IconItem::IconItem(QQuickItem* parent) : QQuickPaintedItem(parent) | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:24:42: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 23 | 24 | IconItem::IconItem(QQuickItem* parent) : QQuickPaintedItem(parent) | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:37:22: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 23 | 24 | IconItem::IconItem(QQuickItem* parent) : QQuickPaintedItem(parent) 25 | { 26 | // Default size 27 | setWidth(24.0); 28 | setHeight(24.0); 29 | 30 | connect(this, &IconItem::enabledChanged, [this] { update(); }); 31 | connect(this, &IconItem::iconNameChanged, [this] { update(); }); 32 | connect(this, &IconItem::onChanged, [this] { update(); }); 33 | connect(this, &IconItem::selectedChanged, [this] { update(); }); 34 | connect(this, &IconItem::fillChanged, [this] { update(); }); 35 | } 36 | 37 | void IconItem::paint(QPainter* painter) | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:39:29: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 23 | auto mode = _selected ? QIcon::Selected : QIcon::Normal; | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:39:47: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 23 | auto mode = _selected ? QIcon::Selected : QIcon::Normal; | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:43:30: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 23 | isEnabled() ? mode : QIcon::Disabled, | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:44:15: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 23 | _on ? QIcon::On : QIcon::Off); | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:44:27: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 23 | _on ? QIcon::On : QIcon::Off); | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:63:34: warning: no header providing "QString" is directly included [misc-include-cleaner] 23 | void IconItem::setIconName(const QString& iconName) | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:68:13: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 23 | _icon = QIcon::fromTheme(iconName); | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:71:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 23 | emit validChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/ui/iconitem.cpp:73:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 23 | emit iconNameChanged(); | ^ 12611 warnings generated. [26/195] /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:21:1: warning: included header QPainter is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:22:1: warning: included header QQuickWindow is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:23:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:25:18: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 24 | 25 | Outline::Outline(QQuickItem* parent) : QQuickPaintedItem(parent) | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:25:40: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 24 | 25 | Outline::Outline(QQuickItem* parent) : QQuickPaintedItem(parent) | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:29:34: warning: no header providing "QmlControlColors" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | #include 23 | #include 24 | 25 | Outline::Outline(QQuickItem* parent) : QQuickPaintedItem(parent) 26 | { 27 | connect(this, &Outline::outlineVisibleChanged, [this] { update(); }); 28 | connect(this, &Outline::outlineWidthChanged, [this] { update(); }); 29 | connect(&_qmlControlColors, &QmlControlColors::paletteChanged, [this] { update(); }); | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:43:21: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 24 | void Outline::paint(QPainter* painter) | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:48:11: warning: no header providing "qreal" is directly included [misc-include-cleaner] 24 | const qreal outlineWidth = _outlineWidth * _widthModifier; | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:49:11: warning: no header providing "qreal" is directly included [misc-include-cleaner] 24 | const qreal halfOutlineWidth = outlineWidth * 0.5; | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:51:28: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 24 | painter->setRenderHint(QPainter::Antialiasing); | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:52:21: warning: no header providing "QPen" is directly included [misc-include-cleaner] 24 | painter->setPen(QPen(_qmlControlColors.outline(), outlineWidth, Qt::SolidLine, Qt::SquareCap, Qt::MiterJoin)); | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:52:73: warning: no header providing "Qt::SolidLine" is directly included [misc-include-cleaner] 24 | painter->setPen(QPen(_qmlControlColors.outline(), outlineWidth, Qt::SolidLine, Qt::SquareCap, Qt::MiterJoin)); | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:52:88: warning: no header providing "Qt::SquareCap" is directly included [misc-include-cleaner] 24 | painter->setPen(QPen(_qmlControlColors.outline(), outlineWidth, Qt::SolidLine, Qt::SquareCap, Qt::MiterJoin)); | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:52:103: warning: no header providing "Qt::MiterJoin" is directly included [misc-include-cleaner] 24 | painter->setPen(QPen(_qmlControlColors.outline(), outlineWidth, Qt::SolidLine, Qt::SquareCap, Qt::MiterJoin)); | ^ /home/runner/work/graphia/graphia/source/shared/ui/outline.cpp:53:23: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 24 | painter->drawRect(QRectF(halfOutlineWidth, halfOutlineWidth, | ^ 12647 warnings generated. [27/195] /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:25:1: warning: included header QDebug is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:35:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | 29 | ColorGradient::ColorGradient(const QString& descriptor) 30 | { 31 | auto jsonDocument = parseJsonFrom(descriptor.toUtf8()); 32 | 33 | if(jsonDocument.is_null()) 34 | { 35 | qDebug() << "ColorGradient failed to parse" << descriptor; | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:41:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | 29 | ColorGradient::ColorGradient(const QString& descriptor) 30 | { 31 | auto jsonDocument = parseJsonFrom(descriptor.toUtf8()); 32 | 33 | if(jsonDocument.is_null()) 34 | { 35 | qDebug() << "ColorGradient failed to parse" << descriptor; 36 | return; 37 | } 38 | 39 | if(!jsonDocument.is_object()) 40 | { 41 | qDebug() << "ColorGradient is not an object" << descriptor; | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:47:27: warning: no header providing "std::stod" is directly included [misc-include-cleaner] 28 | auto value = std::stod(i.key()); | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:56:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 28 | QColor ColorGradient::get(double value) const | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:64:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | for(size_t i = 0; i < _stops.size() - 1; i++) | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorgradient.cpp:79:13: warning: no header providing "QColor" is directly included [misc-include-cleaner] 28 | QColor blend; | ^ 17439 warnings generated. [28/195] /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:21:1: warning: included header utils.h is not used directly [misc-include-cleaner] 21 | #include "shared/utils/utils.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include "shared/utils/container.h" /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:27:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:28:1: warning: included header QDebug is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:30:1: warning: included header algorithm is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:40:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | ColorPalette::ColorPalette(const QString& descriptor) 35 | { 36 | auto jsonDocument = parseJsonFrom(descriptor.toUtf8()); 37 | 38 | if(jsonDocument.is_null()) 39 | { 40 | qDebug() << "ColorPalette failed to parse" << descriptor; | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:46:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | ColorPalette::ColorPalette(const QString& descriptor) 35 | { 36 | auto jsonDocument = parseJsonFrom(descriptor.toUtf8()); 37 | 38 | if(jsonDocument.is_null()) 39 | { 40 | qDebug() << "ColorPalette failed to parse" << descriptor; 41 | return; 42 | } 43 | 44 | if(!jsonDocument.is_object()) 45 | { 46 | qDebug() << "ColorPalette is not an object" << descriptor; | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:55:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "ColorPalette does not contain autoColors or fixedColors"; | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:64:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "ColorPalette does not have autoColors array or fixedColors object"; | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:94:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "ColorPalette.defaultColor is not a string"; | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:99:25: warning: no header providing "QColor" is directly included [misc-include-cleaner] 31 | _defaultColor = QColor(defaultColorString); | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:103:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 31 | QColor ColorPalette::get(const QString& value, int index) const | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:145:34: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 31 | for(const auto& c : std::as_const(nonDigitValue)) | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:151:39: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | auto colorIndex = static_cast(index) % _colors.size(); | ^ /home/runner/work/graphia/graphia/source/shared/ui/visualisations/colorpalette.cpp:187:16: warning: no header providing "QColor" is directly included [misc-include-cleaner] 31 | return QColor::fromHsv(h, s, v); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 17589 warnings generated. [29/195] /home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp:21:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp:22:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp:23:1: warning: included header QDir is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp:32:15: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 24 | 25 | static QString appPath; 26 | 27 | QString u::appPathName() { return appPath; } 28 | 29 | void u::setAppPathName(const QString& exe) 30 | { 31 | // Default 32 | appPath = QFileInfo(exe).absoluteFilePath(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp:35:8: warning: no header providing "qEnvironmentVariableIsSet" is directly included [misc-include-cleaner] 24 | 25 | static QString appPath; 26 | 27 | QString u::appPathName() { return appPath; } 28 | 29 | void u::setAppPathName(const QString& exe) 30 | { 31 | // Default 32 | appPath = QFileInfo(exe).absoluteFilePath(); 33 | 34 | #if defined(Q_OS_LINUX) 35 | if(qEnvironmentVariableIsSet("APPIMAGE")) | ^ /home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp:36:19: warning: no header providing "qgetenv" is directly included [misc-include-cleaner] 24 | 25 | static QString appPath; 26 | 27 | QString u::appPathName() { return appPath; } 28 | 29 | void u::setAppPathName(const QString& exe) 30 | { 31 | // Default 32 | appPath = QFileInfo(exe).absoluteFilePath(); 33 | 34 | #if defined(Q_OS_LINUX) 35 | if(qEnvironmentVariableIsSet("APPIMAGE")) 36 | appPath = qgetenv("APPIMAGE"); | ^ 10534 warnings generated. [30/195] /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:23:1: warning: included header QCryptographicHash is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:25:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 24 | 25 | QColor u::contrastingColor(const QColor& color) | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:25:34: warning: no header providing "QColor" is directly included [misc-include-cleaner] 24 | 25 | QColor u::contrastingColor(const QColor& color) | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:28:20: warning: no header providing "Qt::black" is directly included [misc-include-cleaner] 24 | 25 | QColor u::contrastingColor(const QColor& color) 26 | { 27 | if(color.alpha() == 0) 28 | return Qt::black; | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:36:42: warning: no header providing "Qt::black" is directly included [misc-include-cleaner] 24 | 25 | QColor u::contrastingColor(const QColor& color) 26 | { 27 | if(color.alpha() == 0) 28 | return Qt::black; 29 | 30 | auto brightness = 0.299f * color.redF() + 31 | 0.587f * color.greenF() + 32 | 0.114f * color.blueF(); 33 | auto blackDiff = std::abs(brightness - 0.0f); 34 | auto whiteDiff = std::abs(brightness - 1.0f); 35 | 36 | return (blackDiff > whiteDiff) ? Qt::black : Qt::white; | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:36:54: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] 24 | 25 | QColor u::contrastingColor(const QColor& color) 26 | { 27 | if(color.alpha() == 0) 28 | return Qt::black; 29 | 30 | auto brightness = 0.299f * color.redF() + 31 | 0.587f * color.greenF() + 32 | 0.114f * color.blueF(); 33 | auto blackDiff = std::abs(brightness - 0.0f); 34 | auto whiteDiff = std::abs(brightness - 1.0f); 35 | 36 | return (blackDiff > whiteDiff) ? Qt::black : Qt::white; | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:39:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 24 | 25 | QColor u::contrastingColor(const QColor& color) 26 | { 27 | if(color.alpha() == 0) 28 | return Qt::black; 29 | 30 | auto brightness = 0.299f * color.redF() + 31 | 0.587f * color.greenF() + 32 | 0.114f * color.blueF(); 33 | auto blackDiff = std::abs(brightness - 0.0f); 34 | auto whiteDiff = std::abs(brightness - 1.0f); 35 | 36 | return (blackDiff > whiteDiff) ? Qt::black : Qt::white; 37 | } 38 | 39 | QColor u::colorForString(const QString& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:39:32: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | 25 | QColor u::contrastingColor(const QColor& color) 26 | { 27 | if(color.alpha() == 0) 28 | return Qt::black; 29 | 30 | auto brightness = 0.299f * color.redF() + 31 | 0.587f * color.greenF() + 32 | 0.114f * color.blueF(); 33 | auto blackDiff = std::abs(brightness - 0.0f); 34 | auto whiteDiff = std::abs(brightness - 1.0f); 35 | 36 | return (blackDiff > whiteDiff) ? Qt::black : Qt::white; 37 | } 38 | 39 | QColor u::colorForString(const QString& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:41:5: warning: no header providing "QCryptographicHash" is directly included [misc-include-cleaner] 24 | QCryptographicHash hash(QCryptographicHash::Algorithm::Md5); | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:41:29: warning: no header providing "QCryptographicHash" is directly included [misc-include-cleaner] 24 | QCryptographicHash hash(QCryptographicHash::Algorithm::Md5); | ^ /home/runner/work/graphia/graphia/source/shared/utils/color.cpp:57:12: warning: no header providing "QColor" is directly included [misc-include-cleaner] 24 | return QColor::fromHsl(hue, 255, lightness); | ^ 7551 warnings generated. [31/195] /home/runner/work/graphia/graphia/source/shared/utils/console.cpp:21:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/shared/utils/console.cpp:43:19: warning: no header providing "fileno" is directly included [misc-include-cleaner] 22 | return isatty(fileno(stderr)) != 0; | ^ /home/runner/work/graphia/graphia/source/shared/utils/console.cpp:98:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 22 | Q_UNUSED(mode); | ^ /home/runner/work/graphia/graphia/source/shared/utils/console.cpp:113:18: warning: no header providing "fileno" is directly included [misc-include-cleaner] 22 | if(ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0) | ^ /home/runner/work/graphia/graphia/source/shared/utils/console.cpp:113:34: warning: no header providing "TIOCGWINSZ" is directly included [misc-include-cleaner] 22 | if(ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0) | ^ 4514 warnings generated. [32/195] /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:20:1: warning: included header odsconsolecapture.h is not used directly [misc-include-cleaner] 20 | #include "odsconsolecapture.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 | #include "debugger.h" /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:68:57: warning: no header providing "FILE" is directly included [misc-include-cleaner] 24 | CStreamCapture::CStreamCapture(const QString &filename, FILE *stream) : | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:71:18: warning: no header providing "std::freopen" is directly included [misc-include-cleaner] 24 | _file = std::freopen(this->filename().toLocal8Bit().constData(), "w", stream); | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:78:32: warning: no header providing "std::fclose" is directly included [misc-include-cleaner] 24 | static_cast(std::fclose(_file)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:108:14: warning: no header providing "std::make_shared" is directly included [misc-include-cleaner] 25 | std::make_shared(filename("cout"), std::cout), | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:109:14: warning: no header providing "std::make_shared" is directly included [misc-include-cleaner] 25 | std::make_shared(filename("cerr"), std::cerr), | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:110:14: warning: no header providing "std::make_shared" is directly included [misc-include-cleaner] 25 | std::make_shared(filename("stdout"), stdout), | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:110:62: warning: no header providing "stdout" is directly included [misc-include-cleaner] 24 | std::make_shared(filename("stdout"), stdout), | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:111:14: warning: no header providing "std::make_shared" is directly included [misc-include-cleaner] 25 | std::make_shared(filename("stderr"), stderr), | ^ /home/runner/work/graphia/graphia/source/shared/utils/consolecapture.cpp:111:62: warning: no header providing "stderr" is directly included [misc-include-cleaner] 24 | std::make_shared(filename("stderr"), stderr), | ^ 10602 warnings generated. [33/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:36:50: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #include 29 | 30 | u::AesKey u::generateAesKey() 31 | { 32 | AesKey key; 33 | 34 | CryptoPP::AutoSeededRandomPool rng; 35 | 36 | rng.GenerateBlock(reinterpret_cast(key._aes), sizeof(key._aes)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:37:50: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | #include 29 | 30 | u::AesKey u::generateAesKey() 31 | { 32 | AesKey key; 33 | 34 | CryptoPP::AutoSeededRandomPool rng; 35 | 36 | rng.GenerateBlock(reinterpret_cast(key._aes), sizeof(key._aes)); 37 | rng.GenerateBlock(reinterpret_cast(key._iv), sizeof(key._iv)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:42:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | 30 | u::AesKey u::generateAesKey() 31 | { 32 | AesKey key; 33 | 34 | CryptoPP::AutoSeededRandomPool rng; 35 | 36 | rng.GenerateBlock(reinterpret_cast(key._aes), sizeof(key._aes)); 37 | rng.GenerateBlock(reinterpret_cast(key._iv), sizeof(key._iv)); 38 | 39 | return key; 40 | } 41 | 42 | std::string u::aesDecryptBytes(const std::vector& bytes, const u::AesKey& aesKey) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:42:43: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | 30 | u::AesKey u::generateAesKey() 31 | { 32 | AesKey key; 33 | 34 | CryptoPP::AutoSeededRandomPool rng; 35 | 36 | rng.GenerateBlock(reinterpret_cast(key._aes), sizeof(key._aes)); 37 | rng.GenerateBlock(reinterpret_cast(key._iv), sizeof(key._iv)); 38 | 39 | return key; 40 | } 41 | 42 | std::string u::aesDecryptBytes(const std::vector& bytes, const u::AesKey& aesKey) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:42:55: warning: no header providing "std::byte" is directly included [misc-include-cleaner] 29 | 30 | u::AesKey u::generateAesKey() 31 | { 32 | AesKey key; 33 | 34 | CryptoPP::AutoSeededRandomPool rng; 35 | 36 | rng.GenerateBlock(reinterpret_cast(key._aes), sizeof(key._aes)); 37 | rng.GenerateBlock(reinterpret_cast(key._iv), sizeof(key._iv)); 38 | 39 | return key; 40 | } 41 | 42 | std::string u::aesDecryptBytes(const std::vector& bytes, const u::AesKey& aesKey) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:44:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | 30 | u::AesKey u::generateAesKey() 31 | { 32 | AesKey key; 33 | 34 | CryptoPP::AutoSeededRandomPool rng; 35 | 36 | rng.GenerateBlock(reinterpret_cast(key._aes), sizeof(key._aes)); 37 | rng.GenerateBlock(reinterpret_cast(key._iv), sizeof(key._iv)); 38 | 39 | return key; 40 | } 41 | 42 | std::string u::aesDecryptBytes(const std::vector& bytes, const u::AesKey& aesKey) 43 | { 44 | std::vector outBytes(bytes.size()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:44:27: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | std::vector outBytes(bytes.size()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:46:95: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | CryptoPP::CFB_Mode::Decryption decryption(reinterpret_cast(aesKey._aes), | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:47:63: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | sizeof(aesKey._aes), reinterpret_cast(aesKey._iv)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:48:78: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | decryption.ProcessData(outBytes.data(), reinterpret_cast(bytes.data()), bytes.size()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:53:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::aesDecryptString(const std::string& string, const u::AesKey& aesKey) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:53:44: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::aesDecryptString(const std::string& string, const u::AesKey& aesKey) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:55:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | std::vector outBytes(string.size()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:55:27: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | std::vector outBytes(string.size()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:57:95: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | CryptoPP::CFB_Mode::Decryption decryption(reinterpret_cast(aesKey._aes), | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:58:63: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | sizeof(aesKey._aes), reinterpret_cast(aesKey._iv)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:64:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::aesEncryptString(const std::string& string, const u::AesKey& aesKey) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:64:44: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::aesEncryptString(const std::string& string, const u::AesKey& aesKey) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:69:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | std::vector outBytes(bytesSize); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:69:27: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | std::vector outBytes(bytesSize); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:71:95: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | CryptoPP::CFB_Mode::Encryption encryption(reinterpret_cast(aesKey._aes), | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:72:63: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | sizeof(aesKey._aes), reinterpret_cast(aesKey._iv)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:78:8: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 29 | static QByteArray decodeFromPem(const QByteArray& source) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:78:39: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 29 | static QByteArray decodeFromPem(const QByteArray& source) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:95:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 29 | return QByteArray::fromBase64(text.toUtf8()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:99:24: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | Key loadKey(const std::string& fileName) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:102:19: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 29 | if(!file.open(QIODevice::ReadOnly)) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:111:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | static_cast(byteArray.size()), true); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:119:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::rsaSignString(const std::string& string, const std::string& privateKeyFileName) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:119:41: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::rsaSignString(const std::string& string, const std::string& privateKeyFileName) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:119:68: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::rsaSignString(const std::string& string, const std::string& privateKeyFileName) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:121:10: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string signature; | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:130:25: warning: no header providing "CryptoPP::StringSource" is directly included [misc-include-cleaner] 23 | const CryptoPP::StringSource ss(string, true, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:131:13: warning: memory allocation may leak if an other allocation is sequenced after it and throws an exception [bugprone-multiple-new-in-one-expression] 131 | new CryptoPP::SignerFilter(rng, signer, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 | new CryptoPP::StringSink(signature) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | ) // SignerFilter | ~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:131:27: warning: no header providing "CryptoPP::SignerFilter" is directly included [misc-include-cleaner] 23 | new CryptoPP::SignerFilter(rng, signer, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:132:31: warning: no header providing "CryptoPP::StringSink" is directly included [misc-include-cleaner] 23 | new CryptoPP::StringSink(signature) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:135:9: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 29 | Q_UNUSED(ss); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:137:16: warning: no header providing "std::exception" is directly included [misc-include-cleaner] 29 | catch(std::exception&) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:145:39: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | bool u::rsaVerifySignature(const std::string& string, const std::string& signature, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:145:66: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | bool u::rsaVerifySignature(const std::string& string, const std::string& signature, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:146:16: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | const std::string& publicKeyFileName, std::string* message) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:146:48: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | const std::string& publicKeyFileName, std::string* message) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:151:39: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | bool u::rsaVerifySignature(const std::string& signaturePlusString, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:152:16: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | const std::string& publicKeyFileName, std::string* message) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:152:48: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | const std::string& publicKeyFileName, std::string* message) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:157:10: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string recoveredMessage; | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:161:25: warning: no header providing "CryptoPP::StringSource" is directly included [misc-include-cleaner] 23 | const CryptoPP::StringSource ss(signaturePlusString, true, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:162:13: warning: memory allocation may leak if an other allocation is sequenced after it and throws an exception [bugprone-multiple-new-in-one-expression] 162 | new CryptoPP::SignatureVerificationFilter( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | rsaVerifier, new CryptoPP::StringSink(recoveredMessage), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | CryptoPP::SignatureVerificationFilter::SIGNATURE_AT_BEGIN | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | CryptoPP::SignatureVerificationFilter::PUT_MESSAGE | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | CryptoPP::SignatureVerificationFilter::THROW_EXCEPTION | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | ) // SignatureVerificationFilter | ~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:162:27: warning: no header providing "CryptoPP::SignatureVerificationFilter" is directly included [misc-include-cleaner] 23 | new CryptoPP::SignatureVerificationFilter( | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:163:44: warning: no header providing "CryptoPP::StringSink" is directly included [misc-include-cleaner] 23 | rsaVerifier, new CryptoPP::StringSink(recoveredMessage), | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:164:27: warning: no header providing "CryptoPP::SignatureVerificationFilter" is directly included [misc-include-cleaner] 23 | CryptoPP::SignatureVerificationFilter::SIGNATURE_AT_BEGIN | | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:165:27: warning: no header providing "CryptoPP::SignatureVerificationFilter" is directly included [misc-include-cleaner] 23 | CryptoPP::SignatureVerificationFilter::PUT_MESSAGE | | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:166:27: warning: no header providing "CryptoPP::SignatureVerificationFilter" is directly included [misc-include-cleaner] 23 | CryptoPP::SignatureVerificationFilter::THROW_EXCEPTION | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:169:9: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 29 | Q_UNUSED(ss); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:171:16: warning: no header providing "std::exception" is directly included [misc-include-cleaner] 29 | catch(std::exception&) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:182:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::rsaEncryptString(const std::string& string, const std::string& publicKeyFileName) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:182:44: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::rsaEncryptString(const std::string& string, const std::string& publicKeyFileName) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:182:71: warning: no header providing "std::string" is directly included [misc-include-cleaner] 29 | std::string u::rsaEncryptString(const std::string& string, const std::string& publicKeyFileName) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:188:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | std::vector cipher(rsaEncryptor.FixedCiphertextLength()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:188:27: warning: no header providing "CryptoPP::byte" is directly included [misc-include-cleaner] 23 | std::vector cipher(rsaEncryptor.FixedCiphertextLength()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:190:21: warning: no header providing "CryptoPP::StringSource" is directly included [misc-include-cleaner] 23 | const CryptoPP::StringSource ss(string, true, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:191:23: warning: no header providing "CryptoPP::PK_EncryptorFilter" is directly included [misc-include-cleaner] 23 | new CryptoPP::PK_EncryptorFilter(rng, rsaEncryptor, | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:192:27: warning: no header providing "CryptoPP::ArraySink" is directly included [misc-include-cleaner] 23 | new CryptoPP::ArraySink(cipher.data(), cipher.size()) | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:195:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 29 | Q_UNUSED(ss); | ^ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/filters.h:1264:4: warning: Call to virtual method 'StringStore::StoreInitialize' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 1264 | {StoreInitialize(MakeParameters("InputBuffer", ConstByteArrayParameter(string)));} | ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:184:22: note: Calling 'loadKey' 184 | auto publicKey = loadKey(publicKeyFileName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:102:8: note: Assuming the condition is false 102 | if(!file.open(QIODevice::ReadOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:102:5: note: Taking false branch 102 | if(!file.open(QIODevice::ReadOnly)) | ^ 13323 warnings generated. [34/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:24:1: warning: included header QDebug is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:25:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:28:12: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 26 | 27 | DeferredExecutor::DeferredExecutor() : 28 | _debug(qEnvironmentVariableIntValue("DEFERREDEXECUTOR_DEBUG")) | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:36:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | 27 | DeferredExecutor::DeferredExecutor() : 28 | _debug(qEnvironmentVariableIntValue("DEFERREDEXECUTOR_DEBUG")) 29 | {} 30 | 31 | DeferredExecutor::~DeferredExecutor() 32 | { 33 | cancel(); 34 | } 35 | 36 | size_t DeferredExecutor::enqueue(TaskFn&& function, const QString& description) | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:38:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | 27 | DeferredExecutor::DeferredExecutor() : 28 | _debug(qEnvironmentVariableIntValue("DEFERREDEXECUTOR_DEBUG")) 29 | {} 30 | 31 | DeferredExecutor::~DeferredExecutor() 32 | { 33 | cancel(); 34 | } 35 | 36 | size_t DeferredExecutor::enqueue(TaskFn&& function, const QString& description) 37 | { 38 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:38:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | 27 | DeferredExecutor::DeferredExecutor() : 28 | _debug(qEnvironmentVariableIntValue("DEFERREDEXECUTOR_DEBUG")) 29 | {} 30 | 31 | DeferredExecutor::~DeferredExecutor() 32 | { 33 | cancel(); 34 | } 35 | 36 | size_t DeferredExecutor::enqueue(TaskFn&& function, const QString& description) 37 | { 38 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:41:27: warning: no header providing "std::move" is directly included [misc-include-cleaner] 26 | 27 | DeferredExecutor::DeferredExecutor() : 28 | _debug(qEnvironmentVariableIntValue("DEFERREDEXECUTOR_DEBUG")) 29 | {} 30 | 31 | DeferredExecutor::~DeferredExecutor() 32 | { 33 | cancel(); 34 | } 35 | 36 | size_t DeferredExecutor::enqueue(TaskFn&& function, const QString& description) 37 | { 38 | const std::unique_lock lock(_mutex); 39 | 40 | Task task; 41 | task._function = std::move(function); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:45:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "enqueue(...) thread:" << u::currentThreadName() << description; | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:54:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:54:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:61:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "execute() thread" << u::currentThreadName(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:64:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "\t" << task._description; | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:73:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:73:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:82:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Executing" << task._description; | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:103:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:103:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:111:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:111:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:117:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:117:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:123:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:123:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:128:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | void DeferredExecutor::waitFor(size_t numTasks) | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:130:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:130:27: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:139:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "waitFor(" << numTasks << ") called with" << | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:146:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | numTasks = std::min(_tasks.size(), numTasks); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:147:39: warning: no header providing "std::this_thread::get_id" is directly included [misc-include-cleaner] 26 | auto threadId = std::this_thread::get_id(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:152:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "waitFor(" << numTasks << ") thread:" << | ^ /home/runner/work/graphia/graphia/source/shared/utils/deferredexecutor.cpp:165:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "waitFor complete thread:" << | ^ 11383 warnings generated. [35/195] /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:21:1: warning: included header QNetworkReply is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:23:1: warning: included header QTemporaryDir is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:24:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:25:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:28:1: warning: included header iostream is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:29:1: warning: included header cstdio is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:33:39: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 30 | 31 | DownloadQueue::DownloadQueue() // NOLINT modernize-use-equals-default 32 | { 33 | _networkManager.setRedirectPolicy(QNetworkRequest::NoLessSafeRedirectPolicy); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:34:32: warning: no header providing "QNetworkAccessManager" is directly included [misc-include-cleaner] 30 | 31 | DownloadQueue::DownloadQueue() // NOLINT modernize-use-equals-default 32 | { 33 | _networkManager.setRedirectPolicy(QNetworkRequest::NoLessSafeRedirectPolicy); 34 | connect(&_networkManager, &QNetworkAccessManager::finished, this, &DownloadQueue::onReplyReceived); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:44:13: warning: no header providing "QDir" is directly included [misc-include-cleaner] 30 | 31 | DownloadQueue::DownloadQueue() // NOLINT modernize-use-equals-default 32 | { 33 | _networkManager.setRedirectPolicy(QNetworkRequest::NoLessSafeRedirectPolicy); 34 | connect(&_networkManager, &QNetworkAccessManager::finished, this, &DownloadQueue::onReplyReceived); 35 | } 36 | 37 | DownloadQueue::~DownloadQueue() 38 | { 39 | cancel(); 40 | 41 | for(const auto& [deletee, isDir] : _downloaded) 42 | { 43 | if(isDir == IsDir::Yes) 44 | QDir(deletee).removeRecursively(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:50:31: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 30 | bool DownloadQueue::add(const QUrl& url) | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:91:38: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 30 | bool DownloadQueue::downloaded(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:93:21: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 30 | auto fileinfo = QFileInfo(url.toLocalFile()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:100:13: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 30 | QFileInfo(deletee.first).canonicalFilePath(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:110:33: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 30 | void DownloadQueue::start(const QUrl& url) | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:112:27: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 30 | _temporaryFile = std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:115:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Failed to create temporary file while downloading" << url.toString(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:121:5: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 30 | QNetworkRequest request; | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:130:6: warning: no header providing "qint64" is directly included [misc-include-cleaner] 30 | (qint64 bytesReceived, qint64 bytesTotal) | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:130:28: warning: no header providing "qint64" is directly included [misc-include-cleaner] 30 | (qint64 bytesReceived, qint64 bytesTotal) | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:140:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit progressChanged(_progress); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:148:30: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 30 | connect(&_timeoutTimer, &QTimer::timeout, [this] | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:155:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit progressChanged(_progress); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:156:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit idleChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:161:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(reply == _reply); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:169:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit error(_reply->url(), _reply->errorString()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:175:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit progressChanged(_progress); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:177:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | QString filename; | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:179:46: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 30 | auto contentDisposition = _reply->header(QNetworkRequest::ContentDispositionHeader); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:183:22: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | static const QRegularExpression re(QStringLiteral( | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:183:44: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 30 | static const QRegularExpression re(QStringLiteral( | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:185:30: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 30 | filename.replace(re, QStringLiteral(R"(\1)")); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:199:9: warning: no header providing "QTemporaryDir" is directly included [misc-include-cleaner] 30 | QTemporaryDir tempDir; | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:205:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Failed to rename" << _temporaryFile->fileName() << "to" << filename; | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:214:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit complete(_reply->url(), filename); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:225:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit progressChanged(_progress); | ^ /home/runner/work/graphia/graphia/source/shared/utils/downloadqueue.cpp:231:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit idleChanged(); | ^ 11598 warnings generated. [36/195] /home/runner/work/graphia/graphia/source/shared/utils/failurereason.cpp:41:40: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 23 | .arg(location.function_name(), QStringLiteral(GIT_SHA)); | ^ 7174 warnings generated. [37/195] /home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp:3:1: warning: included header QEvent is not used directly [misc-include-cleaner] 3 | #include | ^~~~~~~~~~~~~~~~~ 4 | #include /home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp:4:1: warning: included header QFileOpenEvent is not used directly [misc-include-cleaner] 4 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 5 | #include /home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp:5:1: warning: included header QString is not used directly [misc-include-cleaner] 5 | #include | ^~~~~~~~~~~~~~~~~~ 6 | /home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp:7:44: warning: no header providing "QObject" is directly included [misc-include-cleaner] 6 | 7 | bool MacOsFileOpenEventFilter::eventFilter(QObject* object, QEvent* event) | ^ /home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp:11:44: warning: no header providing "QFileOpenEvent" is directly included [misc-include-cleaner] 6 | 7 | bool MacOsFileOpenEventFilter::eventFilter(QObject* object, QEvent* event) 8 | { 9 | if(event->type() == QEvent::FileOpen) 10 | { 11 | auto* fileOpenEvent = dynamic_cast(event); | ^ /home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp:19:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 6 | 7 | bool MacOsFileOpenEventFilter::eventFilter(QObject* object, QEvent* event) 8 | { 9 | if(event->type() == QEvent::FileOpen) 10 | { 11 | auto* fileOpenEvent = dynamic_cast(event); 12 | QString argument; 13 | 14 | if(!fileOpenEvent->url().isEmpty()) 15 | argument = fileOpenEvent->url().toString(); 16 | else if(!fileOpenEvent->file().isEmpty()) 17 | argument = fileOpenEvent->file(); 18 | 19 | emit externalOpen(argument); | ^ /home/runner/work/graphia/graphia/source/shared/utils/macosfileopeneventfilter.cpp:22:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 6 | return QObject::eventFilter(object, event); | ^ 10790 warnings generated. [38/195] /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:34:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 22 | 23 | ModelCompleter::ModelCompleter() 24 | { 25 | connect(this, &ModelCompleter::modelChanged, this, &ModelCompleter::update); 26 | connect(this, &ModelCompleter::termChanged, this, &ModelCompleter::update); 27 | } 28 | 29 | void ModelCompleter::update() 30 | { 31 | if(_model == nullptr) 32 | return; 33 | 34 | QVector candidates; | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:34:13: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 22 | 23 | ModelCompleter::ModelCompleter() 24 | { 25 | connect(this, &ModelCompleter::modelChanged, this, &ModelCompleter::update); 26 | connect(this, &ModelCompleter::termChanged, this, &ModelCompleter::update); 27 | } 28 | 29 | void ModelCompleter::update() 30 | { 31 | if(_model == nullptr) 32 | return; 33 | 34 | QVector candidates; | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:35:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | ModelCompleter::ModelCompleter() 24 | { 25 | connect(this, &ModelCompleter::modelChanged, this, &ModelCompleter::update); 26 | connect(this, &ModelCompleter::termChanged, this, &ModelCompleter::update); 27 | } 28 | 29 | void ModelCompleter::update() 30 | { 31 | if(_model == nullptr) 32 | return; 33 | 34 | QVector candidates; 35 | QString commonPrefix; | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:36:5: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 22 | 23 | ModelCompleter::ModelCompleter() 24 | { 25 | connect(this, &ModelCompleter::modelChanged, this, &ModelCompleter::update); 26 | connect(this, &ModelCompleter::termChanged, this, &ModelCompleter::update); 27 | } 28 | 29 | void ModelCompleter::update() 30 | { 31 | if(_model == nullptr) 32 | return; 33 | 34 | QVector candidates; 35 | QString commonPrefix; 36 | QModelIndex closestMatch; | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:39:46: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 22 | auto forEach = [&](const auto& forEach_, QModelIndex parent = {}) -> void | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:43:19: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 22 | const QModelIndex index = _model->index(row, 0, parent); | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:46:43: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 22 | if(name.startsWith(_term, Qt::CaseInsensitive)) | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:50:46: warning: no header providing "std::min" is directly included [misc-include-cleaner] 21 | for(int i = 0 ; i < std::min(commonPrefix.length(), name.length()); i++) | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:80:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 22 | emit candidatesChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:85:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 22 | emit commonPrefixChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/modelcompleter.cpp:91:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 22 | emit closestMatchChanged(); | ^ 11254 warnings generated. [39/195] /home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp:21:53: warning: no header providing "std::chrono::seconds" is directly included [misc-include-cleaner] 20 | 21 | PerformanceCounter::PerformanceCounter(std::chrono::seconds interval) : | ^ /home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp:27:24: warning: no header providing "std::chrono::time_point" is directly included [misc-include-cleaner] 20 | 21 | PerformanceCounter::PerformanceCounter(std::chrono::seconds interval) : 22 | _interval(interval) 23 | {} 24 | 25 | void PerformanceCounter::tick() 26 | { 27 | const std::chrono::time_point now = | ^ /home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp:27:48: warning: no header providing "std::chrono::high_resolution_clock" is directly included [misc-include-cleaner] 20 | 21 | PerformanceCounter::PerformanceCounter(std::chrono::seconds interval) : 22 | _interval(interval) 23 | {} 24 | 25 | void PerformanceCounter::tick() 26 | { 27 | const std::chrono::time_point now = | ^ /home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp:28:26: warning: no header providing "std::chrono::high_resolution_clock" is directly included [misc-include-cleaner] 20 | 21 | PerformanceCounter::PerformanceCounter(std::chrono::seconds interval) : 22 | _interval(interval) 23 | {} 24 | 25 | void PerformanceCounter::tick() 26 | { 27 | const std::chrono::time_point now = 28 | std::chrono::high_resolution_clock::now(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp:45:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | const size_t numSamples = _samples.size(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp:47:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | for(size_t index = 0; index < numSamples - 1; index++) | ^ /home/runner/work/graphia/graphia/source/shared/utils/performancecounter.cpp:52:28: warning: no header providing "std::chrono::duration" is directly included [misc-include-cleaner] 20 | const std::chrono::duration duration = end - start; | ^ 6045 warnings generated. [40/195] /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:21:1: warning: included header QStyleHints is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:23:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | 23 | QmlControlColors::QmlControlColors(QObject* parent) : | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:24:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | 23 | QmlControlColors::QmlControlColors(QObject* parent) : 24 | QObject(parent) | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:26:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 22 | 23 | QmlControlColors::QmlControlColors(QObject* parent) : 24 | QObject(parent) 25 | { 26 | QCoreApplication::instance()->installEventFilter(this); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:28:13: warning: no header providing "QGuiApplication" is directly included [misc-include-cleaner] 22 | 23 | QmlControlColors::QmlControlColors(QObject* parent) : 24 | QObject(parent) 25 | { 26 | QCoreApplication::instance()->installEventFilter(this); 27 | 28 | connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:28:45: warning: no header providing "QStyleHints" is directly included [misc-include-cleaner] 22 | 23 | QmlControlColors::QmlControlColors(QObject* parent) : 24 | QObject(parent) 25 | { 26 | QCoreApplication::instance()->installEventFilter(this); 27 | 28 | connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged, | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:33:20: warning: no header providing "QGuiApplication" is directly included [misc-include-cleaner] 22 | 23 | QmlControlColors::QmlControlColors(QObject* parent) : 24 | QObject(parent) 25 | { 26 | QCoreApplication::instance()->installEventFilter(this); 27 | 28 | connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged, 29 | this, &QmlControlColors::paletteChanged); 30 | 31 | connect(this, &QmlControlColors::paletteChanged, [this] 32 | { 33 | _palette = QGuiApplication::palette(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:34:39: warning: no header providing "QPalette" is directly included [misc-include-cleaner] 22 | 23 | QmlControlColors::QmlControlColors(QObject* parent) : 24 | QObject(parent) 25 | { 26 | QCoreApplication::instance()->installEventFilter(this); 27 | 28 | connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged, 29 | this, &QmlControlColors::paletteChanged); 30 | 31 | connect(this, &QmlControlColors::paletteChanged, [this] 32 | { 33 | _palette = QGuiApplication::palette(); 34 | _palette.setCurrentColorGroup(QPalette::ColorGroup::Active); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:38:1: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | QObject* QmlControlColors::qmlInstance(QQmlEngine*, QJSEngine*) | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:43:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | bool QmlControlColors::eventFilter(QObject* watched, QEvent* event) | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:43:54: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 22 | bool QmlControlColors::eventFilter(QObject* watched, QEvent* event) | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:45:58: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 22 | const bool watchedQObjectIsApplication = (watched == QCoreApplication::instance()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:47:56: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 22 | if(watchedQObjectIsApplication && event->type() == QEvent::ApplicationPaletteChange) | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:48:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 22 | emit paletteChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:50:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return QObject::eventFilter(watched, event); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:53:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 22 | QColor QmlControlColors::outline() const | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:55:24: warning: no header providing "QGuiApplication" is directly included [misc-include-cleaner] 22 | auto colorScheme = QGuiApplication::styleHints()->colorScheme(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:57:31: warning: no header providing "Qt::ColorScheme" is directly included [misc-include-cleaner] 22 | return colorScheme == Qt::ColorScheme::Light ? | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:57:44: warning: no header providing "Qt::ColorScheme::Light" is directly included [misc-include-cleaner] 22 | return colorScheme == Qt::ColorScheme::Light ? | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:58:24: warning: no header providing "QPalette" is directly included [misc-include-cleaner] 22 | _palette.color(QPalette::Mid) : _palette.color(QPalette::Dark); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:58:56: warning: no header providing "QPalette" is directly included [misc-include-cleaner] 22 | _palette.color(QPalette::Mid) : _palette.color(QPalette::Dark); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:61:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 22 | QColor QmlControlColors::background() const | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:63:27: warning: no header providing "QPalette" is directly included [misc-include-cleaner] 22 | return _palette.color(QPalette::Light); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:66:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 22 | QColor QmlControlColors::tableRow1() const | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:68:27: warning: no header providing "QPalette" is directly included [misc-include-cleaner] 22 | return _palette.color(QPalette::Light); | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:71:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 22 | QColor QmlControlColors::tableRow2() const | ^ /home/runner/work/graphia/graphia/source/shared/utils/qmlcontrolcolors.cpp:73:27: warning: no header providing "QPalette" is directly included [misc-include-cleaner] 22 | return _palette.color(QPalette::Button); | ^ 11823 warnings generated. [41/195] /home/runner/work/graphia/graphia/source/shared/utils/random.cpp:38:1: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 21 | QVector2D u::randQVector2D(float low, float high) | ^ /home/runner/work/graphia/graphia/source/shared/utils/random.cpp:43:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | QVector3D u::randQVector3D(float low, float high) | ^ /home/runner/work/graphia/graphia/source/shared/utils/random.cpp:48:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 21 | QColor u::randQColor() | ^ 7910 warnings generated. [42/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:21:1: warning: included header container.h is not used directly [misc-include-cleaner] 21 | #include "shared/utils/container.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:23:1: warning: included header QDebug is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:31:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | #include 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | ScopeTimer::ScopeTimer(const QString& name, size_t numSamples) : | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:50:53: warning: no header providing "qint64" is directly included [misc-include-cleaner] 28 | void ScopeTimerManager::submit(const QString& name, qint64 elapsed, size_t numSamples) | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:50:69: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | void ScopeTimerManager::submit(const QString& name, qint64 elapsed, size_t numSamples) | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:52:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:52:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:64:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:64:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:93:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | qDebug() << name << u"%1/%2/%3/%4/%5 ms (mean/min/max/stddev/last)"_s | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.cpp:97:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | qDebug() << name << (static_cast(samples.front()) / 1000000.0) << "ms"; | ^ 10317 warnings generated. [43/195] /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:21:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:22:1: warning: included header QProcess is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:23:1: warning: included header QDir is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:24:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:26:1: warning: included header QDebug is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:32:28: warning: no header providing "QT_CONFIG" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void u::showInFolder(const QString& path) 31 | { 32 | #if defined(Q_OS_WIN32) && QT_CONFIG(process) | ^ /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:38:29: warning: no header providing "QT_CONFIG" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void u::showInFolder(const QString& path) 31 | { 32 | #if defined(Q_OS_WIN32) && QT_CONFIG(process) 33 | QProcess::startDetached("explorer.exe", {"/select,", QDir::toNativeSeparators(path)}); 34 | #elif defined(Q_OS_MACOS) 35 | QProcess::execute("/usr/bin/osascript", {"-e", 36 | u"tell application \"Finder\" to reveal POSIX file \"%1\""_s.arg(path)}); 37 | QProcess::execute("/usr/bin/osascript", {"-e", "tell application \"Finder\" to activate"}); 38 | #elif defined(Q_OS_UNIX) && QT_CONFIG(process) | ^ /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:39:11: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void u::showInFolder(const QString& path) 31 | { 32 | #if defined(Q_OS_WIN32) && QT_CONFIG(process) 33 | QProcess::startDetached("explorer.exe", {"/select,", QDir::toNativeSeparators(path)}); 34 | #elif defined(Q_OS_MACOS) 35 | QProcess::execute("/usr/bin/osascript", {"-e", 36 | u"tell application \"Finder\" to reveal POSIX file \"%1\""_s.arg(path)}); 37 | QProcess::execute("/usr/bin/osascript", {"-e", "tell application \"Finder\" to activate"}); 38 | #elif defined(Q_OS_UNIX) && QT_CONFIG(process) 39 | const QFileInfo fileInfo(path); | ^ /home/runner/work/graphia/graphia/source/shared/utils/showinfolder.cpp:42:5: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void u::showInFolder(const QString& path) 31 | { 32 | #if defined(Q_OS_WIN32) && QT_CONFIG(process) 33 | QProcess::startDetached("explorer.exe", {"/select,", QDir::toNativeSeparators(path)}); 34 | #elif defined(Q_OS_MACOS) 35 | QProcess::execute("/usr/bin/osascript", {"-e", 36 | u"tell application \"Finder\" to reveal POSIX file \"%1\""_s.arg(path)}); 37 | QProcess::execute("/usr/bin/osascript", {"-e", "tell application \"Finder\" to activate"}); 38 | #elif defined(Q_OS_UNIX) && QT_CONFIG(process) 39 | const QFileInfo fileInfo(path); 40 | 41 | // AFAICT, the best we can do on *nix is to open the folder itself 42 | QProcess::execute(u"xdg-open"_s, {fileInfo.absolutePath()}); | ^ 10568 warnings generated. [44/195] /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:21:1: warning: included header QCoreApplication is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:22:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:30:1: warning: included header unistd.h is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~ 31 | #endif /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:54:9: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 25 | QCoreApplication::quit(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:57:25: warning: no header providing "SIGQUIT" is directly included [misc-include-cleaner] 25 | auto quitSignals = {SIGQUIT, SIGINT, SIGTERM, SIGHUP}; | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:57:51: warning: no header providing "SIGHUP" is directly included [misc-include-cleaner] 25 | auto quitSignals = {SIGQUIT, SIGINT, SIGTERM, SIGHUP}; | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:59:5: warning: no header providing "sigset_t" is directly included [misc-include-cleaner] 24 | sigset_t mask; | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:60:5: warning: no header providing "sigemptyset" is directly included [misc-include-cleaner] 25 | sigemptyset(&mask); | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:62:9: warning: no header providing "sigaddset" is directly included [misc-include-cleaner] 25 | sigaddset(&mask, signal); | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:64:12: warning: no header providing "sigaction" is directly included [misc-include-cleaner] 24 | struct sigaction sa; | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:65:8: warning: no header providing "sa_handler" is directly included [misc-include-cleaner] 25 | sa.sa_handler = handler; | ^ /home/runner/work/graphia/graphia/source/shared/utils/signalhandling.cpp:70:9: warning: no header providing "sigaction" is directly included [misc-include-cleaner] 25 | sigaction(signal, &sa, nullptr); | ^ 10224 warnings generated. [45/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.cpp:27:22: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 21 | #include 22 | #include 23 | 24 | void execute_static_blocks() 25 | { 26 | // Sort the map so that the static_blocks are executed in a deterministic order 27 | std::vector> v(_static_blocks.begin(), _static_blocks.end()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.cpp:27:32: warning: no header providing "std::string" is directly included [misc-include-cleaner] 21 | #include 22 | #include 23 | 24 | void execute_static_blocks() 25 | { 26 | // Sort the map so that the static_blocks are executed in a deterministic order 27 | std::vector> v(_static_blocks.begin(), _static_blocks.end()); | ^ 3436 warnings generated. [46/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:21:1: warning: included header QStringList is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:22:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:23:1: warning: included header QLocale is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:32:30: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | bool u::isNumeric(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:55:30: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | bool u::isInteger(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:78:31: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | double u::toNumber(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:106:47: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | std::vector u::toQStringVector(const QStringList& stringList) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:110:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 25 | std::copy(stringList.begin(), stringList.end(), std::back_inserter(v)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:110:58: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 25 | std::copy(stringList.begin(), stringList.end(), std::back_inserter(v)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:114:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList u::toQStringList(const std::vector& qStringVector) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:116:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList l; | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:126:6: warning: no header providing "std::istream" is directly included [misc-include-cleaner] 25 | std::istream& u::getline(std::istream& is, std::string& t) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:126:31: warning: no header providing "std::istream" is directly included [misc-include-cleaner] 25 | std::istream& u::getline(std::istream& is, std::string& t) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:126:49: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | std::istream& u::getline(std::istream& is, std::string& t) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:136:16: warning: no header providing "std::istream" is directly included [misc-include-cleaner] 25 | const std::istream::sentry se(is, true); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:137:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 25 | Q_UNUSED(se); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:138:10: warning: no header providing "std::streambuf" is directly included [misc-include-cleaner] 25 | std::streambuf* sb = is.rdbuf(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:153:14: warning: no header providing "EOF" is directly included [misc-include-cleaner] 25 | case EOF: | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:156:34: warning: no header providing "std::ios" is directly included [misc-include-cleaner] 25 | is.setstate(std::ios::eofbit); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:167:46: warning: no header providing "QLocale" is directly included [misc-include-cleaner] 25 | auto indexOfDecimalPoint = value.indexOf(QLocale::system().decimalPoint(), 1); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:213:31: warning: no header providing "QLocale" is directly included [misc-include-cleaner] 25 | QString formattedString = QLocale::system().toString(value, 'f', maxDecimalPlacesFor(value)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:228:25: warning: no header providing "QLocale" is directly included [misc-include-cleaner] 25 | auto exponentChar = QLocale::system().exponential(); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:239:27: warning: no header providing "QLocale" is directly included [misc-include-cleaner] 25 | formattedString = QLocale::system().toString(value, 'e', 2); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:242:37: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 25 | const QString superScript = QStringLiteral(u"⁰¹²³⁴⁵⁶⁷⁸⁹"); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:261:27: warning: no header providing "QLocale" is directly included [misc-include-cleaner] 25 | formattedString = QLocale::system().toString(value, 'f', maxDecimalPlaces); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:298:26: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | bool u::isHex(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:309:6: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | std::string u::hexToString(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:309:39: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | std::string u::hexToString(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:311:10: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | std::string output; | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:318:45: warning: no header providing "std::strtol" is directly included [misc-include-cleaner] 25 | auto b = static_cast(std::strtol(byteString.data(), nullptr, 16)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:331:18: warning: no header providing "std::byte" is directly included [misc-include-cleaner] 25 | std::vector u::hexToBytes(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:331:49: warning: no header providing "std::string" is directly included [misc-include-cleaner] 25 | std::vector u::hexToBytes(const std::string& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:333:22: warning: no header providing "std::byte" is directly included [misc-include-cleaner] 25 | std::vector bytes; | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:341:39: warning: no header providing "std::byte" is directly included [misc-include-cleaner] 25 | auto b = static_cast(std::strtol(byteString.data(), nullptr, 16)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:341:50: warning: no header providing "std::strtol" is directly included [misc-include-cleaner] 25 | auto b = static_cast(std::strtol(byteString.data(), nullptr, 16)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:349:18: warning: no header providing "std::byte" is directly included [misc-include-cleaner] 25 | std::vector u::hexToBytes(const QString& string) | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:356:15: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 25 | s.replace(QStringLiteral(R"(")"), QStringLiteral(R"(\")")); | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:356:39: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 25 | s.replace(QStringLiteral(R"(")"), QStringLiteral(R"(\")")); | ^ 10427 warnings generated. [47/195] /home/runner/work/graphia/graphia/source/shared/utils/threadpool.cpp:33:18: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | 23 | using namespace Qt::Literals::StringLiterals; 24 | 25 | ThreadPool::ThreadPool(const QString& threadNamePrefix, unsigned int numThreads) 26 | { 27 | for(unsigned int i = 0U; i < numThreads; i++) 28 | { 29 | auto threadName = u"%1%2"_s.arg(threadNamePrefix).arg(i + 1); 30 | 31 | _threads.emplace_back([threadName, this] 32 | { 33 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.cpp:33:35: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 22 | 23 | using namespace Qt::Literals::StringLiterals; 24 | 25 | ThreadPool::ThreadPool(const QString& threadNamePrefix, unsigned int numThreads) 26 | { 27 | for(unsigned int i = 0U; i < numThreads; i++) 28 | { 29 | auto threadName = u"%1%2"_s.arg(threadNamePrefix).arg(i + 1); 30 | 31 | _threads.emplace_back([threadName, this] 32 | { 33 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.cpp:48:34: warning: no header providing "std::move" is directly included [misc-include-cleaner] 22 | auto task = std::move(_tasks.front()); | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.cpp:64:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.cpp:64:27: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 22 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 11230 warnings generated. [48/195] /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:21:1: warning: included header QString is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:32:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 22 | 23 | static TypeIdentity::Type typeOf(const QString& value) 24 | { 25 | // If the value is empty we can't determine its type 26 | if(value.isEmpty()) 27 | return TypeIdentity::Type::Unknown; 28 | 29 | bool conversionSucceeded = false; 30 | 31 | auto intValue = value.toLongLong(&conversionSucceeded); 32 | Q_UNUSED(intValue); // Keep cppcheck happy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:37:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 22 | 23 | static TypeIdentity::Type typeOf(const QString& value) 24 | { 25 | // If the value is empty we can't determine its type 26 | if(value.isEmpty()) 27 | return TypeIdentity::Type::Unknown; 28 | 29 | bool conversionSucceeded = false; 30 | 31 | auto intValue = value.toLongLong(&conversionSucceeded); 32 | Q_UNUSED(intValue); // Keep cppcheck happy 33 | if(conversionSucceeded) 34 | return TypeIdentity::Type::Int; 35 | 36 | auto doubleValue = value.toDouble(&conversionSucceeded); 37 | Q_UNUSED(doubleValue); // Keep cppcheck happy | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:44:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | size_t TypeIdentity::count(Type type) const | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:46:39: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | return _typeCounts.at(static_cast(type)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:51:46: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | auto& count = _typeCounts.at(static_cast(type)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:57:46: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | auto& count = _typeCounts.at(static_cast(type)); | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:58:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 22 | Q_ASSERT(count > 0); | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:107:52: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | TypeIdentity::Type TypeIdentity::equivalentTypeFor(ValueType valueType) | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:112:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::Unknown: return Type::Unknown; | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:112:21: warning: no header providing "ValueType_reflector::Enum::Unknown" is directly included [misc-include-cleaner] 20 | case ValueType::Unknown: return Type::Unknown; | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:113:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::Int: return Type::Int; | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:113:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 20 | case ValueType::Int: return Type::Int; | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:114:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::Float: return Type::Float; | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:114:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 20 | case ValueType::Float: return Type::Float; | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:115:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::String: return Type::String; | ^ /home/runner/work/graphia/graphia/source/shared/utils/typeidentity.cpp:115:21: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 20 | case ValueType::String: return Type::String; | ^ 11068 warnings generated. [49/195] /home/runner/work/graphia/graphia/source/shared/utils/utils.cpp:29:27: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 22 | #include 23 | 24 | int u::smallestPowerOf2GreaterThan(int x) 25 | { 26 | if(x < 0) 27 | return 0; 28 | 29 | auto xu = static_cast(x); | ^ /home/runner/work/graphia/graphia/source/shared/utils/utils.cpp:52:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 23 | Q_INIT_RESOURCE(shared); | ^ 7506 warnings generated. [50/195] /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:21:1: warning: included header QApplication is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:22:1: warning: included header QQmlApplicationEngine is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:23:1: warning: included header QQmlContext is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:24:1: warning: included header QIcon is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:25:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:26:1: warning: included header QHttpMultiPart is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:27:1: warning: included header QNetworkReply is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:28:1: warning: included header QNetworkRequest is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:29:1: warning: included header QNetworkAccessManager is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:30:1: warning: included header QUrl is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:31:1: warning: included header QSysInfo is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:32:1: warning: included header QMessageBox is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 33 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:33:1: warning: included header QCryptographicHash is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:34:1: warning: included header QDebug is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:35:1: warning: included header QTimer is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~~~ 36 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:36:1: warning: included header QDirIterator is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 37 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:37:1: warning: included header QCommandLineParser is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | #include /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:38:1: warning: included header QQuickStyle is not used directly [misc-include-cleaner] 38 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 39 | /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:83:77: warning: no header providing "google_breakpad::PROCESS_OK" is directly included [misc-include-cleaner] 40 | if(minidumpProcessor.Process(&dump, &process_state) != google_breakpad::PROCESS_OK) | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:96:65: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | const auto* stack = process_state.threads()->at(static_cast(requestingThread)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:105:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t frameIndex = 0; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:111:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 57 | std::vector skipModules = | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:135:32: warning: no header providing "std::any_of" is directly included [misc-include-cleaner] 40 | const bool skip = std::any_of(skipModules.begin(), skipModules.end(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:160:27: warning: no header providing "QHttpMultiPart" is directly included [misc-include-cleaner] 42 | auto *multiPart = new QHttpMultiPart(QHttpMultiPart::FormDataType); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:160:42: warning: no header providing "QHttpMultiPart" is directly included [misc-include-cleaner] 42 | auto *multiPart = new QHttpMultiPart(QHttpMultiPart::FormDataType); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:166:29: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 42 | {"inVideoDriver", QVariant(inVideoDriver).toString()}, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:170:56: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 42 | {"os", QString("%1 %2 %3 %4").arg(QSysInfo::kernelType(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:171:56: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 42 | QSysInfo::kernelVersion(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:172:56: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 42 | QSysInfo::productType(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:173:56: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 42 | QSysInfo::productVersion())}, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:182:9: warning: no header providing "QHttpPart" is directly included [misc-include-cleaner] 42 | QHttpPart part; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:183:24: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 42 | part.setHeader(QNetworkRequest::ContentDispositionHeader, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:184:24: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 42 | QVariant(QStringLiteral(R"(form-data; name="%1")").arg(field.first))); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:184:33: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 42 | QVariant(QStringLiteral(R"(form-data; name="%1")").arg(field.first))); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:189:5: warning: no header providing "QHttpPart" is directly included [misc-include-cleaner] 42 | QHttpPart dmpPart; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:190:23: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 42 | dmpPart.setHeader(QNetworkRequest::ContentTypeHeader, QVariant("application/octet-stream")); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:190:59: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 42 | dmpPart.setHeader(QNetworkRequest::ContentTypeHeader, QVariant("application/octet-stream")); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:191:23: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 42 | dmpPart.setHeader(QNetworkRequest::ContentDispositionHeader, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:192:23: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 42 | QVariant(QStringLiteral(R"(form-data; name="upload_file_minidump"; filename="%1")") | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:192:32: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 42 | QVariant(QStringLiteral(R"(form-data; name="upload_file_minidump"; filename="%1")") | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:193:37: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 42 | .arg(QFileInfo(dmpFile).fileName()))); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:194:22: warning: no header providing "QFile" is directly included [misc-include-cleaner] 42 | auto* file = new QFile(dmpFile); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:195:16: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 42 | file->open(QIODevice::ReadOnly); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:202:37: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 42 | const QString fingerPrint = QFileInfo(dmpFile).baseName(); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:204:9: warning: no header providing "QDirIterator" is directly included [misc-include-cleaner] 42 | QDirIterator dirIterator(attachmentDir); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:208:19: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 42 | const QFileInfo fileInfo(fileName); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:214:13: warning: no header providing "QHttpPart" is directly included [misc-include-cleaner] 42 | QHttpPart attachmentPart; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:215:38: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 42 | attachmentPart.setHeader(QNetworkRequest::ContentTypeHeader, QVariant("application/octet-stream")); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:215:74: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 42 | attachmentPart.setHeader(QNetworkRequest::ContentTypeHeader, QVariant("application/octet-stream")); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:216:38: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 42 | attachmentPart.setHeader(QNetworkRequest::ContentDispositionHeader, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:217:38: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 42 | QVariant(QStringLiteral(R"(form-data; name="%1_%2"; filename="%2")") | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:217:47: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 42 | QVariant(QStringLiteral(R"(form-data; name="%1_%2"; filename="%2")") | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:219:36: warning: no header providing "QFile" is directly included [misc-include-cleaner] 42 | auto* attachment = new QFile(fileName); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:220:30: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 42 | attachment->open(QIODevice::ReadOnly); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:227:21: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 42 | auto queryUrl = QUrl(u::getPref(u"servers/crashreports"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:227:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | auto queryUrl = QUrl(u::getPref(u"servers/crashreports"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:231:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 57 | std::vector connections; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:231:21: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 42 | std::vector connections; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:232:9: warning: no header providing "QNetworkAccessManager" is directly included [misc-include-cleaner] 42 | QNetworkAccessManager manager; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:233:9: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] 42 | QEventLoop loop; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:236:9: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 42 | QTimer timer; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:238:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | QObject::connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:238:35: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 42 | QObject::connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:238:60: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] 42 | QObject::connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:239:22: warning: no header providing "std::operator""min" is directly included [misc-include-cleaner] 40 | timer.start(1min); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:241:9: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 42 | QNetworkReply* postReply = nullptr; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:244:9: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 42 | QNetworkReply* reply = manager.get(QNetworkRequest(queryUrl)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:244:44: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 42 | QNetworkReply* reply = manager.get(QNetworkRequest(queryUrl)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:245:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | connections.emplace_back(QObject::connect(reply, &QNetworkReply::finished, [&] | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:245:59: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 42 | connections.emplace_back(QObject::connect(reply, &QNetworkReply::finished, [&] | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:247:34: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 42 | if(reply->error() == QNetworkReply::NetworkError::NoError) | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:250:38: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 42 | auto submissionUrl = QUrl(urlString.trimmed()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:253:42: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 42 | postReply = manager.post(QNetworkRequest(submissionUrl), multiPart); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:254:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | connections.emplace_back(QObject::connect(postReply, &QNetworkReply::finished, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:254:71: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 42 | connections.emplace_back(QObject::connect(postReply, &QNetworkReply::finished, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:255:29: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] 42 | &loop, &QEventLoop::quit)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:265:13: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | QObject::disconnect(connection); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:275:20: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | return QObject::tr("Timeout. Please check your internet connection."); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:281:20: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | return QObject::tr("Could not retrieve submission URL from \"%1\"").arg(queryUrl.toString()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:283:34: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 42 | if(postReply->error() != QNetworkReply::NetworkError::NoError) | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:284:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | return u"%1 (%2)"_s.arg(postReply->errorString()).arg(postReply->error()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:295:13: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | QMessageBox::warning(nullptr, QApplication::applicationName(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:295:43: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 42 | QMessageBox::warning(nullptr, QApplication::applicationName(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:296:17: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | QObject::tr("The query URL is invalid:\n\n\"%1\"") | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:297:44: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | .arg(queryUrl.toString()), QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:305:34: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | auto clickedButton = QMessageBox::warning(nullptr, QApplication::applicationName(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:305:64: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 42 | auto clickedButton = QMessageBox::warning(nullptr, QApplication::applicationName(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:306:17: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | QObject::tr("There was an error while uploading the crash report:\n\n%1") | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:307:36: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | .arg(errorString), QMessageBox::Retry | QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:307:57: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | .arg(errorString), QMessageBox::Retry | QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:308:39: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | retry = (clickedButton == QMessageBox::Retry); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:317:11: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 42 | const QApplication app(argc, argv); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:319:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 42 | Q_INIT_RESOURCE(shared); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:321:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 42 | QCoreApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:321:53: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | QCoreApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:322:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 42 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:322:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:323:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 42 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:323:42: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 42 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:324:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 42 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:324:45: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 42 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:326:5: warning: no header providing "qmlRegisterSingletonType" is directly included [misc-include-cleaner] 42 | qmlRegisterSingletonType( | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:329:5: warning: no header providing "QCommandLineParser" is directly included [misc-include-cleaner] 42 | QCommandLineParser p; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:331:35: warning: no header providing "QCommandLineParser" is directly included [misc-include-cleaner] 42 | p.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:335:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | {{"s", "submit"}, QObject::tr("Submit the crash report immediately.")}, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:336:32: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | {{"d", "description"}, QObject::tr("A description of the crash."), "description", QString()} | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:338:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | p.addPositionalArgument(u"FILE"_s, QObject::tr("The crash report file.")); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:338:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | p.addPositionalArgument(u"FILE"_s, QObject::tr("The crash report file.")); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:339:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | p.addPositionalArgument(u"ATTACHMENTS"_s, | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:340:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | QObject::tr("The attachments directory."), u"[ATTACHMENTS]"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:340:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | QObject::tr("The attachments directory."), u"[ATTACHMENTS]"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:342:15: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 42 | p.process(QApplication::arguments()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:345:33: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 42 | if(positional.isEmpty() || !QFileInfo::exists(positional.at(0))) | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:347:9: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | QMessageBox::critical(nullptr, QCoreApplication::applicationName(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:347:40: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 42 | QMessageBox::critical(nullptr, QCoreApplication::applicationName(), | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:348:31: warning: no header providing "QObject" is directly included [misc-include-cleaner] 42 | QObject::tr("This program is intended for automatically " | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:350:31: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 42 | QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:355:34: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 42 | if(positional.size() >= 2 && QFileInfo(positional.at(1)).isDir()) | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:361:5: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 42 | QIcon mainIcon; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:362:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | mainIcon.addFile(u":/icon.svg"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:363:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 42 | QApplication::setWindowIcon(mainIcon); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:370:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | auto emailAddress = u::getPref(u"tracking/emailAddress"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:372:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | if(!p.isSet(u"submit"_s)) | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:374:9: warning: no header providing "QQuickStyle" is directly included [misc-include-cleaner] 42 | QQuickStyle::setStyle(u::getPref(u"system/uiTheme"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:374:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | QQuickStyle::setStyle(u::getPref(u"system/uiTheme"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:376:9: warning: no header providing "QQmlApplicationEngine" is directly included [misc-include-cleaner] 42 | QQmlApplicationEngine engine; | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:378:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | engine.rootContext()->setContextProperty(u"report"_s, &report); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:379:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | engine.rootContext()->setContextProperty(u"glVendor"_s, OpenGLFunctions::vendor()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:380:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | engine.rootContext()->setContextProperty(u"inVideoDriver"_s, inVideoDriver); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:381:65: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | engine.rootContext()->setContextProperty(u"emailAddress"_s, emailAddress); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:383:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | engine.addImportPath(u"qrc:///qml/"_s); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:384:21: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 42 | engine.load(QUrl(u"qrc:/main.qml"_s)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:384:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | engine.load(QUrl(u"qrc:/main.qml"_s)); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:385:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(!engine.rootObjects().empty()); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:387:20: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 42 | exitCode = QCoreApplication::exec(); | ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:392:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | report._text = p.value(u"description"_s); | ^ 22939 warnings generated. [51/195] /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:21:1: warning: included header QOpenGLExtraFunctions is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:22:1: warning: included header QOpenGLContext is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:23:1: warning: included header QSurfaceFormat is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:24:1: warning: included header QOffscreenSurface is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:30:27: warning: no header providing "QOpenGLContext" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:31:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); 31 | Q_ASSERT(context != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:36:9: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); 31 | Q_ASSERT(context != nullptr); 32 | 33 | if(!initializeOpenGLFunctions()) 34 | { 35 | // This should never happen if hasOpenGLSupport has returned true 36 | qFatal("Could not obtain required OpenGL context version"); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:39:30: warning: no header providing "QByteArrayLiteral" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); 31 | Q_ASSERT(context != nullptr); 32 | 33 | if(!initializeOpenGLFunctions()) 34 | { 35 | // This should never happen if hasOpenGLSupport has returned true 36 | qFatal("Could not obtain required OpenGL context version"); 37 | } 38 | 39 | if(context->hasExtension(QByteArrayLiteral("GL_ARB_sample_shading"))) | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:41:56: warning: no header providing "PFNGLMINSAMPLESHADINGARBPROC" is directly included [misc-include-cleaner] 25 | _glMinSampleShadingARBFnPtr = reinterpret_cast( | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:45:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Failed to resolve glMinSampleShadingARB"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:49:1: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat OpenGLFunctions::minimumFormat() | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:51:5: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat format; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:58:30: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | format.setRenderableType(QSurfaceFormat::OpenGL); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:59:23: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | format.setProfile(QSurfaceFormat::CoreProfile); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:70:32: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | const auto defaultFormat = QSurfaceFormat::defaultFormat(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:71:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 25 | const std::pair defaultVersion = {defaultFormat.majorVersion(), defaultFormat.minorVersion()}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:73:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 25 | const std::pair requestVersion = {requestFormat.majorVersion(), requestFormat.minorVersion()}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:76:9: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat::setDefaultFormat(requestFormat); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:84:5: warning: no header providing "QOpenGLContext" is directly included [misc-include-cleaner] 25 | QOpenGLContext _context; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:85:5: warning: no header providing "QOffscreenSurface" is directly included [misc-include-cleaner] 25 | QOffscreenSurface _surface; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:86:5: warning: no header providing "QOpenGLExtraFunctions" is directly included [misc-include-cleaner] 25 | QOpenGLExtraFunctions* _f = nullptr; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:88:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString GLubyteToQString(const GLubyte* bytes) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:88:36: warning: no header providing "GLubyte" is directly included [misc-include-cleaner] 21 | QString GLubyteToQString(const GLubyte* bytes) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:90:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString text; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:99:35: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | explicit QueryFunctions(const QSurfaceFormat& surfaceFormat) | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:125:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString getString(GLenum name) const { return GLubyteToQString(_f->glGetString(name)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:125:23: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 21 | QString getString(GLenum name) const { return GLubyteToQString(_f->glGetString(name)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:126:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString getString(GLenum name, GLuint index) const { return GLubyteToQString(_f->glGetStringi(name, index)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:126:23: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 21 | QString getString(GLenum name, GLuint index) const { return GLubyteToQString(_f->glGetStringi(name, index)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:126:36: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 21 | QString getString(GLenum name, GLuint index) const { return GLubyteToQString(_f->glGetStringi(name, index)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:128:5: warning: no header providing "QOpenGLExtraFunctions" is directly included [misc-include-cleaner] 25 | QOpenGLExtraFunctions* operator->() { return _f; } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:133:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString OpenGLFunctions::vendor() | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:137:5: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat format; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:146:24: warning: no header providing "GL_VENDOR" is directly included [misc-include-cleaner] 21 | return f.getString(GL_VENDOR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:149:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString OpenGLFunctions::info() | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:151:19: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | auto format = QSurfaceFormat::defaultFormat(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:157:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString extensions; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:158:5: warning: no header providing "GLint" is directly included [misc-include-cleaner] 21 | GLint numExtensions = 0; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:159:22: warning: no header providing "GL_NUM_EXTENSIONS" is directly included [misc-include-cleaner] 25 | f->glGetIntegerv(GL_NUM_EXTENSIONS, &numExtensions); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:160:9: warning: no header providing "GLint" is directly included [misc-include-cleaner] 21 | for(GLint i = 0; i < numExtensions; i++) | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:162:39: warning: no header providing "GL_EXTENSIONS" is directly included [misc-include-cleaner] 21 | extensions.append(f.getString(GL_EXTENSIONS, static_cast(i))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:162:66: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 21 | extensions.append(f.getString(GL_EXTENSIONS, static_cast(i))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:166:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | return u"%1\n%2\n%3\n%4\n%5"_s | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:167:26: warning: no header providing "GL_VENDOR" is directly included [misc-include-cleaner] 21 | .arg(f.getString(GL_VENDOR), | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:168:26: warning: no header providing "GL_RENDERER" is directly included [misc-include-cleaner] 21 | f.getString(GL_RENDERER), | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:169:26: warning: no header providing "GL_VERSION" is directly included [misc-include-cleaner] 21 | f.getString(GL_VERSION), | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:170:26: warning: no header providing "GL_SHADING_LANGUAGE_VERSION" is directly included [misc-include-cleaner] 25 | f.getString(GL_SHADING_LANGUAGE_VERSION), | ^ 19508 warnings generated. 39016 warnings generated. [52/195] /home/runner/work/graphia/graphia/source/messagebox/main.cpp:21:1: warning: included header QApplication is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/messagebox/main.cpp:22:1: warning: included header QCoreApplication is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/messagebox/main.cpp:23:1: warning: included header QMessageBox is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/messagebox/main.cpp:24:1: warning: included header QAbstractButton is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/messagebox/main.cpp:25:1: warning: included header QCommandLineParser is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/messagebox/main.cpp:26:1: warning: included header QStringList is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/messagebox/main.cpp:27:1: warning: included header QIcon is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/messagebox/main.cpp:28:1: warning: included header QHash is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/messagebox/main.cpp:32:8: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:32:42: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:34:5: warning: no header providing "QHash" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:34:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:34:20: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:36:21: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:36:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:37:24: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, 37 | {u"Information"_s, QMessageBox::Information}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:37:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, 37 | {u"Information"_s, QMessageBox::Information}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:38:20: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, 37 | {u"Information"_s, QMessageBox::Information}, 38 | {u"Warning"_s, QMessageBox::Warning}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:38:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, 37 | {u"Information"_s, QMessageBox::Information}, 38 | {u"Warning"_s, QMessageBox::Warning}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:39:21: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, 37 | {u"Information"_s, QMessageBox::Information}, 38 | {u"Warning"_s, QMessageBox::Warning}, 39 | {u"Critical"_s, QMessageBox::Critical}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:39:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | static QMessageBox::Icon parseIcon(const QString& text) 33 | { 34 | QHash icons = 35 | { 36 | {u"Question"_s, QMessageBox::Question}, 37 | {u"Information"_s, QMessageBox::Information}, 38 | {u"Warning"_s, QMessageBox::Warning}, 39 | {u"Critical"_s, QMessageBox::Critical}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:45:12: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | return QMessageBox::NoIcon; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:50:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | QString _text; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:51:5: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | QMessageBox::ButtonRole _role = QMessageBox::InvalidRole; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:51:37: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | QMessageBox::ButtonRole _role = QMessageBox::InvalidRole; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:54:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | static Button parseButton(const QString& text) | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:64:5: warning: no header providing "QHash" is directly included [misc-include-cleaner] 29 | QHash roles = | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:64:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | QHash roles = | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:64:20: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | QHash roles = | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:66:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Accept"_s, QMessageBox::AcceptRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:66:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Accept"_s, QMessageBox::AcceptRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:67:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Reject"_s, QMessageBox::RejectRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:67:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Reject"_s, QMessageBox::RejectRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:68:24: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Destructive"_s, QMessageBox::DestructiveRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:68:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Destructive"_s, QMessageBox::DestructiveRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:69:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Action"_s, QMessageBox::ActionRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:69:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Action"_s, QMessageBox::ActionRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:70:17: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Help"_s, QMessageBox::HelpRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:70:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Help"_s, QMessageBox::HelpRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:71:16: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Yes"_s, QMessageBox::YesRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:71:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Yes"_s, QMessageBox::YesRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:72:15: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"No"_s, QMessageBox::NoRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:72:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"No"_s, QMessageBox::NoRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:73:18: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Apply"_s, QMessageBox::ApplyRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:73:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Apply"_s, QMessageBox::ApplyRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:74:18: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {u"Reset"_s, QMessageBox::ResetRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:74:28: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | {u"Reset"_s, QMessageBox::ResetRole}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:87:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 29 | QStringList arguments; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:90:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | arguments << QString::fromLocal8Bit(argv[i]); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:92:11: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 29 | const QApplication app(argc, argv); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:94:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 29 | QCoreApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:94:53: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | QCoreApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:95:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 29 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:95:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:96:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 29 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:96:42: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 29 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:97:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 29 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:97:45: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 29 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:99:5: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 29 | QIcon mainIcon; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:100:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | mainIcon.addFile(u":/icon/icon.svg"_s); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:101:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 29 | QApplication::setWindowIcon(mainIcon); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:103:5: warning: no header providing "QCommandLineParser" is directly included [misc-include-cleaner] 29 | QCommandLineParser p; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:105:35: warning: no header providing "QCommandLineParser" is directly included [misc-include-cleaner] 29 | p.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:109:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | {{"t", "title"}, QObject::tr("Window title."), "title", u"MessageBox"_s}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:109:102: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {{"t", "title"}, QObject::tr("Window title."), "title", u"MessageBox"_s}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:110:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | {{"q", "text"}, QObject::tr("Window text."), "text", | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:111:13: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 29 | QStringLiteral("Lorem ipsum dolor sit amet, consectetur adipiscing elit, " | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:118:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | {{"i", "icon"}, QObject::tr("Window icon."), "icon", u"Question"_s}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:118:100: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {{"i", "icon"}, QObject::tr("Window icon."), "icon", u"Question"_s}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:119:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | {{"b", "button"}, QObject::tr("Window button."), "button", u"OK:Accept"_s}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:119:101: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | {{"b", "button"}, QObject::tr("Window button."), "button", u"OK:Accept"_s}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:120:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | {{"d", "defaultButton"}, QObject::tr("Default button."), "defaultButton"}, | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:125:5: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 29 | QMessageBox mb; | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:127:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | mb.setWindowTitle(p.value(u"title"_s)); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:128:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | mb.setText(p.value(u"text"_s)); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:129:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | mb.setIcon(parseIcon(p.value(u"icon"_s))); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:130:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | auto defaultButtonText = p.value(u"defaultButton"_s); | ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:132:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | const auto buttonTexts = p.values(u"button"_s); | ^ 11258 warnings generated. [53/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/doasyncthen.h:42:28: warning: forwarding reference parameter 'thenFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 42 | void then(ThenFn&& thenFn) | ^ /home/runner/work/graphia/graphia/source/shared/utils/doasyncthen.h:61:28: warning: forwarding reference parameter 'thisFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 61 | auto doAsync(AsyncFn&& thisFn) | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:24:1: warning: included header scope_exit.h is not used directly [misc-include-cleaner] 24 | #include "shared/utils/scope_exit.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include "shared/utils/doasyncthen.h" /home/runner/work/graphia/graphia/source/updater/installer.cpp:29:1: warning: included header QFutureWatcher is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/updater/installer.cpp:31:1: warning: included header iostream is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~ 32 | /home/runner/work/graphia/graphia/source/updater/installer.cpp:38:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void Installer::signalComplete() 36 | { 37 | _complete = true; 38 | emit completeChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:41:28: warning: no header providing "json" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void Installer::signalComplete() 36 | { 37 | _complete = true; 38 | emit completeChanged(); 39 | } 40 | 41 | Installer::Installer(const json& details, const QString& version, | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:46:24: warning: no header providing "QOverload" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void Installer::signalComplete() 36 | { 37 | _complete = true; 38 | emit completeChanged(); 39 | } 40 | 41 | Installer::Installer(const json& details, const QString& version, 42 | const QString& existingInstallation) : 43 | _details(details), _version(version), 44 | _existingInstallation(existingInstallation) 45 | { 46 | connect(&_process, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:46:39: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void Installer::signalComplete() 36 | { 37 | _complete = true; 38 | emit completeChanged(); 39 | } 40 | 41 | Installer::Installer(const json& details, const QString& version, 42 | const QString& existingInstallation) : 43 | _details(details), _version(version), 44 | _existingInstallation(existingInstallation) 45 | { 46 | connect(&_process, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:46:66: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void Installer::signalComplete() 36 | { 37 | _complete = true; 38 | emit completeChanged(); 39 | } 40 | 41 | Installer::Installer(const json& details, const QString& version, 42 | const QString& existingInstallation) : 43 | _details(details), _version(version), 44 | _existingInstallation(existingInstallation) 45 | { 46 | connect(&_process, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:47:26: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void Installer::signalComplete() 36 | { 37 | _complete = true; 38 | emit completeChanged(); 39 | } 40 | 41 | Installer::Installer(const json& details, const QString& version, 42 | const QString& existingInstallation) : 43 | _details(details), _version(version), 44 | _existingInstallation(existingInstallation) 45 | { 46 | connect(&_process, QOverload::of(&QProcess::finished), 47 | [this](int exitCode, QProcess::ExitStatus exitStatus) | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:53:43: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 32 | if(exitCode == 0 && exitStatus == QProcess::NormalExit) | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:62:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit successChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:73:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit errorChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:79:25: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 32 | connect(&_process, &QProcess::errorOccurred, | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:80:12: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 32 | [this](QProcess::ProcessError processError) | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:88:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit errorChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:100:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit busyChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:110:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit errorChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:118:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit errorChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:126:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit errorChanged(); | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:140:13: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 32 | QStringList arguments( | ^ /home/runner/work/graphia/graphia/source/updater/installer.cpp:161:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 32 | emit completeChanged(); | ^ 18656 warnings generated. [54/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:29:1: warning: included header QApplication is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:30:1: warning: included header QQmlApplicationEngine is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:31:1: warning: included header QQmlContext is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:32:1: warning: included header QIcon is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~ 33 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:33:1: warning: included header QProcess is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~ 34 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:34:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:35:1: warning: included header QDir is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~ 36 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:36:1: warning: included header QTemporaryDir is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 37 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:37:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:38:1: warning: included header QQuickStyle is not used directly [misc-include-cleaner] 38 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 39 | #include /home/runner/work/graphia/graphia/source/updater/main.cpp:39:1: warning: included header QStandardPaths is not used directly [misc-include-cleaner] 39 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 40 | /home/runner/work/graphia/graphia/source/updater/main.cpp:41:1: warning: included header QDebug is not used directly [misc-include-cleaner] 41 | #include | ^~~~~~~~~~~~~~~~~ 42 | /home/runner/work/graphia/graphia/source/updater/main.cpp:54:8: warning: no header providing "qEnvironmentVariableIsSet" is directly included [misc-include-cleaner] 45 | #include 46 | 47 | using namespace Qt::Literals::StringLiterals; 48 | 49 | static QString existingInstallation(const QString& exe) 50 | { 51 | #if defined(Q_OS_WIN) 52 | return QFileInfo(exe).absoluteDir().absolutePath(); 53 | #elif defined(Q_OS_LINUX) 54 | if(qEnvironmentVariableIsSet("APPIMAGE")) | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:55:16: warning: no header providing "qgetenv" is directly included [misc-include-cleaner] 45 | #include 46 | 47 | using namespace Qt::Literals::StringLiterals; 48 | 49 | static QString existingInstallation(const QString& exe) 50 | { 51 | #if defined(Q_OS_WIN) 52 | return QFileInfo(exe).absoluteDir().absolutePath(); 53 | #elif defined(Q_OS_LINUX) 54 | if(qEnvironmentVariableIsSet("APPIMAGE")) 55 | return qgetenv("APPIMAGE"); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:57:12: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 45 | #include 46 | 47 | using namespace Qt::Literals::StringLiterals; 48 | 49 | static QString existingInstallation(const QString& exe) 50 | { 51 | #if defined(Q_OS_WIN) 52 | return QFileInfo(exe).absoluteDir().absolutePath(); 53 | #elif defined(Q_OS_LINUX) 54 | if(qEnvironmentVariableIsSet("APPIMAGE")) 55 | return qgetenv("APPIMAGE"); 56 | 57 | return QFileInfo(exe).absoluteDir().absolutePath(); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:68:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 45 | QStringList showUpdater(int argc, char *argv[]) | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:70:48: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 45 | const SharedTools::QtSingleApplication app(QStringLiteral(PRODUCT_NAME), argc, argv); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:72:22: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 45 | auto arguments = QApplication::arguments(); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:77:18: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 45 | const static QRegularExpression re(QStringLiteral("^\"(.*)\"$")); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:77:40: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 45 | const static QRegularExpression re(QStringLiteral("^\"(.*)\"$")); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:79:44: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 45 | unquotedArguments.replaceInStrings(re, QStringLiteral(R"(\1)")); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:82:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 45 | Q_INIT_RESOURCE(shared); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:83:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 45 | Q_INIT_RESOURCE(update_keys); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:87:70: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | if(update.is_object() && (status.isEmpty() || status == u"failed"_s)) | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:89:9: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 45 | QIcon mainIcon; | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:90:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | mainIcon.addFile(u":/Icon512x512.png"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:91:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | mainIcon.addFile(u":/Icon256x256.png"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:92:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | mainIcon.addFile(u":/Icon128x128.png"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:93:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | mainIcon.addFile(u":/Icon64x64.png"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:94:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | mainIcon.addFile(u":/Icon32x32.png"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:95:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | mainIcon.addFile(u":/Icon16x16.png"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:96:9: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 45 | QApplication::setWindowIcon(mainIcon); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:98:9: warning: no header providing "QQuickStyle" is directly included [misc-include-cleaner] 45 | QQuickStyle::setStyle(u::getPref(u"system/uiTheme"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:98:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | QQuickStyle::setStyle(u::getPref(u"system/uiTheme"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:100:9: warning: no header providing "QQmlApplicationEngine" is directly included [misc-include-cleaner] 45 | QQmlApplicationEngine engine; | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:104:13: warning: no header providing "QObject" is directly included [misc-include-cleaner] 45 | QObject::tr("Unknown"); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:108:13: warning: no header providing "QObject" is directly included [misc-include-cleaner] 45 | QObject::tr("No release notes available."); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:110:15: warning: no header providing "QTemporaryDir" is directly included [misc-include-cleaner] 45 | const QTemporaryDir imagesDir; | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:112:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"imagesLocation"_s, imagesDir.path()); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:123:32: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 45 | auto content = QByteArray::fromBase64(base64EncodedContent.toUtf8()); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:125:17: warning: no header providing "QFile" is directly included [misc-include-cleaner] 45 | QFile imageFile(u"%1/%2"_s.arg(imagesDir.path(), fileName)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:125:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | QFile imageFile(u"%1/%2"_s.arg(imagesDir.path(), fileName)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:126:36: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 45 | if(!imageFile.open(QIODevice::ReadWrite)) | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:134:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"updatesLocation"_s, updatesLocation()); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:137:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"version"_s, version); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:140:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"changeLog"_s, changeLog); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:144:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"installer"_s, &installer); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:146:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | engine.addImportPath(u"qrc:///qml/"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:147:21: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 46 | engine.load(QUrl(u"qrc:/main.qml"_s)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:147:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | engine.load(QUrl(u"qrc:/main.qml"_s)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:148:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 45 | Q_ASSERT(!engine.rootObjects().empty()); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:150:9: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 45 | QApplication::exec(); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:159:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 45 | QApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:159:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | QApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:160:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 45 | QApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:160:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | QApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:161:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 45 | QApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:161:38: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 45 | QApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:162:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 45 | QApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:162:41: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 45 | QApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:164:5: warning: no header providing "qmlRegisterSingletonType" is directly included [misc-include-cleaner] 45 | qmlRegisterSingletonType( | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:168:9: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 45 | QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation), | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:168:42: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 45 | QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation), | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:169:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"updater"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:171:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 45 | QStringList arguments = showUpdater(argc, argv); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:179:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | arguments.append(u"--dontUpdate"_s); | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:182:5: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 45 | QProcess::startDetached(arguments.at(0), arguments.mid(1)); | ^ 19425 warnings generated. [55/195] /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:25:1: warning: included header QApplication is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:26:1: warning: included header QQmlApplicationEngine is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:27:1: warning: included header QUrl is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:29:1: warning: included header QSettings is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:30:1: warning: included header QIcon is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:31:1: warning: included header QQuickStyle is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 32 | /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:33:1: warning: included header json_helper.h is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 34 | /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:39:11: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:41:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:45:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:46:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:47:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); 47 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:47:42: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); 47 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:48:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); 47 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); 48 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:48:45: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); 47 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); 48 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:49:5: warning: no header providing "QSettings" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); 47 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); 48 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); 49 | QSettings::setDefaultFormat(QSettings::Format::IniFormat); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:49:33: warning: no header providing "QSettings" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | int main(int argc, char *argv[]) 38 | { 39 | const QApplication app(argc, argv); 40 | 41 | Q_INIT_RESOURCE(shared); 42 | 43 | execute_static_blocks(); 44 | 45 | QCoreApplication::setOrganizationName(u"Graphia"_s); 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); 47 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); 48 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); 49 | QSettings::setDefaultFormat(QSettings::Format::IniFormat); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:51:5: warning: no header providing "qmlRegisterSingletonType" is directly included [misc-include-cleaner] 34 | qmlRegisterSingletonType(APP_URI, APP_MAJOR_VERSION, APP_MINOR_VERSION, | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:54:5: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 34 | QIcon mainIcon; | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:61:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 34 | QApplication::setWindowIcon(mainIcon); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:63:5: warning: no header providing "QQuickStyle" is directly included [misc-include-cleaner] 34 | QQuickStyle::setStyle(u::getPref(u"system/uiTheme"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:65:5: warning: no header providing "QQmlApplicationEngine" is directly included [misc-include-cleaner] 34 | QQmlApplicationEngine engine; | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:67:17: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 34 | engine.load(QUrl(u"qrc:/main.qml"_s)); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:68:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 34 | Q_ASSERT(!engine.rootObjects().empty()); | ^ /home/runner/work/graphia/graphia/source/updater/editor/main.cpp:70:12: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 34 | return QCoreApplication::exec(); | ^ 19456 warnings generated. [56/195] /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:24:68: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | 24 | ColumnAnnotation::ColumnAnnotation(const QString& name, const std::vector& values) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:38:34: warning: no header providing "std::min" is directly included [misc-include-cleaner] 23 | 24 | ColumnAnnotation::ColumnAnnotation(const QString& name, const std::vector& values) : 25 | _name(name), _values(values) 26 | { 27 | int index = 0; 28 | for(const auto& value : _values) 29 | { 30 | if(_uniqueValues.emplace(value, index).second) 31 | index++; 32 | 33 | if(_hasOnlyNumericValues) 34 | { 35 | if(u::isNumeric(value)) 36 | { 37 | auto d = u::toNumber(value); 38 | _minValue = std::min(d, _minValue); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:39:34: warning: no header providing "std::max" is directly included [misc-include-cleaner] 23 | _maxValue = std::max(d, _maxValue); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:44:34: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 23 | _minValue = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:45:34: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 23 | _maxValue = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:57:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | size_t ColumnAnnotation::uniqueIndexOf(const QString& value) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:62:5: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 23 | qDebug() << "ColumnAnnotation::uniqueIndexOf: unique value" << value << "not found"; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:66:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | double ColumnAnnotation::normalisedNumericValueAt(size_t index) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:68:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(isNumeric()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/columnannotation.cpp:72:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(_minValue <= _maxValue); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 10311 warnings generated. [57/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:21:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:21:70: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:22:5: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:26:10: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:26:33: warning: no header providing "CorrelationFilterType_reflector::Enum::Threshold" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:29:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:29:31: warning: no header providing "CorrelationType_reflector::Enum::Pearson" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:29:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:30:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:30:31: warning: no header providing "CorrelationType_reflector::Enum::SpearmanRank" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:30:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:31:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:31:31: warning: no header providing "CorrelationType_reflector::Enum::EuclideanSimilarity" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:31:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:32:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); 32 | case CorrelationType::CosineSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:32:31: warning: no header providing "CorrelationType_reflector::Enum::CosineSimilarity" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); 32 | case CorrelationType::CosineSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:32:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); 32 | case CorrelationType::CosineSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:33:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); 32 | case CorrelationType::CosineSimilarity: return std::make_unique(); 33 | case CorrelationType::Bicor: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:33:31: warning: no header providing "CorrelationType_reflector::Enum::Bicor" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); 32 | case CorrelationType::CosineSimilarity: return std::make_unique(); 33 | case CorrelationType::Bicor: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:33:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | 21 | std::unique_ptr ContinuousCorrelation::create(CorrelationType correlationType, 22 | CorrelationFilterType correlationFilterType) 23 | { 24 | switch(correlationFilterType) 25 | { 26 | case CorrelationFilterType::Threshold: 27 | switch(correlationType) 28 | { 29 | case CorrelationType::Pearson: return std::make_unique(); 30 | case CorrelationType::SpearmanRank: return std::make_unique(); 31 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); 32 | case CorrelationType::CosineSimilarity: return std::make_unique(); 33 | case CorrelationType::Bicor: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:38:10: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 20 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:38:33: warning: no header providing "CorrelationFilterType_reflector::Enum::Knn" is directly included [misc-include-cleaner] 20 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:41:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::Pearson: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:41:31: warning: no header providing "CorrelationType_reflector::Enum::Pearson" is directly included [misc-include-cleaner] 20 | case CorrelationType::Pearson: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:41:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::Pearson: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:42:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::SpearmanRank: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:42:31: warning: no header providing "CorrelationType_reflector::Enum::SpearmanRank" is directly included [misc-include-cleaner] 20 | case CorrelationType::SpearmanRank: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:42:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::SpearmanRank: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:43:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:43:31: warning: no header providing "CorrelationType_reflector::Enum::EuclideanSimilarity" is directly included [misc-include-cleaner] 20 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:43:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::EuclideanSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:44:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::CosineSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:44:31: warning: no header providing "CorrelationType_reflector::Enum::CosineSimilarity" is directly included [misc-include-cleaner] 20 | case CorrelationType::CosineSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:44:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::CosineSimilarity: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:45:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::Bicor: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:45:31: warning: no header providing "CorrelationType_reflector::Enum::Bicor" is directly included [misc-include-cleaner] 20 | case CorrelationType::Bicor: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:45:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::Bicor: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:56:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 20 | std::unique_ptr DiscreteCorrelation::create(CorrelationType correlationType, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:56:66: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | std::unique_ptr DiscreteCorrelation::create(CorrelationType correlationType, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:57:5: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 20 | CorrelationFilterType correlationFilterType) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:61:10: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 20 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:61:33: warning: no header providing "CorrelationFilterType_reflector::Enum::Threshold" is directly included [misc-include-cleaner] 20 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:64:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::Jaccard: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:64:31: warning: no header providing "CorrelationType_reflector::Enum::Jaccard" is directly included [misc-include-cleaner] 20 | case CorrelationType::Jaccard: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:64:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::Jaccard: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:65:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::SMC: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:65:31: warning: no header providing "CorrelationType_reflector::Enum::SMC" is directly included [misc-include-cleaner] 20 | case CorrelationType::SMC: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:65:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::SMC: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:70:10: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 20 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:70:33: warning: no header providing "CorrelationFilterType_reflector::Enum::Knn" is directly included [misc-include-cleaner] 20 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:73:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::Jaccard: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:73:31: warning: no header providing "CorrelationType_reflector::Enum::Jaccard" is directly included [misc-include-cleaner] 20 | case CorrelationType::Jaccard: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:73:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::Jaccard: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:74:14: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 20 | case CorrelationType::SMC: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:74:31: warning: no header providing "CorrelationType_reflector::Enum::SMC" is directly included [misc-include-cleaner] 20 | case CorrelationType::SMC: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:74:65: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 20 | case CorrelationType::SMC: return std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:85:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | double PearsonAlgorithm::evaluate(size_t size, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:85:54: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double PearsonAlgorithm::evaluate(size_t size, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:85:91: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double PearsonAlgorithm::evaluate(size_t size, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:87:36: warning: no header providing "std::inner_product" is directly included [misc-include-cleaner] 20 | const double productSum = std::inner_product(vectorA->begin(), vectorA->end(), vectorB->begin(), 0.0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:94:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | double EuclideanSimilarityAlgorithm::evaluate(size_t size, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:94:66: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double EuclideanSimilarityAlgorithm::evaluate(size_t size, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:94:103: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double EuclideanSimilarityAlgorithm::evaluate(size_t size, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:98:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | for(size_t i = 0; i < size; i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:105:38: warning: no header providing "std::sqrt" is directly included [misc-include-cleaner] 20 | auto sqrtSum = sum != 0.0 ? std::sqrt(sum) : 0.0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:110:44: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | double CosineSimilarityAlgorithm::evaluate(size_t, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:110:58: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double CosineSimilarityAlgorithm::evaluate(size_t, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:110:95: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double CosineSimilarityAlgorithm::evaluate(size_t, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:112:36: warning: no header providing "std::inner_product" is directly included [misc-include-cleaner] 20 | const double productSum = std::inner_product(vectorA->begin(), vectorA->end(), vectorB->begin(), 0.0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:118:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | void BicorAlgorithm::preprocess(size_t size, const ContinuousDataVectors& vectors) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:118:52: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 20 | void BicorAlgorithm::preprocess(size_t size, const ContinuousDataVectors& vectors) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:123:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | for(size_t i = 0; const auto& vector : vectors) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:125:26: warning: no header providing "u::medianOf" is directly included [misc-include-cleaner] 20 | auto median = u::medianOf(vector.data()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:127:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 20 | std::vector absDiffs(size); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:128:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 20 | std::vector intermediate(size); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:130:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | for(size_t j = 0; auto value : vector) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:133:32: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 20 | absDiffs[j] = std::abs(intermediate[j]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:137:23: warning: no header providing "u::medianOf" is directly included [misc-include-cleaner] 20 | auto mad = u::medianOf(absDiffs); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:139:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | for(size_t j = 0; auto value : intermediate) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:154:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | double BicorAlgorithm::evaluate(size_t, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:154:47: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double BicorAlgorithm::evaluate(size_t, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:154:84: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 20 | double BicorAlgorithm::evaluate(size_t, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:156:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | auto a = static_cast(std::distance(_base, vectorA)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:156:39: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 20 | auto a = static_cast(std::distance(_base, vectorA)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:157:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 20 | auto b = static_cast(std::distance(_base, vectorB)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:157:39: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 20 | auto b = static_cast(std::distance(_base, vectorB)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.cpp:161:36: warning: no header providing "std::inner_product" is directly included [misc-include-cleaner] 20 | const double productSum = std::inner_product(processedVectorA.begin(), processedVectorA.end(), | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 15807 warnings generated. [58/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlationdatavector.cpp:23:1: warning: included header algorithm is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/correlationdatavector.cpp:24:1: warning: included header cmath is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationdatavector.cpp:28:22: warning: no header providing "u::findStatisticsFor" is directly included [misc-include-cleaner] 22 | 23 | #include 24 | #include 25 | 26 | void ContinuousDataVector::update() 27 | { 28 | _statistics = u::findStatisticsFor(_data); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationdatavector.cpp:33:27: warning: no header providing "std::make_shared" is directly included [misc-include-cleaner] 25 | 26 | void ContinuousDataVector::update() 27 | { 28 | _statistics = u::findStatisticsFor(_data); 29 | } 30 | 31 | void ContinuousDataVector::generateRanking() const 32 | { 33 | _rankingVector = std::make_shared(u::rankingOf(_data), _nodeId, _cost); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 7632 warnings generated. [59/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:27:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | QStringList CorrelationNodeAttributeTableModel::columnNames() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:29:17: warning: no header providing "NodeAttributeTableModel" is directly included [misc-include-cleaner] 21 | #include "shared/utils/container.h" 22 | 23 | #include 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | QStringList CorrelationNodeAttributeTableModel::columnNames() const 28 | { 29 | auto list = NodeAttributeTableModel::columnNames(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:38:72: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | QStringList CorrelationNodeAttributeTableModel::columnNames() const 28 | { 29 | auto list = NodeAttributeTableModel::columnNames(); 30 | 31 | list.reserve(list.size() + static_cast(_dataColumnNames.size())); 32 | for(const auto& dataColumnName : _dataColumnNames) 33 | list.append(dataColumnName); 34 | 35 | return list; 36 | } 37 | 38 | void CorrelationNodeAttributeTableModel::addDataColumnNames(const std::vector& dataColumnNames) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:38:79: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | QStringList CorrelationNodeAttributeTableModel::columnNames() const 28 | { 29 | auto list = NodeAttributeTableModel::columnNames(); 30 | 31 | list.reserve(list.size() + static_cast(_dataColumnNames.size())); 32 | for(const auto& dataColumnName : _dataColumnNames) 33 | list.append(dataColumnName); 34 | 35 | return list; 36 | } 37 | 38 | void CorrelationNodeAttributeTableModel::addDataColumnNames(const std::vector& dataColumnNames) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:47:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | return u"Data Value › %1"_s.arg(columnName); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:50:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t i = 0; i < _dataColumnNames.size(); i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:54:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(_dataColumnNames.size() == _dataColumnIndexes.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:57:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 24 | QVariant CorrelationNodeAttributeTableModel::dataValue(size_t row, const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:57:56: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | QVariant CorrelationNodeAttributeTableModel::dataValue(size_t row, const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:57:74: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QVariant CorrelationNodeAttributeTableModel::dataValue(size_t row, const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:61:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | const size_t column = _dataColumnIndexes.at(columnName); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:62:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | const size_t index = (row * _dataColumnIndexes.size()) + column; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:66:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(index < _continuousDataValues->size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:72:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(index < _discreteDataValues->size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:79:12: warning: no header providing "NodeAttributeTableModel" is directly included [misc-include-cleaner] 21 | return NodeAttributeTableModel::dataValue(row, columnName); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:82:78: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | void CorrelationNodeAttributeTableModel::addContinuousDataColumns(const std::vector& dataColumnNames, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:82:85: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void CorrelationNodeAttributeTableModel::addContinuousDataColumns(const std::vector& dataColumnNames, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:83:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | std::vector* dataValues) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:86:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(_discreteDataValues == nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:90:76: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | void CorrelationNodeAttributeTableModel::addDiscreteDataColumns(const std::vector& dataColumnNames, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:90:83: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void CorrelationNodeAttributeTableModel::addDiscreteDataColumns(const std::vector& dataColumnNames, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:91:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 24 | std::vector* dataValues) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:91:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | std::vector* dataValues) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:94:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(_continuousDataValues == nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:98:67: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | bool CorrelationNodeAttributeTableModel::columnIsCalculated(const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:103:12: warning: no header providing "NodeAttributeTableModel" is directly included [misc-include-cleaner] 21 | return NodeAttributeTableModel::columnIsCalculated(columnName); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:106:72: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | bool CorrelationNodeAttributeTableModel::columnIsHiddenByDefault(const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:111:12: warning: no header providing "NodeAttributeTableModel" is directly included [misc-include-cleaner] 21 | return NodeAttributeTableModel::columnIsHiddenByDefault(columnName); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:114:70: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | bool CorrelationNodeAttributeTableModel::columnIsFloatingPoint(const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:119:12: warning: no header providing "NodeAttributeTableModel" is directly included [misc-include-cleaner] 21 | return NodeAttributeTableModel::columnIsFloatingPoint(columnName); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:122:66: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | bool CorrelationNodeAttributeTableModel::columnIsNumerical(const QString& columnName) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationnodeattributetablemodel.cpp:127:12: warning: no header providing "NodeAttributeTableModel" is directly included [misc-include-cleaner] 21 | return NodeAttributeTableModel::columnIsNumerical(columnName); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 10730 warnings generated. [60/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:24:1: warning: included header qcpcolumnannotations.h is not used directly [misc-include-cleaner] 24 | #include "qcpcolumnannotations.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:28:1: warning: included header utils.h is not used directly [misc-include-cleaner] 28 | #include "shared/utils/utils.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | #include "shared/utils/random.h" /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:29:1: warning: included header random.h is not used directly [misc-include-cleaner] 29 | #include "shared/utils/random.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | #include "shared/utils/color.h" /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:30:1: warning: included header color.h is not used directly [misc-include-cleaner] 30 | #include "shared/utils/color.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | #include "shared/utils/container.h" /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:36:1: warning: included header QDesktopServices is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:37:1: warning: included header QSet is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~ 38 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:38:1: warning: included header QCollator is not used directly [misc-include-cleaner] 38 | #include | ^~~~~~~~~~~~~~~~~~~~ 39 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:39:1: warning: included header QQuickWindow is not used directly [misc-include-cleaner] 39 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 40 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:40:1: warning: included header QDebug is not used directly [misc-include-cleaner] 40 | #include | ^~~~~~~~~~~~~~~~~ 41 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:50:51: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 44 | #include 45 | #include 46 | #include 47 | 48 | using namespace Qt::Literals::StringLiterals; 49 | 50 | CorrelationPlotWorker::CorrelationPlotWorker(std::recursive_mutex& mutex, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:51:5: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 45 | #include 46 | #include 47 | 48 | using namespace Qt::Literals::StringLiterals; 49 | 50 | CorrelationPlotWorker::CorrelationPlotWorker(std::recursive_mutex& mutex, 51 | QCustomPlot& customPlot) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:52:12: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 45 | #include 46 | #include 47 | 48 | using namespace Qt::Literals::StringLiterals; 49 | 50 | CorrelationPlotWorker::CorrelationPlotWorker(std::recursive_mutex& mutex, 51 | QCustomPlot& customPlot) : 52 | _debug(qEnvironmentVariableIntValue("QCUSTOMPLOT_DEBUG") != 0), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:55:18: warning: no header providing "QOffscreenSurface" is directly included [misc-include-cleaner] 45 | #include 46 | #include 47 | 48 | using namespace Qt::Literals::StringLiterals; 49 | 50 | CorrelationPlotWorker::CorrelationPlotWorker(std::recursive_mutex& mutex, 51 | QCustomPlot& customPlot) : 52 | _debug(qEnvironmentVariableIntValue("QCUSTOMPLOT_DEBUG") != 0), 53 | _mutex(&mutex), _busy(false), 54 | _customPlot(&customPlot), 55 | _surface(new QOffscreenSurface) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:61:25: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 45 | _surface->setFormat(QSurfaceFormat::defaultFormat()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:66:31: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 45 | connect(_customPlot, &QCustomPlot::beforeReplot, [this] { _replotTimer.restart(); }); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:67:31: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 45 | connect(_customPlot, &QCustomPlot::afterReplot, [this] { qDebug() << "replot" << _replotTimer.elapsed() << "ms"; }); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:67:66: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 45 | connect(_customPlot, &QCustomPlot::afterReplot, [this] { qDebug() << "replot" << _replotTimer.elapsed() << "ms"; }); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:91:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit zoomedChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:121:42: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | void CorrelationPlotWorker::setAxisRange(QCPAxis* axis, double min, double max) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:142:34: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | void CorrelationPlotWorker::zoom(QCPAxis* axis, double centre, int direction) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:183:33: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | void CorrelationPlotWorker::pan(QCPAxis* axis, double delta) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:207:5: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(this, "renderPixmap", Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:207:57: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(this, "renderPixmap", Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:225:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 44 | std::unique_lock lock(*_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:225:27: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 44 | std::unique_lock lock(*_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:231:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit busyChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:239:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit busyChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:248:26: warning: no header providing "std::thread" is directly included [misc-include-cleaner] 45 | if(_threadId == std::thread::id()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:255:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | u::setCurrentThreadName(u"CorrPlotRender"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:256:39: warning: no header providing "std::this_thread::get_id" is directly included [misc-include-cleaner] 45 | _threadId = std::this_thread::get_id(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:259:39: warning: no header providing "std::this_thread::get_id" is directly included [misc-include-cleaner] 45 | if(_threadId != std::this_thread::get_id()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:270:39: warning: no header providing "QCPLayoutElement" is directly included [misc-include-cleaner] 45 | _customPlot->plotLayout()->update(QCPLayoutElement::upLayout); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:275:51: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 45 | const auto* axisRect = dynamic_cast(element); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:281:42: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | auto* xAxis = axisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:284:37: warning: no header providing "QPen" is directly included [misc-include-cleaner] 45 | xAxis->basePen() != QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:284:46: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 45 | xAxis->basePen() != QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:293:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | auto* tooltipLayer = _customPlot->layer(u"tooltipLayer"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:298:29: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 45 | _customPlot->replot(QCustomPlot::rpImmediateRefresh); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:302:5: warning: no header providing "QElapsedTimer" is directly included [misc-include-cleaner] 45 | QElapsedTimer _pixmapTimer; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:307:5: warning: no header providing "QPixmap" is directly included [misc-include-cleaner] 45 | QPixmap pixmap( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:311:21: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 45 | pixmap.fill(Qt::transparent); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:312:5: warning: no header providing "QCPPainter" is directly included [misc-include-cleaner] 45 | QCPPainter painter(&pixmap); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:317:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 45 | qDebug() << "render" << _pixmapTimer.elapsed() << "ms"; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:322:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit pixmapUpdated(pixmap); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:325:42: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 45 | CorrelationPlotItem::CorrelationPlotItem(QQuickItem* parent) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:326:5: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | QQuickPaintedItem(parent), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:327:12: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 45 | _debug(qEnvironmentVariableIntValue("QCUSTOMPLOT_DEBUG") != 0), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:328:25: warning: no header providing "QCPLayoutGrid" is directly included [misc-include-cleaner] 45 | _mainLayoutGrid(new QCPLayoutGrid), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:342:35: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 45 | _customPlot.setBackground(Qt::transparent); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:347:38: warning: no header providing "QCP::iNone" is directly included [misc-include-cleaner] 45 | _customPlot.setInteractions(QCP::iNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:349:13: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 45 | setFlag(QQuickItem::ItemHasContents, true); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:352:33: warning: no header providing "Qt::AllButtons" is directly included [misc-include-cleaner] 45 | setAcceptedMouseButtons(Qt::AllButtons); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:354:5: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 45 | qRegisterMetaType("CorrelationPlotUpdateType"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:357:34: warning: no header providing "QThread" is directly included [misc-include-cleaner] 45 | connect(&_plotRenderThread, &QThread::finished, _worker, &QObject::deleteLater); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:357:63: warning: no header providing "QObject" is directly included [misc-include-cleaner] 45 | connect(&_plotRenderThread, &QThread::finished, _worker, &QObject::deleteLater); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:359:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | connect(this, &QQuickPaintedItem::widthChanged, [this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:361:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setWidth", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:361:60: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setWidth", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:362:13: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(int, static_cast(width()))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:365:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | connect(this, &QQuickPaintedItem::heightChanged, [this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:367:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setHeight", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:367:61: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setHeight", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:368:13: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(int, std::max(static_cast(height()), static_cast(minimumHeight())))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:371:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | connect(this, &QQuickPaintedItem::windowChanged, [this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:377:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setDevicePixelRatio", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:377:71: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setDevicePixelRatio", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:378:13: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(double, devicePixelRatio)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:387:28: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 45 | connect(&_customPlot, &QCustomPlot::afterReplot, [this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:397:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | connect(this, &QQuickPaintedItem::widthChanged, this, &CorrelationPlotItem::updatePlotSize); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:398:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | connect(this, &QQuickPaintedItem::heightChanged, this, &CorrelationPlotItem::updatePlotSize); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:399:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | connect(this, &QQuickPaintedItem::widthChanged, this, &CorrelationPlotItem::visibleHorizontalFractionChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:400:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | connect(this, &QQuickPaintedItem::widthChanged, this, &CorrelationPlotItem::isWideChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:417:5: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "updatePixmap", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:417:60: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "updatePixmap", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:418:9: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(CorrelationPlotUpdateType, updateType)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:421:33: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 45 | bool CorrelationPlotItem::event(QEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:423:25: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 45 | if(event->type() == QEvent::ApplicationPaletteChange) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:426:12: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 45 | return QQuickPaintedItem::event(event); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:429:33: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::paint(QPainter* painter) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:441:11: warning: no header providing "QRect" is directly included [misc-include-cleaner] 45 | const QRect target | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:449:11: warning: no header providing "QRect" is directly included [misc-include-cleaner] 45 | const QRect source | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:467:48: warning: no header providing "QRgb" is directly included [misc-include-cleaner] 45 | auto* pixel = reinterpret_cast(scanLine + static_cast(x * bytes)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:467:78: warning: no header providing "ptrdiff_t" is directly included [misc-include-cleaner] 44 | auto* pixel = reinterpret_cast(scanLine + static_cast(x * bytes)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:468:34: warning: no header providing "qGray" is directly included [misc-include-cleaner] 45 | const int gray = qGray(*pixel); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:469:35: warning: no header providing "qAlpha" is directly included [misc-include-cleaner] 45 | const int alpha = qAlpha(*pixel); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:470:26: warning: no header providing "QColor" is directly included [misc-include-cleaner] 45 | *pixel = QColor(gray, gray, gray, alpha).rgba(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:477:37: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 45 | painter->setCompositionMode(QPainter::CompositionMode_DestinationOver); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:482:27: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 24 | painter->fillRect(QRectF{0.0, 0.0, width(), height()}, alphaBackgroundColor); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:483:37: warning: no header providing "QPixmap" is directly included [misc-include-cleaner] 45 | painter->drawPixmap(target, QPixmap::fromImage(image), source); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:487:37: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 45 | painter->setCompositionMode(QPainter::CompositionMode_SourceOver); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:488:27: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 24 | painter->fillRect(QRectF{0.0, 0.0, width(), height()}, backgroundColor()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:493:49: warning: no header providing "QPixmap" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::onPixmapUpdated(const QPixmap& pixmap) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:513:43: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::mousePressEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:519:45: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::mouseReleaseEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:529:31: warning: no header providing "Qt::RightButton" is directly included [misc-include-cleaner] 45 | if(event->button() == Qt::RightButton) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:530:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit rightClick(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:535:42: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::mouseMoveEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:541:48: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | auto* axis = axisRectUnderCursor->axis(QCPAxis::atLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:544:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "pan", Qt::QueuedConnection, Q_ARG(QCPAxis*, axis), Q_ARG(double, delta)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:544:55: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "pan", Qt::QueuedConnection, Q_ARG(QCPAxis*, axis), Q_ARG(double, delta)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:544:73: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "pan", Qt::QueuedConnection, Q_ARG(QCPAxis*, axis), Q_ARG(double, delta)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:544:79: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "pan", Qt::QueuedConnection, Q_ARG(QCPAxis*, axis), Q_ARG(double, delta)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:544:96: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "pan", Qt::QueuedConnection, Q_ARG(QCPAxis*, axis), Q_ARG(double, delta)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:557:1: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 45 | QCPAbstractPlottable* CorrelationPlotItem::abstractPlottableUnderCursor(double& keyCoord) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:559:5: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 45 | QCPAbstractPlottable* nearestPlottable = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:563:9: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 45 | QVariant details; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:566:35: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 44 | auto minDistanceSq = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:575:48: warning: no header providing "QCP::SelectionType" is directly included [misc-include-cleaner] 45 | if(plottable->selectable() == QCP::SelectionType::stNone) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:575:63: warning: no header providing "QCP::stNone" is directly included [misc-include-cleaner] 45 | if(plottable->selectable() == QCP::SelectionType::stNone) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:588:46: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 45 | const auto* graph = dynamic_cast(plottable); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:593:23: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 45 | const QPointF tolerancePoint(_customPlot.selectionTolerance(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:602:23: warning: no header providing "QCPGraphDataContainer" is directly included [misc-include-cleaner] 45 | const QCPGraphDataContainer::const_iterator begin = graph->data()->findBegin(posKeyMin, true); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:603:23: warning: no header providing "QCPGraphDataContainer" is directly included [misc-include-cleaner] 45 | const QCPGraphDataContainer::const_iterator end = graph->data()->findEnd(posKeyMax, true); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:605:21: warning: no header providing "QCPGraphDataContainer" is directly included [misc-include-cleaner] 45 | for(QCPGraphDataContainer::const_iterator it = begin; it != end; ++it) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:607:45: warning: no header providing "QCPVector2D" is directly included [misc-include-cleaner] 45 | const auto distanceSq = QCPVector2D(plottable->coordsToPixels( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:615:61: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 44 | keyCoord = static_cast(std::distance(graph->data()->constBegin(), it)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:628:42: warning: no header providing "qvariant_cast" is directly included [misc-include-cleaner] 45 | auto dataSelection = qvariant_cast(details); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:628:56: warning: no header providing "QCPDataSelection" is directly included [misc-include-cleaner] 45 | auto dataSelection = qvariant_cast(details); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:644:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:644:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:644:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:657:5: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 45 | QCPAbstractPlottable* plottableUnderCursor = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:658:5: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 45 | QCPAxisRect* axisRectUnderCursor = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:669:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | _hoverLabel->setText(QString()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:685:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | auto itemTracerPosition = _itemTracer->anchor(u"position"_s)->pixelPosition(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:693:38: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | auto index = static_cast(key); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:699:62: warning: no header providing "QCPPlottableInterface1D" is directly included [misc-include-cleaner] 45 | const auto* plottable1D = dynamic_cast(plottableUnderCursor); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:722:9: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 45 | QPointF targetPosition(itemTracerPosition.x() + HOVER_MARGIN, itemTracerPosition.y()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:742:19: warning: no header providing "QColor" is directly included [misc-include-cleaner] 45 | const QColor color = plottableUnderCursor->brush().color(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:744:39: warning: no header providing "QBrush" is directly included [misc-include-cleaner] 45 | _hoverColorRect->setBrush(QBrush(color)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:769:42: warning: no header providing "QHoverEvent" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::hoverMoveEvent(QHoverEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:781:43: warning: no header providing "QHoverEvent" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::hoverLeaveEvent(QHoverEvent*) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:790:38: warning: no header providing "QWheelEvent" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::wheelEvent(QWheelEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:798:48: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | auto* axis = axisRectUnderCursor->axis(QCPAxis::atLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:802:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "zoom", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:802:56: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "zoom", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:803:13: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(QCPAxis*, axis), Q_ARG(double, f), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:803:19: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | Q_ARG(QCPAxis*, axis), Q_ARG(double, f), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:803:36: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(QCPAxis*, axis), Q_ARG(double, f), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:804:13: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(int, event->angleDelta().y() > 0.0 ? 1 : -1)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:834:33: warning: no header providing "QCPLayoutGrid" is directly included [misc-include-cleaner] 45 | _legendLayoutGrid = new QCPLayoutGrid; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:842:49: warning: no header providing "QCPLegend" is directly included [misc-include-cleaner] 45 | _legendLayoutGrid->addElement(1, 0, new QCPLegend); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:843:56: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 44 | _legendLayoutGrid->setRowStretchFactor(1, std::numeric_limits::min()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:848:33: warning: no header providing "QCPLegend" is directly included [misc-include-cleaner] 45 | auto* legend = dynamic_cast(_legendLayoutGrid->elementAt( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:851:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | legend->setLayer(u"legend"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:853:26: warning: no header providing "QPen" is directly included [misc-include-cleaner] 45 | legend->setBorderPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:858:24: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 45 | legend->setMargins(QMargins(marginSize, marginSize, marginSize, marginSize)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:859:35: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 45 | _legendLayoutGrid->setMargins(QMargins(0, marginSize, marginSize, marginSize + _bottomPadding)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:870:18: warning: no header providing "QFontMetrics" is directly included [misc-include-cleaner] 45 | std::max(QFontMetrics(legend->font()).height(), legend->iconSize().height()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:876:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | size_t maxNumberOfElementsToDraw = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:884:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | std::map plottablesMap; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:884:23: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 45 | std::map plottablesMap; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:904:17: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 45 | std::vector plottables; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:906:69: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 44 | std::transform(plottablesMap.begin(), plottablesMap.end(), std::back_inserter(plottables), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:911:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | size_t numTruncated = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:927:30: warning: no header providing "QCPTextElement" is directly included [misc-include-cleaner] 45 | auto* moreText = new QCPTextElement(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:928:30: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 45 | moreText->setMargins(QMargins()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:930:36: warning: no header providing "Qt::AlignLeft" is directly included [misc-include-cleaner] 45 | moreText->setTextFlags(Qt::AlignLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:932:36: warning: no header providing "Qt::gray" is directly included [misc-include-cleaner] 45 | moreText->setTextColor(Qt::gray); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:952:41: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::onClick(const QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:954:31: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 45 | if(event->button() != Qt::LeftButton) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:969:37: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 45 | auto* axis = axisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:970:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | auto column = static_cast(std::round(axis->pixelToCoord(event->pos().x()))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:972:61: warning: no header providing "Qt::ControlModifier" is directly included [misc-include-cleaner] 45 | const bool toggle = event->modifiers().testFlag(Qt::ControlModifier); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:983:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit selectedColumnsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1013:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1013:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1013:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1029:27: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 45 | for(auto v : std::as_const(_lineGraphCache)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1038:5: warning: no header providing "QElapsedTimer" is directly included [misc-include-cleaner] 45 | QElapsedTimer buildTimer; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1044:23: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 45 | for(auto v : std::as_const(_lineGraphCache)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1050:38: warning: no header providing "QCP::SelectionType" is directly included [misc-include-cleaner] 45 | v._graph->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1050:53: warning: no header providing "QCP::stNone" is directly included [misc-include-cleaner] 45 | v._graph->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1069:42: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 45 | _customPlot.plotLayout()->setMargins(QMargins(0, 0, _rightPadding, 0)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1075:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 45 | qDebug() << "buildPlot" << buildTimer.elapsed() << "ms"; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1080:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | size_t CorrelationPlotItem::numColumns() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1087:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 45 | Q_ASSERT(_pluginInstance->numDiscreteColumns() == 0 || | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1094:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | size_t CorrelationPlotItem::numVisibleColumns() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1120:5: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setXAxisRange", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1120:61: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setXAxisRange", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1121:9: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(double, min), Q_ARG(double, max)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1121:29: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(double, min), Q_ARG(double, max)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1124:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::setYAxisLabel(const QString& plotYAxisLabel) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1129:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1140:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit visibleHorizontalFractionChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1141:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1146:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::setXAxisLabel(const QString& plotXAxisLabel) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1151:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1161:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1176:22: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 26 | this, [this](VisualChangeFlags nodeChange, VisualChangeFlags) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1176:52: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 26 | this, [this](VisualChangeFlags nodeChange, VisualChangeFlags) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1178:20: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 26 | if(::Flags(nodeChange).test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1178:56: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 26 | if(::Flags(nodeChange).test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1178:75: warning: no header providing "VisualChangeFlags::Color" is directly included [misc-include-cleaner] 26 | if(::Flags(nodeChange).test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1183:49: warning: no header providing "QList" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::setSelectedRows(const QList& selectedRows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1186:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit selectedRowsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1220:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit visibleHorizontalFractionChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1221:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1231:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setShowGridLines", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1231:68: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "setShowGridLines", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1232:13: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 45 | Q_ARG(bool, showGridLines)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1274:5: warning: no header providing "QCollator" is directly included [misc-include-cleaner] 45 | QCollator collator; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1282:13: warning: no header providing "Qt::SortOrder" is directly included [misc-include-cleaner] 45 | Qt::SortOrder _order = Qt::AscendingOrder; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1282:36: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | Qt::SortOrder _order = Qt::AscendingOrder; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1283:15: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 21 | const ColumnAnnotation* _annotation = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1287:42: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | columnSortOrders.reserve(static_cast(_columnSortOrders.size())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1289:47: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 45 | for(const auto& qmlColumnSortOrder : std::as_const(_columnSortOrders)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1291:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 45 | Q_ASSERT(u::containsAllOf(qmlColumnSortOrder, {"type", "text", "order"})); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1294:33: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 26 | columnSortOrder._type = normaliseQmlEnum(qmlColumnSortOrder[u"type"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1294:96: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | columnSortOrder._type = normaliseQmlEnum(qmlColumnSortOrder[u"type"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1295:50: warning: no header providing "Qt::SortOrder" is directly included [misc-include-cleaner] 45 | columnSortOrder._order = static_cast(qmlColumnSortOrder[u"order"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1295:88: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | columnSortOrder._order = static_cast(qmlColumnSortOrder[u"order"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1299:67: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | auto columnAnnotationName = qmlColumnSortOrder[u"text"_s].toString(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1317:48: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 44 | columnValues.resize(numColumns(), std::numeric_limits::lowest()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1319:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | for(size_t col = 0; col < _pluginInstance->numDiscreteColumns(); col++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1323:33: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 45 | for(auto row : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1325:65: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | if(!_pluginInstance->discreteDataAt(static_cast(row), col).isEmpty()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1330:34: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 26 | auto plotAveragingType = normaliseQmlEnum(_averagingType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1333:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | for(size_t col = 0; col < _pluginInstance->numContinuousColumns(); col++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1337:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | values.reserve(static_cast(_selectedRows.size())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1339:33: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 45 | for(auto row : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1341:76: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | auto value = _pluginInstance->continuousDataAt(static_cast(row), col); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1370:52: warning: no header providing "u::medianOf" is directly included [misc-include-cleaner] 27 | columnValues.at(col + offset) = u::medianOf(values); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1378:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | std::vector inverseDataValueOrdering(numColumns()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1381:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | [&columnValues](size_t a, size_t b) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1381:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | [&columnValues](size_t a, size_t b) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1386:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | for(size_t i = 0; i < inverseDataValueOrdering.size(); i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1391:42: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | [this, &columnSortOrders, &collator](size_t a, size_t b) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1391:52: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | [this, &columnSortOrders, &collator](size_t a, size_t b) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1399:54: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | return columnSortOrder._order == Qt::AscendingOrder ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1410:54: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | return columnSortOrder._order == Qt::AscendingOrder ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1416:54: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | return columnSortOrder._order == Qt::AscendingOrder ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1430:58: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | return columnSortOrder._order == Qt::AscendingOrder ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1435:54: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | return columnSortOrder._order == Qt::AscendingOrder ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1441:54: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | return columnSortOrder._order == Qt::AscendingOrder ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1451:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | const size_t oldSize = _annotationGroupMap.size(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1456:21: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | std::vector lastValueColumn; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1458:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | for(size_t i = 0U; i < numColumns(); i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1462:25: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | std::vector valueColumn; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1484:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit numVisibleColumnsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1490:50: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::sortBy(int type, const QString& text) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1496:22: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | auto order = Qt::AscendingOrder; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1501:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | const bool sameType = (value[u"type"_s].toInt() == type); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1502:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | const bool sameText = (value[u"text"_s].toString() == text); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1511:33: warning: no header providing "Qt::SortOrder" is directly included [misc-include-cleaner] 45 | order = static_cast((*existing)[u"order"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1511:64: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | order = static_cast((*existing)[u"order"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1517:34: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | order = order == Qt::AscendingOrder ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1518:21: warning: no header providing "Qt::DescendingOrder" is directly included [misc-include-cleaner] 45 | Qt::DescendingOrder : Qt::AscendingOrder; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1518:43: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 45 | Qt::DescendingOrder : Qt::AscendingOrder; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1529:65: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | return static_cast(value[u"type"_s].toInt()) != | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1534:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 45 | QVariantMap newSortOrder; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1535:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | newSortOrder[u"type"_s] = type; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1536:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | newSortOrder[u"text"_s] = text; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1537:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | newSortOrder[u"order"_s] = order; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1541:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1544:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit columnSortOrderCanBePinnedChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1554:5: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "resetZoom", Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1554:57: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 45 | QMetaObject::invokeMethod(_worker, "resetZoom", Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1558:53: warning: no header providing "QVector" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::setColumnSortOrders(const QVector& columnSortOrders) // clazy:exclude=qproperty-type-mismatch | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1558:61: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::setColumnSortOrders(const QVector& columnSortOrders) // clazy:exclude=qproperty-type-mismatch | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1563:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 45 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1573:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | return static_cast(value[u"type"_s].toInt()) == | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1578:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | QString CorrelationPlotItem::elideLabel(const QString& label) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1578:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | QString CorrelationPlotItem::elideLabel(const QString& label) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1590:66: warning: no header providing "Qt::ElideRight" is directly included [misc-include-cleaner] 45 | auto elidedLabel = _defaultFontMetrics.elidedText(label, Qt::ElideRight, _elideLabelWidth); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1629:8: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 26 | if(normaliseQmlEnum(_averagingType) == PlotAveragingType::IQR || _groupByAnnotation) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1632:8: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 26 | if(normaliseQmlEnum(_dispersionType) != PlotDispersionType::None) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1666:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | std::vector CorrelationPlotItem::selectedColumns() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1668:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | std::vector v; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1682:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | _customPlot.addLayer(u"tooltipLayer"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1683:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | _tooltipLayer = _customPlot.layer(u"tooltipLayer"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1684:28: warning: no header providing "QCPLayer" is directly included [misc-include-cleaner] 45 | _tooltipLayer->setMode(QCPLayer::LayerMode::lmBuffered); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1686:5: warning: no header providing "QFont" is directly included [misc-include-cleaner] 45 | QFont defaultFont10Pt; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1689:23: warning: no header providing "QCPItemText" is directly included [misc-include-cleaner] 45 | _hoverLabel = new QCPItemText(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1691:43: warning: no header providing "Qt::AlignVCenter" is directly included [misc-include-cleaner] 45 | _hoverLabel->setPositionAlignment(Qt::AlignVCenter|Qt::AlignLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1691:60: warning: no header providing "Qt::AlignLeft" is directly included [misc-include-cleaner] 45 | _hoverLabel->setPositionAlignment(Qt::AlignVCenter|Qt::AlignLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1693:25: warning: no header providing "QPen" is directly included [misc-include-cleaner] 45 | _hoverLabel->setPen(QPen(Qt::black)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1693:34: warning: no header providing "Qt::black" is directly included [misc-include-cleaner] 45 | _hoverLabel->setPen(QPen(Qt::black)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1694:27: warning: no header providing "QBrush" is directly included [misc-include-cleaner] 45 | _hoverLabel->setBrush(QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1694:38: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] 45 | _hoverLabel->setBrush(QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1695:29: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 45 | _hoverLabel->setPadding(QMargins(3, 3, 3, 3)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1699:27: warning: no header providing "QCPItemRect" is directly included [misc-include-cleaner] 45 | _hoverColorRect = new QCPItemRect(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1705:23: warning: no header providing "QCPItemTracer" is directly included [misc-include-cleaner] 45 | _itemTracer = new QCPItemTracer(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1706:27: warning: no header providing "QBrush" is directly included [misc-include-cleaner] 45 | _itemTracer->setBrush(QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1706:38: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] 45 | _itemTracer->setBrush(QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1710:27: warning: no header providing "QCPItemTracer" is directly included [misc-include-cleaner] 45 | _itemTracer->setStyle(QCPItemTracer::TracerStyle::tsCircle); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1718:31: warning: no header providing "QCPLayoutGrid" is directly included [misc-include-cleaner] 45 | _axesLayoutGrid = new QCPLayoutGrid; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1721:39: warning: no header providing "QCPLayoutGrid" is directly included [misc-include-cleaner] 45 | _axesLayoutGrid->setFillOrder(QCPLayoutGrid::foRowsFirst); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1730:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | QString xAxisLabel = _xAxisLabel; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1735:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | QString warning; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1755:42: warning: no header providing "QCPTextElement" is directly included [misc-include-cleaner] 45 | _xAxisLabelTextElement = new QCPTextElement(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1816:47: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::savePlotImage(const QUrl& url, const QString& extension) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1816:64: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::savePlotImage(const QUrl& url, const QString& extension) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1818:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1818:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1820:23: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 44 | auto cpsic = std::make_unique(*this, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1825:48: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 26 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1825:63: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 26 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1825:74: warning: no header providing "std::move" is directly included [misc-include-cleaner] 45 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1828:52: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::savePlotImageByRow(const QUrl& url, const QString& extension) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1828:69: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::savePlotImageByRow(const QUrl& url, const QString& extension) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1830:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1830:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1832:23: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 44 | auto cpsic = std::make_unique(*this, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1835:33: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 45 | for(auto selectedRow : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1837:61: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | auto rowName = _pluginInstance->rowName(static_cast(selectedRow)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1838:22: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 45 | const static QRegularExpression re(QStringLiteral(R"(\s+)")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1838:44: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 45 | const static QRegularExpression re(QStringLiteral(R"(\s+)")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1839:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | rowName.replace(re, u"_"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1844:48: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 26 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1844:63: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 26 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1844:74: warning: no header providing "std::move" is directly included [misc-include-cleaner] 45 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1847:58: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::savePlotImageByAttribute(const QUrl& url, const QString& extension, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1847:75: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::savePlotImageByAttribute(const QUrl& url, const QString& extension, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1848:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | const QString& attributeName) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1850:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1850:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1852:23: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 44 | auto cpsic = std::make_unique(*this, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1855:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | std::map> images; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1855:23: warning: no header providing "QVector" is directly included [misc-include-cleaner] 45 | std::map> images; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1857:33: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 45 | for(auto selectedRow : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1860:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 44 | static_cast(selectedRow)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1861:22: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 45 | const static QRegularExpression re(QStringLiteral(R"(\s+)")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1861:44: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 45 | const static QRegularExpression re(QStringLiteral(R"(\s+)")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1862:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | attributeValue.replace(re, u"_"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1869:48: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 26 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1869:63: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 26 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1869:74: warning: no header providing "std::move" is directly included [misc-include-cleaner] 45 | _pluginInstance->commandManager()->execute(ExecutePolicy::Once, std::move(cpsic)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1872:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 45 | void CorrelationPlotItem::savePlotImage(const QString& filename) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1874:11: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 45 | const QFileInfo fileInfo(filename); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1876:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | if(fileInfo.suffix() == u"png"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1878:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | else if(fileInfo.suffix() == u"pdf"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1880:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | else if(fileInfo.suffix() == u"jpg"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1883:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 45 | qDebug() << "CorrelationPlotItem::savePlotImage unknown suffix:" << fileInfo.suffix(); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 39258 warnings generated. [61/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:23:1: warning: included header color.h is not used directly [misc-include-cleaner] 23 | #include "shared/utils/color.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:36:33: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | void CorrelationPlotItem::configureDiscreteAxisRect() 33 | { 34 | if(_discreteAxisRect == nullptr) 35 | { 36 | _discreteAxisRect = new QCPAxisRect(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:37:50: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | void CorrelationPlotItem::configureDiscreteAxisRect() 33 | { 34 | if(_discreteAxisRect == nullptr) 35 | { 36 | _discreteAxisRect = new QCPAxisRect(&_customPlot); 37 | _discreteXAxis = _discreteAxisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:38:50: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | void CorrelationPlotItem::configureDiscreteAxisRect() 33 | { 34 | if(_discreteAxisRect == nullptr) 35 | { 36 | _discreteAxisRect = new QCPAxisRect(&_customPlot); 37 | _discreteXAxis = _discreteAxisRect->axis(QCPAxis::atBottom); 38 | _discreteYAxis = _discreteAxisRect->axis(QCPAxis::atLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:42:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | axis->setLayer(u"axes"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:43:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | axis->grid()->setLayer(u"grid"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:54:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | std::vector columnTotals(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:54:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | std::vector columnTotals(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:55:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | std::vector> columnData(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:55:26: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::vector> columnData(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:55:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | std::vector> columnData(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:57:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:61:29: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 29 | for(auto row : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:63:24: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | const std::vector indices = _groupByAnnotation ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:63:31: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | const std::vector indices = _groupByAnnotation ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:64:55: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | _annotationGroupMap.at(column) : std::vector{_sortMap.at(column)}; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:64:62: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | _annotationGroupMap.at(column) : std::vector{_sortMap.at(column)}; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:68:81: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | const auto& value = _pluginInstance->discreteDataAt(static_cast(row), index); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:79:43: warning: no header providing "std::max_element" is directly included [misc-include-cleaner] 28 | auto maxY = static_cast(*std::max_element(columnTotals.begin(), columnTotals.end())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:83:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:86:9: warning: no header providing "QCPBars" is directly included [misc-include-cleaner] 29 | QCPBars* last = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:88:34: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | auto addBars = [&](const QString& value, double size, QColor color = {}) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:88:63: warning: no header providing "QColor" is directly included [misc-include-cleaner] 29 | auto addBars = [&](const QString& value, double size, QColor color = {}) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:90:30: warning: no header providing "QCPBars" is directly included [misc-include-cleaner] 29 | auto* bars = new QCPBars(_discreteXAxis, _discreteYAxis); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:107:26: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | bars->setPen(QPen(color.darker(150))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:124:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | size_t totalSize = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:128:35: warning: no header providing "u::keysFor" is directly included [misc-include-cleaner] 27 | const auto& keys = u::keysFor(m); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:133:64: warning: no header providing "Qt::black" is directly included [misc-include-cleaner] 29 | addBars(value, static_cast(totalSize), Qt::black); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:142:5: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 29 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:142:60: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 29 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:143:9: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 29 | Q_ARG(QCPAxis*, _discreteYAxis), Q_ARG(double, 0.0), Q_ARG(double, maxY)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:143:15: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 29 | Q_ARG(QCPAxis*, _discreteYAxis), Q_ARG(double, 0.0), Q_ARG(double, maxY)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:143:42: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 29 | Q_ARG(QCPAxis*, _discreteYAxis), Q_ARG(double, 0.0), Q_ARG(double, maxY)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:143:62: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 29 | Q_ARG(QCPAxis*, _discreteYAxis), Q_ARG(double, 0.0), Q_ARG(double, maxY)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:148:32: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _discreteXAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:149:32: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _discreteXAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:150:35: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _discreteXAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:156:32: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _discreteYAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:157:32: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _discreteYAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:158:35: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _discreteYAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:180:15: warning: no header providing "QSharedPointer" is directly included [misc-include-cleaner] 29 | const QSharedPointer categoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:180:30: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 29 | const QSharedPointer categoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:180:68: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 29 | const QSharedPointer categoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:182:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | for(size_t x = 0U; x < _pluginInstance->numDiscreteColumns(); x++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:194:49: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 29 | bool CorrelationPlotItem::discreteTooltip(const QCPAxisRect* axisRect, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:195:11: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 29 | const QCPAbstractPlottable* plottable, double xCoord) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_discrete.cpp:200:46: warning: no header providing "QCPBars" is directly included [misc-include-cleaner] 29 | if(const auto* bars = dynamic_cast(plottable)) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 38049 warnings generated. [62/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:22:1: warning: included header qcpcolumnannotations.h is not used directly [misc-include-cleaner] 22 | #include "qcpcolumnannotations.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:39:5: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | void CorrelationPlotItem::setContinousYAxisRange(double min, double max) 30 | { 31 | if(_includeYZero) 32 | { 33 | if(min > 0.0) 34 | min = 0.0; 35 | else if(max < 0.0) 36 | max = 0.0; 37 | } 38 | 39 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:39:60: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | void CorrelationPlotItem::setContinousYAxisRange(double min, double max) 30 | { 31 | if(_includeYZero) 32 | { 33 | if(min > 0.0) 34 | min = 0.0; 35 | else if(max < 0.0) 36 | max = 0.0; 37 | } 38 | 39 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:40:9: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | void CorrelationPlotItem::setContinousYAxisRange(double min, double max) 30 | { 31 | if(_includeYZero) 32 | { 33 | if(min > 0.0) 34 | min = 0.0; 35 | else if(max < 0.0) 36 | max = 0.0; 37 | } 38 | 39 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, 40 | Q_ARG(QCPAxis*, _continuousYAxis), Q_ARG(double, min), Q_ARG(double, max)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:40:15: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | void CorrelationPlotItem::setContinousYAxisRange(double min, double max) 30 | { 31 | if(_includeYZero) 32 | { 33 | if(min > 0.0) 34 | min = 0.0; 35 | else if(max < 0.0) 36 | max = 0.0; 37 | } 38 | 39 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, 40 | Q_ARG(QCPAxis*, _continuousYAxis), Q_ARG(double, min), Q_ARG(double, max)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:40:44: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | void CorrelationPlotItem::setContinousYAxisRange(double min, double max) 30 | { 31 | if(_includeYZero) 32 | { 33 | if(min > 0.0) 34 | min = 0.0; 35 | else if(max < 0.0) 36 | max = 0.0; 37 | } 38 | 39 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, 40 | Q_ARG(QCPAxis*, _continuousYAxis), Q_ARG(double, min), Q_ARG(double, max)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:40:64: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | void CorrelationPlotItem::setContinousYAxisRange(double min, double max) 30 | { 31 | if(_includeYZero) 32 | { 33 | if(min > 0.0) 34 | min = 0.0; 35 | else if(max < 0.0) 36 | max = 0.0; 37 | } 38 | 39 | QMetaObject::invokeMethod(_worker, "setAxisRange", Qt::QueuedConnection, 40 | Q_ARG(QCPAxis*, _continuousYAxis), Q_ARG(double, min), Q_ARG(double, max)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:45:12: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | switch(normaliseQmlEnum(_scaleType)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:47:49: warning: no header providing "std::log" is directly included [misc-include-cleaner] 26 | case PlotScaleType::Log: return std::log(value + _pluginInstance->continuousEpsilon()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:48:49: warning: no header providing "std::exp" is directly included [misc-include-cleaner] 26 | case PlotScaleType::AntiLog: return std::exp(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:57:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double minY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:58:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double maxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:60:25: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 26 | for(auto row : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:62:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t column = 0; column < _pluginInstance->numContinuousColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:64:72: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto value = _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:67:25: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | maxY = std::max(maxY, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:68:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | minY = std::min(minY, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:77:45: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | dispersionVisualType = static_cast(normaliseQmlEnum(dispersionVisualType)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:82:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:93:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:104:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:112:34: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | scaleType = static_cast(normaliseQmlEnum(scaleType)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:117:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:123:57: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | void CorrelationPlotItem::setScaleByAttributeName(const QString& attributeName) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:136:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:144:38: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | averagingType = static_cast(normaliseQmlEnum(averagingType)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:154:26: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | auto scaleType = normaliseQmlEnum(_scaleType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:168:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:174:59: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | void CorrelationPlotItem::setAveragingAttributeName(const QString& attributeName) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:179:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:193:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:199:63: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | void CorrelationPlotItem::setColorGroupByAnnotationName(const QString& annotationName) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:204:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:211:39: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | dispersionType = static_cast(normaliseQmlEnum(dispersionType)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:216:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:222:1: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector CorrelationPlotItem::meanAverageData(double& min, double& max, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:222:86: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector CorrelationPlotItem::meanAverageData(double& min, double& max, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:225:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector yDataAvg; yDataAvg.reserve(rows.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:227:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t column = 0; column < _pluginInstance->numContinuousColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:229:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector values; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:231:14: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 26 | std::transform(rows.begin(), rows.end(), std::back_inserter(values), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:231:55: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 26 | std::transform(rows.begin(), rows.end(), std::back_inserter(values), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:234:66: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | return _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:239:42: warning: no header providing "std::accumulate" is directly included [misc-include-cleaner] 26 | const double runningTotal = std::accumulate(values.begin(), values.end(), 0.0, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:247:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | max = std::max(max, yDataAvg.back()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:248:20: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | min = std::min(min, yDataAvg.back()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:256:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | const QString& nameTemplate, const QString& attributeName, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:256:40: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | const QString& nameTemplate, const QString& attributeName, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:257:11: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& selectedRows, Fn&& addPlotFn) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:257:44: warning: forwarding reference parameter 'addPlotFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 257 | const QVector& selectedRows, Fn&& addPlotFn) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:259:5: warning: no header providing "QMap" is directly included [misc-include-cleaner] 26 | QMap> map; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:259:10: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | QMap> map; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:259:19: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QMap> map; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:262:89: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const auto value = pluginInstance->attributeValueFor(attributeName, static_cast(selectedRow)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:281:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double minY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:282:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double maxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:285:32: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:285:53: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:285:74: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:288:23: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | graph->setPen(QPen(color, 2.0, Qt::DashLine)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:288:44: warning: no header providing "Qt::DashLine" is directly included [misc-include-cleaner] 26 | graph->setPen(QPen(color, 2.0, Qt::DashLine)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:291:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector xData(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:293:14: warning: no header providing "std::iota" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:293:24: warning: no header providing "std::begin" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:293:43: warning: no header providing "std::end" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:296:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector yDataAvg = meanAverageData(minY, maxY, rows); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:323:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double minY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:324:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double maxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:327:32: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:327:53: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:327:74: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:329:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 26 | Q_ASSERT(!rows.empty()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:332:23: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | graph->setPen(QPen(color, 2.0, Qt::DashLine)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:332:44: warning: no header providing "Qt::DashLine" is directly included [misc-include-cleaner] 26 | graph->setPen(QPen(color, 2.0, Qt::DashLine)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:335:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector xData(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:337:14: warning: no header providing "std::iota" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:337:24: warning: no header providing "std::begin" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:337:43: warning: no header providing "std::end" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:339:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector yDataAvg(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:341:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t column = 0; column < _pluginInstance->numContinuousColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:343:13: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector values; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:345:18: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 26 | std::transform(rows.begin(), rows.end(), std::back_inserter(values), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:345:59: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 26 | std::transform(rows.begin(), rows.end(), std::back_inserter(values), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:348:70: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | return _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:355:25: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | maxY = std::max(maxY, yDataAvg.at(static_cast(column))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:356:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | minY = std::min(minY, yDataAvg.at(static_cast(column))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:384:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double minY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:385:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double maxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:388:32: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:388:53: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:388:74: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | [this, &minY, &maxY](const QColor& color, const QString& name, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:390:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector xData(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:392:14: warning: no header providing "std::iota" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:392:24: warning: no header providing "std::begin" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:392:43: warning: no header providing "std::end" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:395:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector yDataAvg = meanAverageData(minY, maxY, rows); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:397:35: warning: no header providing "QCPBars" is directly included [misc-include-cleaner] 26 | auto* histogramBars = new QCPBars(_continuousXAxis, _continuousYAxis); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:400:31: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | histogramBars->setPen(QPen(color.darker(150))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:422:31: warning: no header providing "QCPBarsGroup" is directly included [misc-include-cleaner] 26 | auto* barsGroup = new QCPBarsGroup(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:423:35: warning: no header providing "QCPBarsGroup" is directly included [misc-include-cleaner] 26 | barsGroup->setSpacingType(QCPBarsGroup::stAbsolute); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:426:36: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 26 | for(auto* plottable : std::as_const(_meanPlots)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:428:39: warning: no header providing "QCPBars" is directly included [misc-include-cleaner] 26 | auto* bars = dynamic_cast(plottable); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:442:6: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 26 | std::pair CorrelationPlotItem::addIQRBoxPlotTo(QCPAxis* keyAxis, QCPAxis* valueAxis, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:442:64: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 26 | std::pair CorrelationPlotItem::addIQRBoxPlotTo(QCPAxis* keyAxis, QCPAxis* valueAxis, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:442:82: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 26 | std::pair CorrelationPlotItem::addIQRBoxPlotTo(QCPAxis* keyAxis, QCPAxis* valueAxis, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:443:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t column, QVector values, bool showOutliers, const QColor& color, const QString& text) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:443:20: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | size_t column, QVector values, bool showOutliers, const QColor& color, const QString& text) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:443:69: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | size_t column, QVector values, bool showOutliers, const QColor& color, const QString& text) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:443:90: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | size_t column, QVector values, bool showOutliers, const QColor& color, const QString& text) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:452:32: warning: no header providing "QCPStatisticalBox" is directly included [misc-include-cleaner] 26 | auto* statisticalBox = new QCPStatisticalBox(keyAxis, valueAxis); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:453:47: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | statisticalBox->setName(!text.isEmpty() ? QObject::tr("IQR of %1").arg(text) : QObject::tr("IQR")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:453:84: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | statisticalBox->setName(!text.isEmpty() ? QObject::tr("IQR of %1").arg(text) : QObject::tr("IQR")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:454:28: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | statisticalBox->setPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:455:35: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | statisticalBox->setWhiskerPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:456:38: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | statisticalBox->setWhiskerBarPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:457:34: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | statisticalBox->setMedianPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:467:10: warning: no header providing "std::nth_element" is directly included [misc-include-cleaner] 26 | std::nth_element(values.begin(), values.begin() + Q1, values.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:468:10: warning: no header providing "std::nth_element" is directly included [misc-include-cleaner] 26 | std::nth_element(values.begin() + Q1 + 1, values.begin() + Q2, values.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:469:10: warning: no header providing "std::nth_element" is directly included [misc-include-cleaner] 26 | std::nth_element(values.begin() + Q2 + 1, values.begin() + Q3, values.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:493:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector outliers; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:496:27: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 26 | for(auto value : std::as_const(values)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:500:29: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | maxValue = std::max(maxValue, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:503:29: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | minValue = std::min(minValue, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:515:24: warning: no header providing "std::minmax_element" is directly included [misc-include-cleaner] 26 | auto minmax = std::minmax_element(outliers.begin(), outliers.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:519:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const size_t maxOutliers = 100; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:520:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | if(static_cast(outliers.size()) > maxOutliers) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:533:25: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | minValue = std::min(minValue, minOutlier); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:534:25: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | maxValue = std::max(maxValue, maxOutlier); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:542:22: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | auto minY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:543:22: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | auto maxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:545:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t column = 0; column < _pluginInstance->numContinuousColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:547:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector values; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:549:41: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 26 | const auto& selectedRows = std::as_const(_selectedRows); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:550:14: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 26 | std::transform(selectedRows.begin(), selectedRows.end(), std::back_inserter(values), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:550:71: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 26 | std::transform(selectedRows.begin(), selectedRows.end(), std::back_inserter(values), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:553:66: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | return _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:558:88: warning: no header providing "std::move" is directly included [misc-include-cleaner] 26 | auto minmax = addIQRBoxPlotTo(_continuousXAxis, _continuousYAxis, column, std::move(values), _showIqrOutliers); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:559:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | minY = std::min(minY, minmax.first); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:560:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | maxY = std::max(maxY, minmax.second); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:566:42: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 26 | void CorrelationPlotItem::plotDispersion(QCPAbstractPlottable* meanPlot, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:568:11: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& stdDevs, const QString& name = tr("Deviation")) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:568:43: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | const QVector& stdDevs, const QString& name = tr("Deviation")) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:570:23: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | auto visualType = normaliseQmlEnum(_dispersionVisualType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:573:32: warning: no header providing "QCPErrorBars" is directly included [misc-include-cleaner] 26 | auto* stdDevBars = new QCPErrorBars(_continuousXAxis, _continuousYAxis); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:575:40: warning: no header providing "QCP::SelectionType" is directly included [misc-include-cleaner] 26 | stdDevBars->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:575:55: warning: no header providing "QCP::stNone" is directly included [misc-include-cleaner] 26 | stdDevBars->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:579:28: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | stdDevBars->setPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:583:28: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 26 | auto* devTop = new QCPGraph(_continuousXAxis, _continuousYAxis); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:584:31: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 26 | auto* devBottom = new QCPGraph(_continuousXAxis, _continuousYAxis); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:594:26: warning: no header providing "QBrush" is directly included [misc-include-cleaner] 26 | devTop->setBrush(QBrush(fillColour)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:595:24: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | devTop->setPen(QPen(penColour)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:597:27: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | devBottom->setPen(QPen(penColour)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:599:39: warning: no header providing "QCP::SelectionType" is directly included [misc-include-cleaner] 26 | devBottom->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:599:54: warning: no header providing "QCP::stNone" is directly included [misc-include-cleaner] 26 | devBottom->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:600:36: warning: no header providing "QCP::SelectionType" is directly included [misc-include-cleaner] 26 | devTop->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:600:51: warning: no header providing "QCP::stNone" is directly included [misc-include-cleaner] 26 | devTop->setSelectable(QCP::SelectionType::stNone); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:602:23: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | auto topErr = QVector(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:603:26: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | auto bottomErr = QVector(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:612:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector xData(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:613:14: warning: no header providing "std::iota" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:613:24: warning: no header providing "std::begin" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:613:43: warning: no header providing "std::end" is directly included [misc-include-cleaner] 26 | std::iota(std::begin(xData), std::end(xData), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:621:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | minY = std::min(minY, meanPlot->interface1D()->dataMainValue(i) - stdDevs[i]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:622:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | maxY = std::max(maxY, meanPlot->interface1D()->dataMainValue(i) + stdDevs[i]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:626:46: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 26 | void CorrelationPlotItem::populateStdDevPlot(QCPAbstractPlottable* meanPlot, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:628:11: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& rows, QVector& means) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:628:31: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& rows, QVector& means) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:630:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector stdDevs(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:632:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t column = 0; column < _pluginInstance->numContinuousColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:637:72: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto value = _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:645:23: warning: no header providing "std::sqrt" is directly included [misc-include-cleaner] 26 | stdDev = std::sqrt(stdDev); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:652:48: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 26 | void CorrelationPlotItem::populateStdErrorPlot(QCPAbstractPlottable* meanPlot, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:654:11: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& rows, QVector& means) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:654:31: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& rows, QVector& means) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:656:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector stdErrs(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:658:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t column = 0; column < _pluginInstance->numContinuousColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:663:72: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto value = _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:671:23: warning: no header providing "std::sqrt" is directly included [misc-include-cleaner] 26 | stdErr = std::sqrt(stdErr) / std::sqrt(static_cast(rows.length())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:671:43: warning: no header providing "std::sqrt" is directly included [misc-include-cleaner] 26 | stdErr = std::sqrt(stdErr) / std::sqrt(static_cast(rows.length())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:678:46: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 26 | void CorrelationPlotItem::populateDispersion(QCPAbstractPlottable* meanPlot, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:680:11: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& rows, QVector& means) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:680:31: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | const QVector& rows, QVector& means) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:685:26: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | auto averagingType = normaliseQmlEnum(_averagingType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:686:27: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | auto dispersionType = normaliseQmlEnum(_dispersionType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:699:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double minY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:700:24: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double maxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:702:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector yData; yData.reserve(_selectedRows.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:703:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 26 | QVector xData; xData.reserve(static_cast(_pluginInstance->numContinuousColumns())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:706:25: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 26 | for(auto row : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:708:9: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 26 | QCPGraph* graph = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:709:31: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double rowMinY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:710:31: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 26 | double rowMaxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:718:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t col = 0; col < _pluginInstance->numContinuousColumns(); col++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:719:73: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | rowSum += _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(col)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:724:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t col = 0; col < _pluginInstance->numContinuousColumns(); col++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:726:76: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto value = _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(col)) - rowMean; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:731:40: warning: no header providing "std::sqrt" is directly included [misc-include-cleaner] 26 | const double stdDev = std::sqrt(variance); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:732:40: warning: no header providing "std::sqrt" is directly included [misc-include-cleaner] 26 | const double pareto = std::sqrt(stdDev); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:736:16: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | if(normaliseQmlEnum(_scaleType) == PlotScaleType::ByAttribute && !_scaleByAttributeName.isEmpty()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:738:37: warning: no header providing "u::toNumber" is directly included [misc-include-cleaner] 26 | attributeValue = u::toNumber(_pluginInstance->attributeValueFor(_scaleByAttributeName, static_cast(row))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:738:116: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | attributeValue = u::toNumber(_pluginInstance->attributeValueFor(_scaleByAttributeName, static_cast(row))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:740:51: warning: no header providing "std::isfinite" is directly included [misc-include-cleaner] 26 | if(attributeValue == 0.0 || !std::isfinite(attributeValue)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:747:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t col = 0; col < _pluginInstance->numContinuousColumns(); col++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:749:76: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto value = _pluginInstance->continuousDataAt(static_cast(row), _sortMap.at(col)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:751:24: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | switch(normaliseQmlEnum(_scaleType)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:778:32: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | rowMinY = std::min(rowMinY, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:779:32: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | rowMaxY = std::max(rowMaxY, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:794:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | minY = std::min(minY, rowMinY); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:795:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | maxY = std::max(maxY, rowMaxY); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:798:35: warning: no header providing "QCP::SelectionType" is directly included [misc-include-cleaner] 26 | graph->setSelectable(QCP::SelectionType::stWhole); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:798:50: warning: no header providing "QCP::stWhole" is directly included [misc-include-cleaner] 26 | graph->setSelectable(QCP::SelectionType::stWhole); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:800:68: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | graph->setPen(_pluginInstance->nodeColorForRow(static_cast(row))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:801:61: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | graph->setName(_pluginInstance->rowName(static_cast(row))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:811:35: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 26 | _continuousAxisRect = new QCPAxisRect(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:812:54: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 26 | _continuousXAxis = _continuousAxisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:813:54: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 26 | _continuousYAxis = _continuousAxisRect->axis(QCPAxis::atLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:817:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | axis->setLayer(u"axes"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:818:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | axis->grid()->setLayer(u"grid"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:824:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | _customPlot.addLayer(u"lineGraphLayer"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:825:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | _lineGraphLayer = _customPlot.layer(u"lineGraphLayer"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:831:41: warning: no header providing "QCPColorMap" is directly included [misc-include-cleaner] 26 | auto* selectedColumnsColorMap = new QCPColorMap(_continuousXAxis, _continuousYAxis); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:833:5: warning: no header providing "QCPColorGradient" is directly included [misc-include-cleaner] 26 | QCPColorGradient gradient; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:834:34: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | gradient.setColorStopAt(0.0, QColor(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:834:45: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 26 | gradient.setColorStopAt(0.0, QColor(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:835:27: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 26 | auto highlightColor = QApplication::palette().highlight().color(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:844:47: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | selectedColumnsColorMap->data()->setRange(QCPRange(0, numColumns - 1), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:845:9: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | QCPRange(-QCPRange::maxRange, QCPRange::maxRange)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:845:19: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | QCPRange(-QCPRange::maxRange, QCPRange::maxRange)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:845:39: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | QCPRange(-QCPRange::maxRange, QCPRange::maxRange)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:847:43: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | selectedColumnsColorMap->setDataRange(QCPRange(0.0, 1.0)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:852:63: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | _selectedColumns.contains(_sortMap.at(static_cast(column))) ? 1.0 : 0.0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:855:30: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | auto plotAveragingType = normaliseQmlEnum(_averagingType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:872:34: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | _continuousXAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:873:34: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | _continuousXAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:874:37: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | _continuousXAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:880:34: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | _continuousYAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:881:34: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | _continuousYAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:882:37: warning: no header providing "QPen" is directly included [misc-include-cleaner] 26 | _continuousYAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:904:15: warning: no header providing "QSharedPointer" is directly included [misc-include-cleaner] 26 | const QSharedPointer categoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:904:30: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 26 | const QSharedPointer categoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:904:68: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 26 | const QSharedPointer categoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:906:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t x = 0U; x < _pluginInstance->numContinuousColumns(); x++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:918:51: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 26 | bool CorrelationPlotItem::continuousTooltip(const QCPAxisRect* axisRect, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:919:11: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 26 | const QCPAbstractPlottable* plottable, double xCoord) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:924:47: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 26 | if(const auto* graph = dynamic_cast(plottable)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:926:42: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 26 | _itemTracer->setGraph(const_cast(graph)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:931:46: warning: no header providing "QCPBars" is directly included [misc-include-cleaner] 26 | if(const auto* bars = dynamic_cast(plottable)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_continuous.cpp:937:49: warning: no header providing "QCPStatisticalBox" is directly included [misc-include-cleaner] 26 | if(const auto* boxPlot = dynamic_cast(plottable)) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 38471 warnings generated. [63/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:28:1: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | QCPAxis* CorrelationPlotItem::configureColumnAnnotations(QCPAxisRect* axisRect) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:28:58: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | QCPAxis* CorrelationPlotItem::configureColumnAnnotations(QCPAxisRect* axisRect) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:30:34: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | QCPAxis* CorrelationPlotItem::configureColumnAnnotations(QCPAxisRect* axisRect) 29 | { 30 | auto* xAxis = axisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:32:37: warning: no header providing "QCPLayoutGrid" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | QCPAxis* CorrelationPlotItem::configureColumnAnnotations(QCPAxisRect* axisRect) 29 | { 30 | auto* xAxis = axisRect->axis(QCPAxis::atBottom); 31 | 32 | auto* layoutGrid = dynamic_cast(axisRect->layout()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:33:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | QCPAxis* CorrelationPlotItem::configureColumnAnnotations(QCPAxisRect* axisRect) 29 | { 30 | auto* xAxis = axisRect->axis(QCPAxis::atBottom); 31 | 32 | auto* layoutGrid = dynamic_cast(axisRect->layout()); 33 | Q_ASSERT(layoutGrid != nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:43:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(layoutColumn < layoutGrid->columnCount()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:58:39: warning: no header providing "QCP::msLeft" is directly included [misc-include-cleaner] 25 | axisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msTop|QCP::msBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:58:51: warning: no header providing "QCP::msRight" is directly included [misc-include-cleaner] 25 | axisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msTop|QCP::msBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:58:64: warning: no header providing "QCP::msTop" is directly included [misc-include-cleaner] 25 | axisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msTop|QCP::msBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:58:75: warning: no header providing "QCP::msBottom" is directly included [misc-include-cleaner] 25 | axisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msTop|QCP::msBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:60:39: warning: no header providing "QCP::msLeft" is directly included [misc-include-cleaner] 25 | axisRect->setMarginGroup(QCP::msLeft|QCP::msRight, nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:60:51: warning: no header providing "QCP::msRight" is directly included [misc-include-cleaner] 25 | axisRect->setMarginGroup(QCP::msLeft|QCP::msRight, nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:66:5: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | QCPAxisRect* columnAnnotationsAxisRect = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:70:41: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect = new QCPAxisRect(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:75:50: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect = dynamic_cast(layoutElement); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:76:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(columnAnnotationsAxisRect != nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:80:35: warning: no header providing "QCP::msLeft" is directly included [misc-include-cleaner] 25 | axisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msTop); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:80:47: warning: no header providing "QCP::msRight" is directly included [misc-include-cleaner] 25 | axisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msTop); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:80:60: warning: no header providing "QCP::msTop" is directly included [misc-include-cleaner] 25 | axisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msTop); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:81:26: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 25 | axisRect->setMargins(QMargins(0, 0, 0, separation)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:82:52: warning: no header providing "QCP::msLeft" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:82:64: warning: no header providing "QCP::msRight" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:82:77: warning: no header providing "QCP::msBottom" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect->setAutoMargins(QCP::msLeft|QCP::msRight|QCP::msBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:86:23: warning: no header providing "QCPMarginGroup" is directly included [misc-include-cleaner] 25 | auto* group = new QCPMarginGroup(&_customPlot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:87:35: warning: no header providing "QCP::msLeft" is directly included [misc-include-cleaner] 25 | axisRect->setMarginGroup(QCP::msLeft|QCP::msRight, group); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:87:47: warning: no header providing "QCP::msRight" is directly included [misc-include-cleaner] 25 | axisRect->setMarginGroup(QCP::msLeft|QCP::msRight, group); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:88:52: warning: no header providing "QCP::msLeft" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect->setMarginGroup(QCP::msLeft|QCP::msRight, group); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:88:64: warning: no header providing "QCP::msRight" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect->setMarginGroup(QCP::msLeft|QCP::msRight, group); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:92:53: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 25 | auto* caXAxis = columnAnnotationsAxisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:93:53: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 25 | auto* caYAxis = columnAnnotationsAxisRect->axis(QCPAxis::atLeft); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:97:47: warning: no header providing "QWIDGETSIZE_MAX" is directly included [misc-include-cleaner] 25 | columnAnnotationsAxisRect->setMaximumSize(QWIDGETSIZE_MAX, h); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:99:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | const size_t numColumnAnnotations = numVisibleColumnAnnotations(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:103:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t y = numColumnAnnotations - 1; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:104:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t offset = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:124:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:124:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:135:68: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 19 | forEachColumnAnnotation([&indices, qcpColumnAnnotations](const ColumnAnnotation& columnAnnotation, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:136:24: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | bool selected, size_t y, size_t offset) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:136:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | bool selected, size_t y, size_t offset) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:152:70: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 19 | forEachColumnAnnotation([this, columnAnnotationTicker](const ColumnAnnotation& columnAnnotation, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:153:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | bool selected, size_t y, size_t) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:153:38: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | bool selected, size_t y, size_t) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:155:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString prefix; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:156:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString postfix; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:161:29: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 25 | auto type = normaliseQmlEnum(columnSortOrder[u"type"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:161:89: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | auto type = normaliseQmlEnum(columnSortOrder[u"type"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:162:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | auto text = columnSortOrder[u"text"_s].toString(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:163:46: warning: no header providing "Qt::SortOrder" is directly included [misc-include-cleaner] 25 | auto order = static_cast(columnSortOrder[u"order"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:163:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | auto order = static_cast(columnSortOrder[u"order"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:167:44: warning: no header providing "Qt::AscendingOrder" is directly included [misc-include-cleaner] 25 | prefix += order == Qt::AscendingOrder ? u"▷ "_s : u"◁ "_s; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:167:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | prefix += order == Qt::AscendingOrder ? u"▷ "_s : u"◁ "_s; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:167:80: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | prefix += order == Qt::AscendingOrder ? u"▷ "_s : u"◁ "_s; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:172:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | postfix += selected ? u" ☑"_s : u" ☐"_s; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:172:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | postfix += selected ? u" ☑"_s : u" ☐"_s; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:187:25: warning: no header providing "QPen" is directly included [misc-include-cleaner] 25 | caXAxis->setTickPen(QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:187:34: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 25 | caXAxis->setTickPen(QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:188:25: warning: no header providing "QPen" is directly included [misc-include-cleaner] 25 | caXAxis->setBasePen(QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:188:34: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 25 | caXAxis->setBasePen(QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:189:25: warning: no header providing "QPen" is directly included [misc-include-cleaner] 25 | caYAxis->setBasePen(QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:189:34: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 25 | caYAxis->setBasePen(QPen(Qt::transparent)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:203:22: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | auto minY = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:204:22: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | auto maxY = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:206:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t column = 0; column < _annotationGroupMap.size(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:208:9: warning: no header providing "QVector" is directly included [misc-include-cleaner] 25 | QVector values; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:210:29: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 25 | for(auto row : std::as_const(_selectedRows)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:212:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(const size_t groupedColumn : _annotationGroupMap.at(column)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:213:77: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | values.append(_pluginInstance->continuousDataAt(static_cast(row), groupedColumn)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:218:9: warning: no header providing "QColor" is directly included [misc-include-cleaner] 25 | QColor color; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:219:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString value; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:229:18: warning: no header providing "std::move" is directly included [misc-include-cleaner] 25 | std::move(values), _showIqrOutliers, color, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:231:21: warning: no header providing "std::min" is directly included [misc-include-cleaner] 25 | minY = std::min(minY, minmax.first); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:232:21: warning: no header providing "std::max" is directly included [misc-include-cleaner] 25 | maxY = std::max(maxY, minmax.second); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:238:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList CorrelationPlotItem::visibleColumnAnnotationNames() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:240:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList list; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:249:65: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | void CorrelationPlotItem::setVisibleColumnAnnotationNames(const QStringList& columnAnnotations) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:251:16: warning: no header providing "std::set" is directly included [misc-include-cleaner] 25 | const std::set newVisibleColumnAnnotationNames(columnAnnotations.begin(), columnAnnotations.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:251:20: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | const std::set newVisibleColumnAnnotationNames(columnAnnotations.begin(), columnAnnotations.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:256:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit visibleColumnAnnotationNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:265:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit visibleColumnAnnotationNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:266:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:274:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit visibleColumnAnnotationNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:275:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:279:55: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | void CorrelationPlotItem::showColumnAnnotations(const QStringList& annotations) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:283:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_pluginInstance->columnAnnotationNames().contains(annotation)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:287:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit visibleColumnAnnotationNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:288:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:292:55: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | void CorrelationPlotItem::hideColumnAnnotations(const QStringList& annotations) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:296:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_visibleColumnAnnotationNames.contains(annotation)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:300:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit visibleColumnAnnotationNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:301:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:307:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:318:21: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 25 | auto plotMode = normaliseQmlEnum(plotModeInt); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:323:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit plotModeChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:330:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit plotOptionsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:336:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit selectedColumnsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:343:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t CorrelationPlotItem::numVisibleColumnAnnotations() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:351:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString CorrelationPlotItem::columnAnnotationValueAt(size_t x, size_t y) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:351:54: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | QString CorrelationPlotItem::columnAnnotationValueAt(size_t x, size_t y) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:351:64: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | QString CorrelationPlotItem::columnAnnotationValueAt(size_t x, size_t y) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:355:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | struct RowIndex { size_t _index; bool _enabled; }; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:356:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector visibleRowIndices; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:359:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t index = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:375:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t column; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:384:18: warning: no header providing "std::set" is directly included [misc-include-cleaner] 25 | std::set uniqueValues; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:384:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | std::set uniqueValues; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:408:61: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | bool CorrelationPlotItem::axisRectIsColumnAnnotations(const QCPAxisRect* axisRect) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:430:1: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 25 | QPoint CorrelationPlotItem::columnAnnotationPositionForPixel(const QCPAxisRect* axisRect, const QPointF& position) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:430:68: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | QPoint CorrelationPlotItem::columnAnnotationPositionForPixel(const QCPAxisRect* axisRect, const QPointF& position) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:430:97: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 25 | QPoint CorrelationPlotItem::columnAnnotationPositionForPixel(const QCPAxisRect* axisRect, const QPointF& position) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:432:39: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 25 | auto* bottomAxis = axisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:447:57: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | bool CorrelationPlotItem::columnAnnotationTooltip(const QCPAxisRect* axisRect) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:461:53: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | auto text = columnAnnotationValueAt(static_cast(p.x()), static_cast(p.y())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:461:81: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | auto text = columnAnnotationValueAt(static_cast(p.x()), static_cast(p.y())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:471:57: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 25 | void CorrelationPlotItem::onClickColumnAnnotation(const QCPAxisRect* axisRect, const QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:471:86: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 25 | void CorrelationPlotItem::onClickColumnAnnotation(const QCPAxisRect* axisRect, const QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:473:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector columnAnnotations; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:473:23: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 19 | std::vector columnAnnotations; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:474:10: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 25 | std::transform(_pluginInstance->columnAnnotations().begin(), _pluginInstance->columnAnnotations().end(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:475:14: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 25 | std::back_inserter(columnAnnotations), [](const auto& v) { return &v; }); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:480:38: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 25 | columnAnnotations.erase(std::remove_if(columnAnnotations.begin(), columnAnnotations.end(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:494:57: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | const auto& name = columnAnnotations.at(static_cast(p.y()))->name(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:535:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | static_cast(p.x()), *columnAnnotations.at(static_cast(p.y()))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:535:75: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | static_cast(p.x()), *columnAnnotations.at(static_cast(p.y()))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:537:61: warning: no header providing "Qt::ControlModifier" is directly included [misc-include-cleaner] 25 | const bool toggle = event->modifiers().testFlag(Qt::ControlModifier); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:542:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:542:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:544:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t i = rect->_x; i < rect->_x + rect->_width; i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:555:36: warning: no header providing "std::all_of" is directly included [misc-include-cleaner] 25 | const bool selected = std::all_of(indices.begin(), indices.end(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:556:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | [this](size_t index) { return _selectedColumns.contains(index); }); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:566:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit selectedColumnsChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 38245 warnings generated. [64/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:21:1: warning: included header QDesktopServices is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:22:1: warning: included header QUrl is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:23:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:59:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit taskAdded(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:63:11: warning: no header providing "CorrelationPlotItem" is directly included [misc-include-cleaner] 20 | const CorrelationPlotItem& correlationPlotItem, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:64:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString& baseFilename, const QString& extension) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:64:40: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString& baseFilename, const QString& extension) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:69:37: warning: no header providing "CorrelationPlotItem" is directly included [misc-include-cleaner] 20 | connect(&_correlationPlotItem, &CorrelationPlotItem::pixmapUpdated, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:72:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 24 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:72:37: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 24 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:74:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(!_images.empty()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:77:18: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 24 | std::cerr << "_images empty when saving plot image"; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:82:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString filename; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:83:9: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 24 | QUrl target; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:85:15: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 24 | const QFileInfo fileInfo(_baseFilename); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:86:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const QString extensionlessBaseFilename = | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:87:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString::compare(fileInfo.suffix(), _extension, Qt::CaseInsensitive) == 0 ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:87:65: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 24 | QString::compare(fileInfo.suffix(), _extension, Qt::CaseInsensitive) == 0 ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:92:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 20 | filename = u"%1/%2-%3.%4"_s | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:95:22: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 24 | target = QUrl::fromLocalFile(fileInfo.dir().path()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:99:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 20 | filename = u"%1/%2.%3"_s | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:102:22: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 24 | target = QUrl::fromLocalFile(filename); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:113:13: warning: no header providing "QDesktopServices" is directly included [misc-include-cleaner] 24 | QDesktopServices::openUrl(target); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:124:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 24 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:124:27: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 24 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:127:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(!_images.empty()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:142:67: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void CorrelationPlotSaveImageCommand::addImageConfiguration(const QString& label, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:142:89: warning: no header providing "QVector" is directly included [misc-include-cleaner] 24 | void CorrelationPlotSaveImageCommand::addImageConfiguration(const QString& label, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 37929 warnings generated. [65/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:32:1: warning: included header threadpool.h is not used directly [misc-include-cleaner] 32 | #include "shared/utils/threadpool.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | #include "shared/utils/iterator_range.h" /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:33:1: warning: included header iterator_range.h is not used directly [misc-include-cleaner] 33 | #include "shared/utils/iterator_range.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | #include "shared/utils/container.h" /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:35:1: warning: included header random.h is not used directly [misc-include-cleaner] 35 | #include "shared/utils/random.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | #include "shared/utils/string.h" /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:44:1: warning: included header xlsxtabulardataparser.h is not used directly [misc-include-cleaner] 44 | #include "shared/loading/xlsxtabulardataparser.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:48:1: warning: included header QDir is not used directly [misc-include-cleaner] 48 | #include | ^~~~~~~~~~~~~~~ 49 | /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:56:19: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] 51 | 52 | using namespace Qt::Literals::StringLiterals; 53 | 54 | CorrelationPluginInstance::CorrelationPluginInstance() 55 | { 56 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:56:48: warning: no header providing "SLOT" is directly included [misc-include-cleaner] 51 | 52 | using namespace Qt::Literals::StringLiterals; 53 | 54 | CorrelationPluginInstance::CorrelationPluginInstance() 55 | { 56 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:57:19: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] 51 | 52 | using namespace Qt::Literals::StringLiterals; 53 | 54 | CorrelationPluginInstance::CorrelationPluginInstance() 55 | { 56 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); 57 | connect(this, SIGNAL(selectionChanged(const ISelectionManager*)), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:58:15: warning: no header providing "SLOT" is directly included [misc-include-cleaner] 51 | 52 | using namespace Qt::Literals::StringLiterals; 53 | 54 | CorrelationPluginInstance::CorrelationPluginInstance() 55 | { 56 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); 57 | connect(this, SIGNAL(selectionChanged(const ISelectionManager*)), 58 | this, SLOT(onSelectionChanged(const ISelectionManager*)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:58:71: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 51 | 52 | using namespace Qt::Literals::StringLiterals; 53 | 54 | CorrelationPluginInstance::CorrelationPluginInstance() 55 | { 56 | connect(this, SIGNAL(loadSuccess()), this, SLOT(onLoadSuccess())); 57 | connect(this, SIGNAL(selectionChanged(const ISelectionManager*)), 58 | this, SLOT(onSelectionChanged(const ISelectionManager*)), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:61:50: warning: no header providing "IPlugin" is directly included [misc-include-cleaner] 32 | void CorrelationPluginInstance::initialise(const IPlugin* plugin, IDocument* document, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:61:67: warning: no header providing "IDocument" is directly included [misc-include-cleaner] 32 | void CorrelationPluginInstance::initialise(const IPlugin* plugin, IDocument* document, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:62:50: warning: no header providing "IParserThread" is directly included [misc-include-cleaner] 32 | const IParserThread* parserThread) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:64:5: warning: no header providing "BasePluginInstance" is directly included [misc-include-cleaner] 32 | BasePluginInstance::initialise(plugin, document, parserThread); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:69:31: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 51 | _correlationValues = std::make_unique>(_graphModel->mutableGraph()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:69:43: warning: no header providing "EdgeArray" is directly included [misc-include-cleaner] 30 | _correlationValues = std::make_unique>(_graphModel->mutableGraph()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:71:20: warning: no header providing "BasePluginInstance" is directly included [misc-include-cleaner] 32 | connect(this, &BasePluginInstance::attributesChanged, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:73:20: warning: no header providing "BasePluginInstance" is directly included [misc-include-cleaner] 32 | connect(this, &BasePluginInstance::attributesChanged, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:77:52: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 32 | bool CorrelationPluginInstance::loadUserData(const TabularData& tabularData, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:78:11: warning: no header providing "QRect" is directly included [misc-include-cleaner] 51 | const QRect& dataRect, IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:78:28: warning: no header providing "IParser" is directly included [misc-include-cleaner] 32 | const QRect& dataRect, IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:82:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 51 | qDebug() << "tabularData has no row or column names!"; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:92:11: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | const uint64_t numDataPoints = static_cast(tabularData.numColumns()) * tabularData.numRows(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:92:48: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | const uint64_t numDataPoints = static_cast(tabularData.numColumns()) * tabularData.numRows(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:93:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | const size_t numColumns = _numContinuousColumns + _numDiscreteColumns; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:94:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto left = static_cast(dataRect.x()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:95:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto right = static_cast(dataRect.x()) + static_cast(dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:95:66: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto right = static_cast(dataRect.x()) + static_cast(dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:96:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto top = static_cast(dataRect.y()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:97:31: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto bottom = static_cast(dataRect.y()) + static_cast(dataRect.height()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:97:67: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto bottom = static_cast(dataRect.y()) + static_cast(dataRect.height()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:100:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector rowAttributeColumnNames(left); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:100:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | std::vector rowAttributeColumnNames(left); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:101:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t columnIndex = 0; columnIndex < left; columnIndex++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:108:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t rowIndex = 0; rowIndex < tabularData.numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:110:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t columnIndex = 0; columnIndex < tabularData.numColumns(); columnIndex++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:115:19: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | const uint64_t rowOffset = static_cast(rowIndex) * tabularData.numColumns(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:115:52: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | const uint64_t rowOffset = static_cast(rowIndex) * tabularData.numColumns(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:116:19: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | const uint64_t dataPoint = columnIndex + rowOffset; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:122:19: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | const size_t dataColumnIndex = columnIndex - static_cast(dataRect.x()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:122:70: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | const size_t dataColumnIndex = columnIndex - static_cast(dataRect.x()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:123:19: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | const size_t dataRowIndex = rowIndex - static_cast(dataRect.y()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:123:64: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | const size_t dataRowIndex = rowIndex - static_cast(dataRect.y()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:132:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 51 | qDebug() << QString("WARNING: Attempting to set data at coordinate (%1, %2) in " | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:132:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | qDebug() << QString("WARNING: Attempting to set data at coordinate (%1, %2) in " | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:159:22: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:159:43: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:167:25: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(success); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:171:44: warning: no header providing "CorrelationFileParser" is directly included [misc-include-cleaner] 30 | transformedValue = CorrelationFileParser::imputeValue(_missingDataType, _missingDataReplacementValue, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:177:21: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(index < _continuousData.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:182:22: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:182:43: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:185:21: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(index < _discreteData.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:198:5: warning: no header providing "CorrelationFileParser" is directly included [misc-include-cleaner] 30 | CorrelationFileParser::clipValues(_clippingType, _clippingValue, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:199:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | static_cast(dataRect.width()), _continuousData); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:201:26: warning: no header providing "CorrelationFileParser" is directly included [misc-include-cleaner] 30 | _continuousEpsilon = CorrelationFileParser::epsilonFor(_continuousData); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:202:10: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 46 | std::transform(_continuousData.begin(), _continuousData.end(), _continuousData.begin(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:205:16: warning: no header providing "CorrelationFileParser" is directly included [misc-include-cleaner] 30 | return CorrelationFileParser::scaleValue(_scalingType, value, _continuousEpsilon); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:215:43: warning: no header providing "IParser" is directly included [misc-include-cleaner] 32 | void CorrelationPluginInstance::normalise(IParser* parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:217:5: warning: no header providing "CorrelationFileParser" is directly included [misc-include-cleaner] 30 | CorrelationFileParser::normalise(_normaliseType, _continuousDataRows, parser); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:228:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t row = 0; row < _numRows; row++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:240:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | size_t columnIndex = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:241:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | std::map dataValueAttributeColumn; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:241:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | std::map dataValueAttributeColumn; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:252:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString correlationAttributeDescription; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:254:32: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | auto correlationDataType = normaliseQmlEnum(_correlationDataType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:254:49: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | auto correlationDataType = normaliseQmlEnum(_correlationDataType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:258:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:258:31: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:261:63: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this, dataValueAttributeColumn](NodeId nodeId, const IAttribute& attribute) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:273:38: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setStringValueFn([this](NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:284:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](NodeId nodeId) { return continuousDataRowForNodeId(nodeId).mean(); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:290:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](NodeId nodeId) { return continuousDataRowForNodeId(nodeId).minValue(); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:296:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](NodeId nodeId) { return continuousDataRowForNodeId(nodeId).maxValue(); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:302:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](NodeId nodeId) { return continuousDataRowForNodeId(nodeId).variance(); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:309:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](NodeId nodeId) { return continuousDataRowForNodeId(nodeId).stddev(); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:316:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](NodeId nodeId) { return continuousDataRowForNodeId(nodeId).coefVar(); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:317:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setValueMissingFn([this](NodeId nodeId) { return std::isnan(continuousDataRowForNodeId(nodeId).coefVar()); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:317:68: warning: no header providing "std::isnan" is directly included [misc-include-cleaner] 46 | .setValueMissingFn([this](NodeId nodeId) { return std::isnan(continuousDataRowForNodeId(nodeId).coefVar()); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:329:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:329:31: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:332:64: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | .setStringValueFn([this, dataValueAttributeColumn](NodeId nodeId, const IAttribute& attribute) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:336:28: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | return QString(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:350:33: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](EdgeId edgeId) { return _correlationValues->get(edgeId); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:354:32: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | auto correlationPolarity = normaliseQmlEnum(_correlationPolarity); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:354:49: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | auto correlationPolarity = normaliseQmlEnum(_correlationPolarity); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:357:10: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Negative: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:357:31: warning: no header providing "CorrelationPolarity_reflector::Enum::Negative" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Negative: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:358:10: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Both: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:358:31: warning: no header providing "CorrelationPolarity_reflector::Enum::Both" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Both: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:362:37: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 30 | .setFloatValueFn([this](EdgeId edgeId) { return std::abs(_correlationValues->get(edgeId)); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:362:66: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 46 | .setFloatValueFn([this](EdgeId edgeId) { return std::abs(_correlationValues->get(edgeId)); }) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:372:58: warning: no header providing "QVector" is directly included [misc-include-cleaner] 51 | void CorrelationPluginInstance::setHighlightedRows(const QVector& highlightedRows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:379:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 30 | NodeIdSet highlightedNodeIds; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:382:81: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto nodeId = _graphModel->userNodeData().elementIdForIndex(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:388:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 51 | emit highlightedRowsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:391:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList CorrelationPluginInstance::sharedValuesAttributeNames() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:397:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 30 | attribute.elementType() == ElementType::Node && | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:397:53: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 30 | attribute.elementType() == ElementType::Node && | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:404:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList CorrelationPluginInstance::numericalAttributeNames() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:410:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 30 | attribute.elementType() == ElementType::Node && | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:410:53: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 30 | attribute.elementType() == ElementType::Node && | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:411:37: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 30 | attribute.valueType() & ValueType::Numerical; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:411:48: warning: no header providing "ValueType_reflector::Enum::Numerical" is directly included [misc-include-cleaner] 30 | attribute.valueType() & ValueType::Numerical; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:417:1: warning: no header providing "EdgeList" is directly included [misc-include-cleaner] 30 | EdgeList CorrelationPluginInstance::correlation(IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:417:49: warning: no header providing "IParser" is directly included [misc-include-cleaner] 32 | EdgeList CorrelationPluginInstance::correlation(IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:419:32: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | auto correlationDataType = normaliseQmlEnum(_correlationDataType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:419:49: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | auto correlationDataType = normaliseQmlEnum(_correlationDataType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:423:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:423:31: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:428:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | {u"minimumThreshold"_s, _minimumThreshold}, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:429:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | {u"maximumK"_s, static_cast(_maximumK)}, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:429:45: warning: no header providing "uint" is directly included [misc-include-cleaner] 51 | {u"maximumK"_s, static_cast(_maximumK)}, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:430:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | {u"correlationPolarity"_s, static_cast(_correlationPolarity)} | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:434:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:434:31: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:439:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | {u"minimumThreshold"_s, _minimumThreshold}, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:440:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | {u"maximumK"_s, static_cast(_maximumK)}, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:440:45: warning: no header providing "uint" is directly included [misc-include-cleaner] 51 | {u"maximumK"_s, static_cast(_maximumK)}, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:441:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | {u"treatAsBinary"_s, _treatAsBinary} | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:449:51: warning: no header providing "EdgeList" is directly included [misc-include-cleaner] 30 | bool CorrelationPluginInstance::createEdges(const EdgeList& edges, IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:449:68: warning: no header providing "IParser" is directly included [misc-include-cleaner] 32 | bool CorrelationPluginInstance::createEdges(const EdgeList& edges, IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:457:50: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 46 | parser.setProgress(static_cast(std::distance(edges.begin(), edgeIt)) * 100 / | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:468:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | void CorrelationPluginInstance::setDimensions(size_t numContinuousColumns, size_t numDiscreteColumns, size_t numRows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:468:76: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | void CorrelationPluginInstance::setDimensions(size_t numContinuousColumns, size_t numDiscreteColumns, size_t numRows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:468:103: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | void CorrelationPluginInstance::setDimensions(size_t numContinuousColumns, size_t numDiscreteColumns, size_t numRows) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:470:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(_dataColumnNames.empty()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:471:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(_userColumnData.empty()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:472:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(_graphModel->userNodeData().numUserDataVectors() == 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:478:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 51 | emit numColumnsChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:485:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | void CorrelationPluginInstance::setDataColumnName(size_t column, const QString& name) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:485:72: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | void CorrelationPluginInstance::setDataColumnName(size_t column, const QString& name) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:487:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(column < (_numContinuousColumns + _numDiscreteColumns)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:493:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | std::map> dataColumnNameIndexes; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:493:28: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::map> dataColumnNameIndexes; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:493:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | std::map> dataColumnNameIndexes; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:499:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t i = 1; i < indexes.size(); i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:502:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | auto newName = u"%1(%2)"_s.arg(name).arg(i); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:509:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t i = 0; i < _dataColumnNames.size(); i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:514:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | void CorrelationPluginInstance::finishDataRow(size_t row) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:516:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(row < _numRows); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:519:36: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | auto computeCost = static_cast(_numRows - row + 1); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:541:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:541:31: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:545:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:545:31: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:551:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList CorrelationPluginInstance::columnAnnotationNames() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:553:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList list; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:570:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector columnAnnotations; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:570:17: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 21 | std::vector columnAnnotations; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:585:11: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | const QStringList addedNames = u::toQStringList(u::setDifference(after, before)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:586:11: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | const QStringList removedNames = u::toQStringList(u::setDifference(before, after)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:588:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 51 | emit columnAnnotationNamesChanged(addedNames, removedNames); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:591:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 51 | emit columnAnnotationValuesChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:594:61: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 32 | void CorrelationPluginInstance::buildDiscreteDataValueIndex(Progressable& progressable) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:596:32: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | if(_correlationDataType != CorrelationDataType::Discrete) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:596:53: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | if(_correlationDataType != CorrelationDataType::Discrete) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:599:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | size_t dataValueIndex = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:601:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t columnIndex = 0; columnIndex < _numDiscreteColumns; columnIndex++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:603:14: warning: no header providing "std::set" is directly included [misc-include-cleaner] 51 | std::set values; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:603:18: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | std::set values; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:605:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t rowIndex = 0; rowIndex < _numRows; rowIndex++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:608:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector sortedValues; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:608:21: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | std::vector sortedValues; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:610:14: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 46 | std::copy(values.begin(), values.end(), std::back_inserter(sortedValues)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:610:54: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 46 | std::copy(values.begin(), values.end(), std::back_inserter(sortedValues)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:611:14: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 46 | std::sort(sortedValues.begin(), sortedValues.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:623:7: warning: no header providing "ContinuousDataVector" is directly included [misc-include-cleaner] 22 | const ContinuousDataVector& CorrelationPluginInstance::continuousDataRowForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:623:83: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | const ContinuousDataVector& CorrelationPluginInstance::continuousDataRowForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:628:7: warning: no header providing "DiscreteDataVector" is directly included [misc-include-cleaner] 22 | const DiscreteDataVector& CorrelationPluginInstance::discreteDataRowForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:628:79: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 30 | const DiscreteDataVector& CorrelationPluginInstance::discreteDataRowForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:633:58: warning: no header providing "ISelectionManager" is directly included [misc-include-cleaner] 32 | void CorrelationPluginInstance::onSelectionChanged(const ISelectionManager*) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:638:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 51 | std::unique_ptr CorrelationPluginInstance::parserForUrlTypeName(const QString& urlTypeName) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:638:17: warning: no header providing "IParser" is directly included [misc-include-cleaner] 32 | std::unique_ptr CorrelationPluginInstance::parserForUrlTypeName(const QString& urlTypeName) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:638:80: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | std::unique_ptr CorrelationPluginInstance::parserForUrlTypeName(const QString& urlTypeName) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:640:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | const std::vector urlTypes = | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:640:23: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | const std::vector urlTypes = | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:642:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | u"CorrelationCSV"_s, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:643:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | u"CorrelationTSV"_s, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:644:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | u"CorrelationSSV"_s, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:645:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | u"CorrelationXLSX"_s | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:649:21: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 51 | return std::make_unique(this, urlTypeName, _tabularData, _dataRect); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:649:33: warning: no header providing "CorrelationFileParser" is directly included [misc-include-cleaner] 30 | return std::make_unique(this, urlTypeName, _tabularData, _dataRect); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:654:54: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | void CorrelationPluginInstance::applyParameter(const QString& name, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:654:75: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 51 | void CorrelationPluginInstance::applyParameter(const QString& name, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:656:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(name == u"minimumThreshold"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:658:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"initialThreshold"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:660:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"maximumK"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:661:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | _maximumK = static_cast(value.toUInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:662:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"initialK"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:663:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | _initialK = static_cast(value.toUInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:664:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"transpose"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:665:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | _transpose = (value == u"true"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:666:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"correlationFilterType"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:667:34: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _correlationFilterType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:667:45: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | _correlationFilterType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:668:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"correlationDataType"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:669:32: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _correlationDataType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:669:43: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | _correlationDataType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:670:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"continuousCorrelationType"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:671:38: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _continuousCorrelationType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:671:49: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | _continuousCorrelationType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:672:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"discreteCorrelationType"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:673:36: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _discreteCorrelationType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:673:47: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | _discreteCorrelationType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:674:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"correlationPolarity"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:675:32: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _correlationPolarity = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:675:43: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | _correlationPolarity = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:676:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"scaling"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:677:24: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _scalingType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:677:35: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | _scalingType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:678:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"normalise"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:679:26: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _normaliseType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:679:37: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | _normaliseType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:680:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"missingDataType"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:681:28: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _missingDataType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:681:39: warning: no header providing "MissingDataType" is directly included [misc-include-cleaner] 30 | _missingDataType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:682:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"missingDataValue"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:684:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"clippingType"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:685:25: warning: no header providing "qmlEnumFor" is directly included [misc-include-cleaner] 32 | _clippingType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:685:36: warning: no header providing "ClippingType" is directly included [misc-include-cleaner] 30 | _clippingType = qmlEnumFor(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:686:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"clippingValue"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:688:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"treatAsBinary"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:690:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"dataRect"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:692:29: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 51 | if(value.canConvert()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:695:34: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 51 | auto m = value.value(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:697:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"x"_s)) _dataRect.setX(m.value(u"x"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:697:71: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"x"_s)) _dataRect.setX(m.value(u"x"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:698:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"left"_s)) _dataRect.setLeft(m.value(u"left"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:698:77: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"left"_s)) _dataRect.setLeft(m.value(u"left"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:699:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"right"_s)) _dataRect.setRight(m.value(u"right"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:699:79: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"right"_s)) _dataRect.setRight(m.value(u"right"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:700:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"y"_s)) _dataRect.setY(m.value(u"y"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:700:71: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"y"_s)) _dataRect.setY(m.value(u"y"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:701:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"top"_s)) _dataRect.setTop(m.value(u"top"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:701:75: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"top"_s)) _dataRect.setTop(m.value(u"top"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:702:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"bottom"_s)) _dataRect.setBottom(m.value(u"bottom"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:702:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"bottom"_s)) _dataRect.setBottom(m.value(u"bottom"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:703:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"width"_s)) _dataRect.setWidth(m.value(u"width"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:703:79: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"width"_s)) _dataRect.setWidth(m.value(u"width"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:704:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"height"_s)) _dataRect.setHeight(m.value(u"height"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:704:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(m.contains(u"height"_s)) _dataRect.setHeight(m.value(u"height"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:709:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"additionalTransforms"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:711:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"additionalVisualisations"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:713:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | else if(name == u"data"_s && value.canConvert>()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:713:56: warning: no header providing "std::shared_ptr" is directly included [misc-include-cleaner] 51 | else if(name == u"data"_s && value.canConvert>()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:713:67: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 32 | else if(name == u"data"_s && value.canConvert>()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:714:29: warning: no header providing "std::move" is directly included [misc-include-cleaner] 51 | _tabularData = std::move(*value.value>()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:714:52: warning: no header providing "std::shared_ptr" is directly included [misc-include-cleaner] 51 | _tabularData = std::move(*value.value>()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:714:63: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 32 | _tabularData = std::move(*value.value>()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:716:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 51 | qDebug() << "CorrelationPluginInstance::applyParameter unknown parameter" << name << value; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:719:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList CorrelationPluginInstance::defaultTransforms() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:721:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList defaultTransforms = | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:726:34: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | auto correlationFilterType = normaliseQmlEnum(_correlationFilterType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:726:51: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | auto correlationFilterType = normaliseQmlEnum(_correlationFilterType); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:727:32: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | auto correlationPolarity = normaliseQmlEnum(_correlationPolarity); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:727:49: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | auto correlationPolarity = normaliseQmlEnum(_correlationPolarity); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:730:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | const QString* filterAttribute = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:732:12: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | switch(normaliseQmlEnum(_correlationPolarity)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:732:29: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | switch(normaliseQmlEnum(_correlationPolarity)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:735:10: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Positive: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:735:31: warning: no header providing "CorrelationPolarity_reflector::Enum::Positive" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Positive: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:740:10: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Negative: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:740:31: warning: no header providing "CorrelationPolarity_reflector::Enum::Negative" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Negative: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:745:10: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Both: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:745:31: warning: no header providing "CorrelationPolarity_reflector::Enum::Both" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Both: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:753:10: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:753:33: warning: no header providing "CorrelationFilterType_reflector::Enum::Threshold" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:756:13: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 51 | QStringLiteral(R"("Remove Edges" where $"%1" %2 %3)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:763:10: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:763:33: warning: no header providing "CorrelationFilterType_reflector::Enum::Knn" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:766:13: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 51 | QStringLiteral(R"("k-NN" using $"%1" with "k" = %2)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:767:41: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | .arg(correlationPolarity == CorrelationPolarity::Positive ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:767:62: warning: no header providing "CorrelationPolarity_reflector::Enum::Positive" is directly included [misc-include-cleaner] 23 | .arg(correlationPolarity == CorrelationPolarity::Positive ? | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:772:13: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 51 | QStringLiteral(R"("Remove Edges" where $"%1" %2 %3)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:790:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList CorrelationPluginInstance::defaultVisualisations() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:792:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList defaultVisualisations; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:801:52: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | double CorrelationPluginInstance::continuousDataAt(size_t row, size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:801:64: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | double CorrelationPluginInstance::continuousDataAt(size_t row, size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:806:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString CorrelationPluginInstance::discreteDataAt(size_t row, size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:806:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | QString CorrelationPluginInstance::discreteDataAt(size_t row, size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:806:63: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | QString CorrelationPluginInstance::discreteDataAt(size_t row, size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:811:61: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | int CorrelationPluginInstance::discreteDataValueIndex(const QString& value) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:819:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString CorrelationPluginInstance::rowName(size_t row) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:819:44: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | QString CorrelationPluginInstance::rowName(size_t row) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:825:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString CorrelationPluginInstance::columnName(size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:825:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | QString CorrelationPluginInstance::columnName(size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:827:44: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | return _dataColumnNames.at(static_cast(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:830:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 51 | QColor CorrelationPluginInstance::nodeColorForRow(size_t row) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:830:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | QColor CorrelationPluginInstance::nodeColorForRow(size_t row) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:840:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 51 | QColor CorrelationPluginInstance::nodeColorForRows(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:840:63: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | QColor CorrelationPluginInstance::nodeColorForRows(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:840:70: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | QColor CorrelationPluginInstance::nodeColorForRows(const std::vector& rows) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:847:36: warning: no header providing "std::any_of" is directly included [misc-include-cleaner] 46 | auto colorsInconsistent = std::any_of(rows.begin(), rows.end(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:856:17: warning: no header providing "QCustomPlotColorProvider" is directly included [misc-include-cleaner] 51 | color = QCustomPlotColorProvider::penColor(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:862:7: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 21 | const ColumnAnnotation* CorrelationPluginInstance::columnAnnotationByName(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:862:81: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | const ColumnAnnotation* CorrelationPluginInstance::columnAnnotationByName(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:864:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 46 | auto it = std::find_if(_columnAnnotations.begin(), _columnAnnotations.end(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:873:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector CorrelationPluginInstance::rowsForGraph() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:873:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | std::vector CorrelationPluginInstance::rowsForGraph() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:875:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector rows; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:875:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | std::vector rows; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:884:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString CorrelationPluginInstance::attributeValueFor(const QString& attributeName, size_t row) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:884:60: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString CorrelationPluginInstance::attributeValueFor(const QString& attributeName, size_t row) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:884:84: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | QString CorrelationPluginInstance::attributeValueFor(const QString& attributeName, size_t row) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:899:35: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 30 | commandManager()->execute(ExecutePolicy::Once, std::make_unique( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:899:50: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 30 | commandManager()->execute(ExecutePolicy::Once, std::make_unique( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:899:61: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 51 | commandManager()->execute(ExecutePolicy::Once, std::make_unique( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:903:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 51 | emit hierarchicalClusteringComplete(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:906:58: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | void CorrelationPluginInstance::setHcOrdering(const std::vector& ordering) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:906:65: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | void CorrelationPluginInstance::setHcOrdering(const std::vector& ordering) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:909:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 51 | emit hierarchicalClusteringComplete(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:912:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | size_t CorrelationPluginInstance::hcColumn(size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:912:44: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | size_t CorrelationPluginInstance::hcColumn(size_t column) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:920:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector CorrelationPluginInstance::rowsOfInterestByColumns(const std::vector& columns, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:920:80: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector CorrelationPluginInstance::rowsOfInterestByColumns(const std::vector& columns, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:921:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | const std::vector& rows, int percentile, double weight) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:935:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector rowScores; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:940:66: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | const auto& dataRow = _continuousDataRows.at(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:944:55: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | columnsSum += dataRow.valueAt(static_cast(column)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:957:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 46 | std::sort(rowScores.begin(), rowScores.end(), [](const auto& a, const auto& b) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:962:32: warning: no header providing "std::max" is directly included [misc-include-cleaner] 46 | auto rowsPercentile = std::max(static_cast(1), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:962:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | auto rowsPercentile = std::max(static_cast(1), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:963:22: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | (static_cast(percentile) * rows.size()) / 100); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:967:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | std::vector outRows; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:975:1: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 51 | QByteArray CorrelationPluginInstance::save(IMutableGraph& graph, Progressable& progressable) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:975:44: warning: no header providing "IMutableGraph" is directly included [misc-include-cleaner] 32 | QByteArray CorrelationPluginInstance::save(IMutableGraph& graph, Progressable& progressable) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:975:66: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 32 | QByteArray CorrelationPluginInstance::save(IMutableGraph& graph, Progressable& progressable) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:984:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | progressable.setPhase(QObject::tr("Data")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:989:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:993:18: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 46 | std::copy(dataRow.begin(), dataRow.end(), std::back_inserter(array)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:993:60: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 46 | std::copy(dataRow.begin(), dataRow.end(), std::back_inserter(array)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:999:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(_numContinuousColumns == 0 || (array.size() % _numContinuousColumns) == 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1008:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1012:18: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 46 | std::copy(dataRow.begin(), dataRow.end(), std::back_inserter(array)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1012:60: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 46 | std::copy(dataRow.begin(), dataRow.end(), std::back_inserter(array)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1018:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(_numDiscreteColumns == 0 || (array.size() % _numDiscreteColumns) == 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1027:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1039:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | progressable.setPhase(QObject::tr("Correlation Values")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1056:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 51 | return QByteArray::fromStdString(jsonObject.dump()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1059:44: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 51 | bool CorrelationPluginInstance::load(const QByteArray& data, int dataVersion, IMutableGraph& graph, IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1059:79: warning: no header providing "IMutableGraph" is directly included [misc-include-cleaner] 32 | bool CorrelationPluginInstance::load(const QByteArray& data, int dataVersion, IMutableGraph& graph, IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1059:101: warning: no header providing "IParser" is directly included [misc-include-cleaner] 32 | bool CorrelationPluginInstance::load(const QByteArray& data, int dataVersion, IMutableGraph& graph, IParser& parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1080:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | _numContinuousColumns = static_cast(jsonObject["numContinuousColumns"].get()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1081:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | _numDiscreteColumns = static_cast(jsonObject["numDiscreteColumns"].get()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1091:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | _numContinuousColumns = static_cast(jsonObject["numColumns"].get()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1115:10: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 46 | std::transform(dataColumnNames.begin(), dataColumnNames.end(), std::back_inserter(_dataColumnNames), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1115:73: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 46 | std::transform(dataColumnNames.begin(), dataColumnNames.end(), std::back_inserter(_dataColumnNames), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1118:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | return QString::fromStdString(dataColumnName); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1121:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 46 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1123:21: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | parser.setPhase(QObject::tr("Data")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1143:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT((_continuousData.size() % _numContinuousColumns) == 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1153:26: warning: no header providing "CorrelationFileParser" is directly included [misc-include-cleaner] 30 | _continuousEpsilon = CorrelationFileParser::epsilonFor(_continuousData); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1167:40: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | _discreteData.emplace_back(QString::fromStdString(value)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1173:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT((_discreteData.size() % _numDiscreteColumns) == 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1184:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(_numRows > 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1210:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | for(size_t row = 0; row < _numRows; row++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1235:21: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | parser.setPhase(QObject::tr("Correlation Values")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1240:61: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 30 | u::forEachJsonGraphArray(jsonCorrelationValues, [&](EdgeId edgeId, double correlationValue) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1242:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 51 | Q_ASSERT(graph.containsEdgeId(edgeId)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1252:39: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 30 | auto edgeId = static_cast(i); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1280:20: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _scalingType = normaliseQmlEnum(jsonObject["scaling"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1280:37: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | _scalingType = normaliseQmlEnum(jsonObject["scaling"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1281:22: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _normaliseType = normaliseQmlEnum(jsonObject["normalisation"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1281:39: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | _normaliseType = normaliseQmlEnum(jsonObject["normalisation"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1282:24: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _missingDataType = normaliseQmlEnum(jsonObject["missingDataType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1282:41: warning: no header providing "MissingDataType" is directly included [misc-include-cleaner] 30 | _missingDataType = normaliseQmlEnum(jsonObject["missingDataType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1293:25: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _clippingType = normaliseQmlEnum(jsonObject["clippingType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1293:42: warning: no header providing "ClippingType" is directly included [misc-include-cleaner] 30 | _clippingType = normaliseQmlEnum(jsonObject["clippingType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1306:32: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _correlationDataType = normaliseQmlEnum(jsonObject["correlationDataType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1306:49: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | _correlationDataType = normaliseQmlEnum(jsonObject["correlationDataType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1307:38: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _continuousCorrelationType = normaliseQmlEnum(jsonObject["continuousCorrelationType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1307:55: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | _continuousCorrelationType = normaliseQmlEnum(jsonObject["continuousCorrelationType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1308:36: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _discreteCorrelationType = normaliseQmlEnum(jsonObject["discreteCorrelationType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1308:53: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | _discreteCorrelationType = normaliseQmlEnum(jsonObject["discreteCorrelationType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1309:32: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _correlationPolarity = normaliseQmlEnum(jsonObject["correlationPolarity"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1309:49: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | _correlationPolarity = normaliseQmlEnum(jsonObject["correlationPolarity"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1319:32: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | _correlationDataType = CorrelationDataType::Continuous; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1319:53: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | _correlationDataType = CorrelationDataType::Continuous; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1320:38: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _continuousCorrelationType = normaliseQmlEnum(jsonObject["correlationType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1320:55: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | _continuousCorrelationType = normaliseQmlEnum(jsonObject["correlationType"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1321:36: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | _discreteCorrelationType = CorrelationType::Jaccard; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1321:53: warning: no header providing "CorrelationType_reflector::Enum::Jaccard" is directly included [misc-include-cleaner] 23 | _discreteCorrelationType = CorrelationType::Jaccard; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1322:32: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | _correlationPolarity = normaliseQmlEnum(jsonObject["correlationPolarity"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1322:49: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | _correlationPolarity = normaliseQmlEnum(jsonObject["correlationPolarity"]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1333:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString CorrelationPluginInstance::log() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1335:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString text; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1348:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1348:31: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1355:14: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Positive: text.append(tr("Positive")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1355:35: warning: no header providing "CorrelationPolarity_reflector::Enum::Positive" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Positive: text.append(tr("Positive")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1356:14: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Negative: text.append(tr("Negative")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1356:35: warning: no header providing "CorrelationPolarity_reflector::Enum::Negative" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Negative: text.append(tr("Negative")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1357:14: warning: no header providing "CorrelationPolarity" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Both: text.append(tr("Both")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1357:35: warning: no header providing "CorrelationPolarity_reflector::Enum::Both" is directly included [misc-include-cleaner] 23 | case CorrelationPolarity::Both: text.append(tr("Both")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1361:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1361:31: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1369:34: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | if(_correlationFilterType == CorrelationFilterType::Knn) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1369:57: warning: no header providing "CorrelationFilterType_reflector::Enum::Knn" is directly included [misc-include-cleaner] 23 | if(_correlationFilterType == CorrelationFilterType::Knn) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1378:14: warning: no header providing "MissingDataType" is directly included [misc-include-cleaner] 30 | case MissingDataType::Constant: text.append(tr("Constant (%1)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1378:31: warning: no header providing "MissingDataType_reflector::Enum::Constant" is directly included [misc-include-cleaner] 30 | case MissingDataType::Constant: text.append(tr("Constant (%1)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1380:14: warning: no header providing "MissingDataType" is directly included [misc-include-cleaner] 30 | case MissingDataType::ColumnAverage: text.append(tr("Column Mean")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1380:31: warning: no header providing "MissingDataType_reflector::Enum::ColumnAverage" is directly included [misc-include-cleaner] 30 | case MissingDataType::ColumnAverage: text.append(tr("Column Mean")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1381:14: warning: no header providing "MissingDataType" is directly included [misc-include-cleaner] 30 | case MissingDataType::RowInterpolation: text.append(tr("Row Interpolate")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1381:31: warning: no header providing "MissingDataType_reflector::Enum::RowInterpolation" is directly included [misc-include-cleaner] 30 | case MissingDataType::RowInterpolation: text.append(tr("Row Interpolate")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1388:10: warning: no header providing "ClippingType" is directly included [misc-include-cleaner] 30 | case ClippingType::None: break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1388:24: warning: no header providing "ClippingType_reflector::Enum::None" is directly included [misc-include-cleaner] 30 | case ClippingType::None: break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1389:10: warning: no header providing "ClippingType" is directly included [misc-include-cleaner] 30 | case ClippingType::Constant: text.append(tr("\nClipping: Constant (%1)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1389:24: warning: no header providing "ClippingType_reflector::Enum::Constant" is directly included [misc-include-cleaner] 30 | case ClippingType::Constant: text.append(tr("\nClipping: Constant (%1)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1391:10: warning: no header providing "ClippingType" is directly included [misc-include-cleaner] 30 | case ClippingType::Winsorization: text.append(tr("\nClipping: Winsorization (%1 percentile)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1391:24: warning: no header providing "ClippingType_reflector::Enum::Winsorization" is directly included [misc-include-cleaner] 30 | case ClippingType::Winsorization: text.append(tr("\nClipping: Winsorization (%1 percentile)") | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1398:10: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | case ScalingType::None: break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1398:23: warning: no header providing "ScalingType_reflector::Enum::None" is directly included [misc-include-cleaner] 30 | case ScalingType::None: break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1399:10: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | case ScalingType::Log2: text.append(tr("\nScaling: Log2(x + ε)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1399:23: warning: no header providing "ScalingType_reflector::Enum::Log2" is directly included [misc-include-cleaner] 30 | case ScalingType::Log2: text.append(tr("\nScaling: Log2(x + ε)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1400:10: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | case ScalingType::Log10: text.append(tr("\nScaling: Log10(x + ε)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1400:23: warning: no header providing "ScalingType_reflector::Enum::Log10" is directly included [misc-include-cleaner] 30 | case ScalingType::Log10: text.append(tr("\nScaling: Log10(x + ε)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1401:10: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | case ScalingType::AntiLog2: text.append(tr("\nScaling: AntiLog2(x)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1401:23: warning: no header providing "ScalingType_reflector::Enum::AntiLog2" is directly included [misc-include-cleaner] 30 | case ScalingType::AntiLog2: text.append(tr("\nScaling: AntiLog2(x)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1402:10: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | case ScalingType::AntiLog10: text.append(tr("\nScaling: AntiLog10(x)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1402:23: warning: no header providing "ScalingType_reflector::Enum::AntiLog10" is directly included [misc-include-cleaner] 30 | case ScalingType::AntiLog10: text.append(tr("\nScaling: AntiLog10(x)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1403:10: warning: no header providing "ScalingType" is directly included [misc-include-cleaner] 30 | case ScalingType::ArcSin: text.append(tr("\nScaling: Arcsin(x)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1403:23: warning: no header providing "ScalingType_reflector::Enum::ArcSin" is directly included [misc-include-cleaner] 30 | case ScalingType::ArcSin: text.append(tr("\nScaling: Arcsin(x)")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1409:10: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | case NormaliseType::None: break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1409:25: warning: no header providing "NormaliseType_reflector::Enum::None" is directly included [misc-include-cleaner] 30 | case NormaliseType::None: break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1410:10: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | case NormaliseType::MinMax: text.append(tr("\nNormalisation: Min/Max")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1410:25: warning: no header providing "NormaliseType_reflector::Enum::MinMax" is directly included [misc-include-cleaner] 30 | case NormaliseType::MinMax: text.append(tr("\nNormalisation: Min/Max")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1411:10: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | case NormaliseType::Quantile: text.append(tr("\nNormalisation: Quantile")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1411:25: warning: no header providing "NormaliseType_reflector::Enum::Quantile" is directly included [misc-include-cleaner] 30 | case NormaliseType::Quantile: text.append(tr("\nNormalisation: Quantile")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1412:10: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | case NormaliseType::Mean: text.append(tr("\nNormalisation: Mean")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1412:25: warning: no header providing "NormaliseType_reflector::Enum::Mean" is directly included [misc-include-cleaner] 30 | case NormaliseType::Mean: text.append(tr("\nNormalisation: Mean")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1413:10: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | case NormaliseType::Standarisation: text.append(tr("\nNormalisation: Standarisation")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1413:25: warning: no header providing "NormaliseType_reflector::Enum::Standarisation" is directly included [misc-include-cleaner] 30 | case NormaliseType::Standarisation: text.append(tr("\nNormalisation: Standarisation")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1414:10: warning: no header providing "NormaliseType" is directly included [misc-include-cleaner] 30 | case NormaliseType::UnitScaling: text.append(tr("\nNormalisation: Unit Scaling")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1414:25: warning: no header providing "NormaliseType_reflector::Enum::UnitScaling" is directly included [misc-include-cleaner] 30 | case NormaliseType::UnitScaling: text.append(tr("\nNormalisation: Unit Scaling")); break; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1422:33: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 51 | int keyRowIndex, const std::vector& importRowIndices, bool replace) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1424:31: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 30 | commandManager()->execute(ExecutePolicy::Add, std::make_unique( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1424:46: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 30 | commandManager()->execute(ExecutePolicy::Add, std::make_unique( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1424:56: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 51 | commandManager()->execute(ExecutePolicy::Add, std::make_unique( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1430:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | registerUrlType(u"CorrelationCSV"_s, QObject::tr("Correlation CSV File"), QObject::tr("Correlation CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1430:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationCSV"_s, QObject::tr("Correlation CSV File"), QObject::tr("Correlation CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1430:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationCSV"_s, QObject::tr("Correlation CSV File"), QObject::tr("Correlation CSV Files"), {"csv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1431:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | registerUrlType(u"CorrelationTSV"_s, QObject::tr("Correlation TSV File"), QObject::tr("Correlation TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1431:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationTSV"_s, QObject::tr("Correlation TSV File"), QObject::tr("Correlation TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1431:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationTSV"_s, QObject::tr("Correlation TSV File"), QObject::tr("Correlation TSV Files"), {"tsv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1432:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | registerUrlType(u"CorrelationSSV"_s, QObject::tr("Correlation SSV File"), QObject::tr("Correlation SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1432:42: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationSSV"_s, QObject::tr("Correlation SSV File"), QObject::tr("Correlation SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1432:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationSSV"_s, QObject::tr("Correlation SSV File"), QObject::tr("Correlation SSV Files"), {"ssv"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1433:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | registerUrlType(u"CorrelationXLSX"_s, QObject::tr("Correlation Excel File"), QObject::tr("Correlation Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1433:43: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationXLSX"_s, QObject::tr("Correlation Excel File"), QObject::tr("Correlation Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1433:82: warning: no header providing "QObject" is directly included [misc-include-cleaner] 51 | registerUrlType(u"CorrelationXLSX"_s, QObject::tr("Correlation Excel File"), QObject::tr("Correlation Excel Files"), {"xlsx"}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1435:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 51 | Q_INIT_RESOURCE(correlation_qml); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1437:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 51 | qmlRegisterType("app.graphia", 1, 0, "CorrelationPluginInstance"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1438:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 51 | qmlRegisterType("app.graphia", 1, 0, "CorrelationPlot"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1439:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 51 | qmlRegisterType("app.graphia", 1, 0, "GraphSizeEstimatePlot"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1440:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 51 | qmlRegisterType("app.graphia", 1, 0, "CorrelationTabularDataParser"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1440:21: warning: no header providing "CorrelationTabularDataParser" is directly included [misc-include-cleaner] 30 | qmlRegisterType("app.graphia", 1, 0, "CorrelationTabularDataParser"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1441:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 51 | qmlRegisterType("app.graphia", 1, 0, "ImportAnnotationsKeyDetection"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1444:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 51 | QVariantMap CorrelationPlugin::correlationInfoFor(int correlationType) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1448:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 51 | QVariantMap m; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1450:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | m.insert(u"name"_s, correlation->name()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1451:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | m.insert(u"description"_s, correlation->description()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1452:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | m.insert(u"attributeName"_s, correlation->attributeName()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1453:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | m.insert(u"attributeDescription"_s, correlation->attributeDescription()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1459:9: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | normaliseQmlEnum(correlationType), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1459:26: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | normaliseQmlEnum(correlationType), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1460:9: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | CorrelationFilterType::Threshold); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1460:32: warning: no header providing "CorrelationFilterType_reflector::Enum::Threshold" is directly included [misc-include-cleaner] 23 | CorrelationFilterType::Threshold); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1465:9: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 32 | normaliseQmlEnum(correlationType), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1465:26: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | normaliseQmlEnum(correlationType), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1466:9: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | CorrelationFilterType::Threshold); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1466:32: warning: no header providing "CorrelationFilterType_reflector::Enum::Threshold" is directly included [misc-include-cleaner] 23 | CorrelationFilterType::Threshold); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1473:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 51 | QStringList CorrelationPlugin::identifyUrl(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1473:50: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 51 | QStringList CorrelationPlugin::identifyUrl(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1479:24: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 32 | auto contentType = TabularData::contentIdentityOf(url); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1487:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 51 | QString CorrelationPlugin::failureReason(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1487:48: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 51 | QString CorrelationPlugin::failureReason(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1495:28: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 32 | auto contentIdentity = TabularData::contentIdentityOf(url); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:31:34: warning: use c++14 style type templates [modernize-type-traits] 31 | std::is_const_v::type>; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:36: warning: forwarding reference parameter 'begin' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | auto make_iterator_range(BeginIt&& begin, EndIt&& end) | ^ /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:51: warning: forwarding reference parameter 'end' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | auto make_iterator_range(BeginIt&& begin, EndIt&& end) | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 40354 warnings generated. [66/195] 11111 warnings generated. [67/195] /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:22:1: warning: included header cancellable.h is not used directly [misc-include-cleaner] 22 | #include "shared/utils/cancellable.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:30:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | 28 | struct StandardNormalisationValues 29 | { 30 | std::vector* mins = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:31:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | 28 | struct StandardNormalisationValues 29 | { 30 | std::vector* mins = nullptr; 31 | std::vector* maxs = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:32:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | 28 | struct StandardNormalisationValues 29 | { 30 | std::vector* mins = nullptr; 31 | std::vector* maxs = nullptr; 32 | std::vector* ranges = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:33:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | 28 | struct StandardNormalisationValues 29 | { 30 | std::vector* mins = nullptr; 31 | std::vector* maxs = nullptr; 32 | std::vector* ranges = nullptr; 33 | std::vector* means = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:34:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | 28 | struct StandardNormalisationValues 29 | { 30 | std::vector* mins = nullptr; 31 | std::vector* maxs = nullptr; 32 | std::vector* ranges = nullptr; 33 | std::vector* means = nullptr; 34 | std::vector* stddevs = nullptr; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:37:38: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | static bool calcStandardValues(const ContinuousDataVectors& dataRows, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:60:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 24 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:67:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:89:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:102:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:116:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:123:23: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | static bool normalise(ContinuousDataVectors& dataRows, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:124:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | const std::vector& subtractors, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:125:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | const std::vector& denominators, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:130:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 24 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:137:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:160:32: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | bool MinMaxNormaliser::process(ContinuousDataVectors& dataRows, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:166:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector mins; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:167:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector maxs; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:168:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector ranges; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:176:30: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | bool MeanNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:181:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector mins; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:182:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector maxs; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:183:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector ranges; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:184:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector means; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:192:41: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | bool StandardisationNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:197:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector mins; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:198:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector maxs; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:199:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector ranges; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:200:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector means; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:201:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector stddevs; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:209:37: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | bool UnitScalingNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:213:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector vectorLengthColumn(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:215:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 24 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:222:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:237:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:247:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 7656 warnings generated. [68/195] /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:21:1: warning: included header utils.h is not used directly [misc-include-cleaner] 21 | #include "shared/utils/utils.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include "shared/utils/string.h" /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:25:1: warning: included header QVariantMap is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:26:1: warning: included header QVector is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:27:1: warning: included header QGuiApplication is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:33:54: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | GraphSizeEstimatePlotItem::GraphSizeEstimatePlotItem(QQuickItem* parent) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:34:5: warning: no header providing "QCustomPlotQuickItem" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | GraphSizeEstimatePlotItem::GraphSizeEstimatePlotItem(QQuickItem* parent) : 34 | QCustomPlotQuickItem(multisamples(), parent) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:47:26: warning: no header providing "std::round" is directly included [misc-include-cleaner] 30 | threshold = std::round(threshold); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:52:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit thresholdChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:55:29: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 30 | customPlot().replot(QCustomPlot::rpQueuedReplot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:59:60: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 30 | void GraphSizeEstimatePlotItem::setGraphSizeEstimate(const QVariantMap& graphSizeEstimate) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:61:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | if(!graphSizeEstimate.contains(u"keys"_s)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:64:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | if(!graphSizeEstimate.contains(u"numNodes"_s)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:67:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | if(!graphSizeEstimate.contains(u"numEdges"_s)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:70:53: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | if(!graphSizeEstimate.contains(u"numUniqueEdges"_s)) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:73:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | _keys = graphSizeEstimate.value(u"keys"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:73:54: warning: no header providing "QVector" is directly included [misc-include-cleaner] 30 | _keys = graphSizeEstimate.value(u"keys"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:74:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | _numNodes = graphSizeEstimate.value(u"numNodes"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:74:62: warning: no header providing "QVector" is directly included [misc-include-cleaner] 30 | _numNodes = graphSizeEstimate.value(u"numNodes"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:75:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | _numEdges = graphSizeEstimate.value(u"numEdges"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:75:62: warning: no header providing "QVector" is directly included [misc-include-cleaner] 30 | _numEdges = graphSizeEstimate.value(u"numEdges"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:76:64: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | _numUniqueEdges = graphSizeEstimate.value(u"numUniqueEdges"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:76:74: warning: no header providing "QVector" is directly included [misc-include-cleaner] 30 | _numUniqueEdges = graphSizeEstimate.value(u"numUniqueEdges"_s).value>(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:88:26: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 30 | auto firstKey = std::as_const(_keys).first(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:89:25: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 30 | auto lastKey = std::as_const(_keys).last(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:102:27: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 30 | double minDiff = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:105:26: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 30 | auto diff = std::abs(_keys.at(i) - _threshold); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:113:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | size_t numNodes = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:114:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | size_t numEdges = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:118:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | numNodes = static_cast(_numNodes.at(index)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:120:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | static_cast(_numUniqueEdges.at(index)) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:121:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | static_cast(_numEdges.at(index)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:140:23: warning: no header providing "QColor" is directly included [misc-include-cleaner] 30 | auto nodesColor = QColor(Qt::red); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:140:34: warning: no header providing "Qt::red" is directly included [misc-include-cleaner] 30 | auto nodesColor = QColor(Qt::red); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:141:23: warning: no header providing "QColor" is directly included [misc-include-cleaner] 30 | auto edgesColor = QColor(Qt::blue); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:141:34: warning: no header providing "Qt::blue" is directly included [misc-include-cleaner] 30 | auto edgesColor = QColor(Qt::blue); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:143:8: warning: no header providing "QGuiApplication" is directly included [misc-include-cleaner] 30 | if(QGuiApplication::styleHints()->colorScheme() == Qt::ColorScheme::Dark) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:143:60: warning: no header providing "Qt::ColorScheme" is directly included [misc-include-cleaner] 30 | if(QGuiApplication::styleHints()->colorScheme() == Qt::ColorScheme::Dark) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:143:73: warning: no header providing "Qt::ColorScheme::Dark" is directly included [misc-include-cleaner] 30 | if(QGuiApplication::styleHints()->colorScheme() == Qt::ColorScheme::Dark) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:150:24: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | nodesGraph->setPen(QPen(nodesColor)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:153:24: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | edgesGraph->setPen(QPen(edgesColor)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:156:31: warning: no header providing "QCPItemStraightLine" is directly included [misc-include-cleaner] 30 | _thresholdIndicator = new QCPItemStraightLine(&customPlot()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:158:5: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | QPen indicatorPen; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:159:31: warning: no header providing "Qt::DashLine" is directly included [misc-include-cleaner] 30 | indicatorPen.setStyle(Qt::DashLine); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:165:38: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 30 | customPlot().yAxis->setScaleType(QCPAxis::stLogarithmic); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:166:11: warning: no header providing "QSharedPointer" is directly included [misc-include-cleaner] 30 | const QSharedPointer logTicker(new QCPAxisTickerLog); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:166:26: warning: no header providing "QCPAxisTickerLog" is directly included [misc-include-cleaner] 30 | const QSharedPointer logTicker(new QCPAxisTickerLog); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:166:58: warning: no header providing "QCPAxisTickerLog" is directly included [misc-include-cleaner] 30 | const QSharedPointer logTicker(new QCPAxisTickerLog); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:170:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | customPlot().yAxis->setNumberFormat(u"eb"_s); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:174:29: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 30 | auto smallestKey = std::as_const(_keys).first(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:175:28: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 30 | auto largestKey = std::as_const(_keys).last(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:182:36: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | customPlot().xAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:183:36: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | customPlot().xAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:184:39: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | customPlot().xAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:191:36: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | customPlot().yAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:192:36: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | customPlot().yAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:193:39: warning: no header providing "QPen" is directly included [misc-include-cleaner] 30 | customPlot().yAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:200:35: warning: no header providing "QBrush" is directly included [misc-include-cleaner] 30 | customPlot().legend->setBrush(QBrush(QColor(255, 255, 255, 127))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:200:42: warning: no header providing "QColor" is directly included [misc-include-cleaner] 30 | customPlot().legend->setBrush(QBrush(QColor(255, 255, 255, 127))); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:201:70: warning: no header providing "Qt::AlignLeft" is directly included [misc-include-cleaner] 30 | customPlot().axisRect()->insetLayout()->setInsetAlignment(0, Qt::AlignLeft|Qt::AlignBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:201:84: warning: no header providing "Qt::AlignBottom" is directly included [misc-include-cleaner] 30 | customPlot().axisRect()->insetLayout()->setInsetAlignment(0, Qt::AlignLeft|Qt::AlignBottom); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:203:25: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 30 | customPlot().replot(QCustomPlot::rpQueuedReplot); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:206:49: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 30 | void GraphSizeEstimatePlotItem::mousePressEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:209:31: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 30 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:209:44: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 30 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:217:51: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 30 | void GraphSizeEstimatePlotItem::mouseReleaseEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:220:31: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 30 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:220:44: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 30 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/graphsizeestimateplotitem.cpp:224:48: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 30 | void GraphSizeEstimatePlotItem::mouseMoveEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 29477 warnings generated. [69/195] /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:28:1: warning: included header QObject is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:33:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | #include 26 | #include 27 | 28 | #include 29 | 30 | class Unions 31 | { 32 | private: 33 | std::vector _unions; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:36:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | #include 26 | #include 27 | 28 | #include 29 | 30 | class Unions 31 | { 32 | private: 33 | std::vector _unions; 34 | 35 | public: 36 | explicit Unions(size_t size) : _unions(size) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:38:14: warning: no header providing "std::iota" is directly included [misc-include-cleaner] 25 | #include 26 | #include 27 | 28 | #include 29 | 30 | class Unions 31 | { 32 | private: 33 | std::vector _unions; 34 | 35 | public: 36 | explicit Unions(size_t size) : _unions(size) 37 | { 38 | std::iota(_unions.begin(), _unions.end(), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:41:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t find(size_t i) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:41:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t find(size_t i) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:50:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | void join(size_t a, size_t b) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:50:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | void join(size_t a, size_t b) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:64:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t _index; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:65:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t _pi; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:71:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | double evaluate(size_t size, const ContinuousDataVector* vectorA, const ContinuousDataVector* vectorB) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:75:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t i = 0; i < size; i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:82:34: warning: no header providing "std::sqrt" is directly included [misc-include-cleaner] 25 | return sum != 0.0 ? std::sqrt(sum) : 0.0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:85:12: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static QString name() { return {}; } | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:86:12: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static QString description() { return {}; } | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:87:12: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static QString attributeName() { return {}; } | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:88:12: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | static QString attributeDescription() { return {}; } | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:94:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t numColumns, size_t numRows, CorrelationPluginInstance& correlationPluginInstance) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:94:24: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t numColumns, size_t numRows, CorrelationPluginInstance& correlationPluginInstance) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:98:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_numColumns > 0 && _numRows > 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:105:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t column = 0; column < _numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:113:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | setPhase(QObject::tr("Correlating")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:119:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | setPhase(QObject::tr("Clustering")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:122:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | std::vector ps(dataColumns.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:128:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 25 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:129:11: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 25 | const uint64_t total = (dataColumns.size() * (dataColumns.size() - 1)) / 2; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:131:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t i = 1; i < dataColumns.size(); i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:136:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t j = 0; j < i; j++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:139:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t j = 0; j < i; j++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:145:31: warning: no header providing "std::min" is directly included [misc-include-cleaner] 25 | ms[pi] = std::min(ms[pi], ls[j]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:150:31: warning: no header providing "std::min" is directly included [misc-include-cleaner] 25 | ms[pi] = std::min(ms[pi], ms[j]); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:153:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t j = 0; j < i; j++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:169:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | std::vector sortedIndices(dataColumns.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:170:10: warning: no header providing "std::iota" is directly included [misc-include-cleaner] 25 | std::iota(sortedIndices.begin(), sortedIndices.end(), 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:172:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 25 | std::sort(sortedIndices.begin(), sortedIndices.end(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:181:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | for(size_t i = 0; i < dataColumns.size() - 1; i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:196:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t orderingIndex = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:197:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:198:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | std::vector current(dataColumns.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:201:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | std::vector ordering(dataColumns.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/hierarchicalclusteringcommand.cpp:203:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | auto add = [&](size_t index) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 21305 warnings generated. [70/195] /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:24:1: warning: included header userelementdata.h is not used directly [misc-include-cleaner] 24 | #include "shared/loading/userelementdata.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:26:1: warning: included header crashhandler.h is not used directly [misc-include-cleaner] 26 | #include "../crashhandler.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:31:5: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 23 | #include "shared/utils/string.h" 24 | #include "shared/loading/userelementdata.h" 25 | 26 | #include "../crashhandler.h" 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | ImportAnnotationsCommand::ImportAnnotationsCommand(CorrelationPluginInstance* plugin, 31 | TabularData* data, int keyRowIndex, const std::vector& importRowIndices, bool replace) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:31:52: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | ImportAnnotationsCommand::ImportAnnotationsCommand(CorrelationPluginInstance* plugin, 31 | TabularData* data, int keyRowIndex, const std::vector& importRowIndices, bool replace) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:32:33: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | ImportAnnotationsCommand::ImportAnnotationsCommand(CorrelationPluginInstance* plugin, 31 | TabularData* data, int keyRowIndex, const std::vector& importRowIndices, bool replace) : 32 | _plugin(plugin), _data(std::move(*data)), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:33:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | ImportAnnotationsCommand::ImportAnnotationsCommand(CorrelationPluginInstance* plugin, 31 | TabularData* data, int keyRowIndex, const std::vector& importRowIndices, bool replace) : 32 | _plugin(plugin), _data(std::move(*data)), 33 | _keyRowIndex(static_cast(keyRowIndex)), _importRowIndices(importRowIndices), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:37:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | ImportAnnotationsCommand::ImportAnnotationsCommand(CorrelationPluginInstance* plugin, 31 | TabularData* data, int keyRowIndex, const std::vector& importRowIndices, bool replace) : 32 | _plugin(plugin), _data(std::move(*data)), 33 | _keyRowIndex(static_cast(keyRowIndex)), _importRowIndices(importRowIndices), 34 | _replace(replace) 35 | {} 36 | 37 | QString ImportAnnotationsCommand::firstAnnotationName() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:48:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString ImportAnnotationsCommand::description() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:50:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return multipleAnnotations() ? QObject::tr("Import Column Annotations") : QObject::tr("Import Column Annotation"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:50:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return multipleAnnotations() ? QObject::tr("Import Column Annotations") : QObject::tr("Import Column Annotation"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:53:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString ImportAnnotationsCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:55:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return multipleAnnotations() ? QObject::tr("Importing Column Annotations") : QObject::tr("Importing Column Annotation"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:55:82: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return multipleAnnotations() ? QObject::tr("Importing Column Annotations") : QObject::tr("Importing Column Annotation"); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:58:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString ImportAnnotationsCommand::pastParticiple() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:61:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | QObject::tr("%1 Annotations Imported").arg(numAnnotations()) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:62:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | QObject::tr("Annotation %1 Imported").arg(firstAnnotationName()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:65:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString ImportAnnotationsCommand::debugDescription() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:67:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString text = description(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:74:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 27 | std::map map; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:74:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | std::map map; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:74:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | std::map map; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:76:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | for(size_t column = 0; column < _plugin->numColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:80:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | for(size_t dataColumn = 1; dataColumn < _data.numColumns(); dataColumn++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:104:60: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | auto annotationName = _data.valueAt(0, static_cast(rowIndex)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:108:76: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | existingVector->type() == _data.columnTypeIdentity(static_cast(rowIndex)).type(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:118:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | for(size_t column = 0; column < _plugin->numColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:123:63: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | _data.valueAt(map.at(columnName), static_cast(rowIndex)) : QString{}; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:123:84: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | _data.valueAt(map.at(columnName), static_cast(rowIndex)) : QString{}; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationscommand.cpp:141:33: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | userData.setVector(std::move(vector)); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20953 warnings generated. [71/195] /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:23:1: warning: included header QFuture is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:24:1: warning: included header QtConcurrentRun is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:25:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:31:25: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | ImportAnnotationsKeyDetection::ImportAnnotationsKeyDetection() // NOLINT modernize-use-equals-default 30 | { 31 | connect(&_watcher, &QFutureWatcher::started, this, &ImportAnnotationsKeyDetection::busyChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:32:25: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | ImportAnnotationsKeyDetection::ImportAnnotationsKeyDetection() // NOLINT modernize-use-equals-default 30 | { 31 | connect(&_watcher, &QFutureWatcher::started, this, &ImportAnnotationsKeyDetection::busyChanged); 32 | connect(&_watcher, &QFutureWatcher::finished, this, &ImportAnnotationsKeyDetection::busyChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:44:11: warning: no header providing "QFuture" is directly included [misc-include-cleaner] 26 | const QFuture future = QtConcurrent::run([this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:44:48: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] 26 | const QFuture future = QtConcurrent::run([this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:46:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t bestRowIndex = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:49:9: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 26 | QStringList columnNames; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:52:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t i = 0; i < _plugin->numColumns(); i++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:57:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t rowIndex = 0; rowIndex < _tabularData->numRows(); rowIndex++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:60:24: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 22 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:60:44: warning: no header providing "TypeIdentity::Type::String" is directly included [misc-include-cleaner] 22 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:60:62: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 22 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:60:82: warning: no header providing "TypeIdentity::Type::Int" is directly included [misc-include-cleaner] 22 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:84:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | _result.insert(u"row"_s, static_cast(bestRowIndex)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:85:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | _result.insert(u"percent"_s, bestPercent); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:88:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit resultChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/importannotationskeydetection.cpp:97:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit resultChanged(); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 21134 warnings generated. [72/195] /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:27:1: warning: included header imutablegraph.h is not used directly [misc-include-cleaner] 27 | #include "shared/graph/imutablegraph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:49:87: warning: no header providing "QString" is directly included [misc-include-cleaner] 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | 47 | using namespace Qt::Literals::StringLiterals; 48 | 49 | CorrelationFileParser::CorrelationFileParser(CorrelationPluginInstance* plugin, const QString& urlTypeName, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:58:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | std::vector heightHistogram(tabularData.numColumns()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:60:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(size_t column = 0; column < tabularData.numColumns(); column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:62:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(size_t row = tabularData.numRows(); row-- > 0; ) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:78:16: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | std::stack heights; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:79:16: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | std::stack indexes; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:82:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(size_t index = 0; index < heightHistogram.size(); index++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:91:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t lastIndex = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:99:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | if(area > (static_cast(dataRect.width()) * static_cast(dataRect.height()))) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:99:80: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | if(area > (static_cast(dataRect.width()) * static_cast(dataRect.height()))) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:119:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | if(area > (static_cast(dataRect.width()) * static_cast(dataRect.height()))) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:119:72: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | if(area > (static_cast(dataRect.width()) * static_cast(dataRect.height()))) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:161:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:161:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:184:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:184:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:204:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t numProbablyDiscreteColumns = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:208:18: warning: no header providing "QString" is directly included [misc-include-cleaner] 40 | std::set uniqueValues; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:213:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:213:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:219:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(u::isNumeric(value)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:230:55: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | (uniqueValues.size() * 100) / static_cast(dataRect.height()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:257:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:257:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(column), static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:263:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(u::isNumeric(value)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:267:24: warning: no header providing "std::min" is directly included [misc-include-cleaner] 40 | min = std::min(number, min); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:268:24: warning: no header providing "std::max" is directly included [misc-include-cleaner] 40 | max = std::max(number, max); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:283:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | const QRect& dataRect, size_t columnIndex, size_t rowIndex) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:283:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | const QRect& dataRect, size_t columnIndex, size_t rowIndex) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:287:29: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto left = static_cast(dataRect.x()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:288:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto right = static_cast(dataRect.x()) + static_cast(dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:288:66: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto right = static_cast(dataRect.x()) + static_cast(dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:301:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t rowCount = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:302:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(size_t avgRowIndex = left; avgRowIndex < right; avgRowIndex++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:322:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t leftDistance = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:323:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t rightDistance = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:328:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(size_t rightColumn = columnIndex; rightColumn < right; rightColumn++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:340:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(size_t leftColumn = columnIndex; leftColumn-- != left;) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:357:45: warning: no header providing "std::fma" is directly included [misc-include-cleaner] 40 | const double lerpedValue = std::fma(tween, rightValue, std::fma(-tween, leftValue, leftValue)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:357:73: warning: no header providing "std::fma" is directly included [misc-include-cleaner] 40 | const double lerpedValue = std::fma(tween, rightValue, std::fma(-tween, leftValue, leftValue)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:376:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t width, std::vector& data) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:378:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(data.size() % width == 0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:384:26: warning: no header providing "std::min" is directly included [misc-include-cleaner] 40 | value = std::min(value, clippingValue); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:398:42: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto metaIndex = static_cast((clippingValue * static_cast(width - 1)) / 100.0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:422:21: warning: no header providing "std::log2" is directly included [misc-include-cleaner] 40 | return std::log2(value + epsilon); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:424:21: warning: no header providing "std::log10" is directly included [misc-include-cleaner] 40 | return std::log10(value + epsilon); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:426:21: warning: no header providing "std::pow" is directly included [misc-include-cleaner] 40 | return std::pow(2.0, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:428:21: warning: no header providing "std::pow" is directly included [misc-include-cleaner] 40 | return std::pow(10.0, value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:430:21: warning: no header providing "std::asin" is directly included [misc-include-cleaner] 40 | return std::asin(value); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:438:5: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | ContinuousDataVectors& dataRows, IParser* parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:438:38: warning: no header providing "IParser" is directly included [misc-include-cleaner] 30 | ContinuousDataVectors& dataRows, IParser* parser) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:486:21: warning: no header providing "std::nextafter" is directly included [misc-include-cleaner] 40 | return std::nextafter(0.0, 1.0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:501:30: warning: no header providing "QString" is directly included [misc-include-cleaner] 40 | static bool parseUsing(const QString& fileType, ParseFn&& parseFn) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:501:59: warning: forwarding reference parameter 'parseFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 501 | static bool parseUsing(const QString& fileType, ParseFn&& parseFn) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:503:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | if(fileType == u"CorrelationCSV"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:506:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | if(fileType == u"CorrelationTSV"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:509:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | if(fileType == u"CorrelationSSV"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:512:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | if(fileType == u"CorrelationXLSX"_s) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:518:41: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 40 | bool CorrelationFileParser::parse(const QUrl& fileUrl, IGraphModel*) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:558:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t numContinuousColumns = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:559:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t numDiscreteColumns = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:564:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:564:31: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:565:44: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | numContinuousColumns = static_cast(_dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:568:10: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:568:31: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:569:42: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | numDiscreteColumns = static_cast(_dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:573:82: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | _plugin->setDimensions(numContinuousColumns, numDiscreteColumns, static_cast(_dataRect.height())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:575:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 40 | setPhase(QObject::tr("Attributes")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:587:18: warning: no header providing "QObject" is directly included [misc-include-cleaner] 40 | setPhase(QObject::tr("Normalisation")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:596:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 40 | setPhase(QObject::tr("Correlation")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:604:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 40 | setPhase(QObject::tr("Building Graph")); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:613:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 40 | QString CorrelationFileParser::log() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:645:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit transposedChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:646:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit dataRectChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:654:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit progressChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:658:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | QVariantMap CorrelationTabularDataParser::dataRect() const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:660:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | QVariantMap m; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:662:18: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"x"_s, _dataRect.x()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:663:18: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"y"_s, _dataRect.y()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:664:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"width"_s, _dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:665:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"height"_s, _dataRect.height()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:666:24: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"asQRect"_s, _dataRect); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:668:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"hasMissingValues"_s, _hasMissingValues); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:669:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"hasDiscreteValues"_s, _hasDiscreteValues); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:670:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"appearsToBeContinuous"_s, _appearsToBeContinuous); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:672:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"minValue"_s, _numericalMinMax.first); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:673:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | m.insert(u"maxValue"_s, _numericalMinMax.second); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:680:44: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_dataRectangleFutureWatcher, &QFutureWatcher::started, this, &CorrelationTabularDataParser::busyChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:681:44: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_dataRectangleFutureWatcher, &QFutureWatcher::finished, this, &CorrelationTabularDataParser::busyChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:682:44: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_dataRectangleFutureWatcher, &QFutureWatcher::finished, this, &CorrelationTabularDataParser::dataRectChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:683:44: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_dataRectangleFutureWatcher, &QFutureWatcher::finished, [this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:690:35: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_dataParserWatcher, &QFutureWatcher::started, this, &CorrelationTabularDataParser::busyChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:691:35: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_dataParserWatcher, &QFutureWatcher::finished, this, &CorrelationTabularDataParser::busyChanged); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:692:35: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_dataParserWatcher, &QFutureWatcher::finished, this, &CorrelationTabularDataParser::onDataLoaded); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:694:48: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_graphSizeEstimateFutureWatcher, &QFutureWatcher::started, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:694:63: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | connect(&_graphSizeEstimateFutureWatcher, &QFutureWatcher::started, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:696:48: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_graphSizeEstimateFutureWatcher, &QFutureWatcher::finished, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:696:63: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | connect(&_graphSizeEstimateFutureWatcher, &QFutureWatcher::finished, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:699:48: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 40 | connect(&_graphSizeEstimateFutureWatcher, &QFutureWatcher::finished, [this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:699:63: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | connect(&_graphSizeEstimateFutureWatcher, &QFutureWatcher::finished, [this] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:702:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit graphSizeEstimateChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:717:48: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 40 | bool CorrelationTabularDataParser::parse(const QUrl& fileUrl, const QString& fileType) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:717:69: warning: no header providing "QString" is directly included [misc-include-cleaner] 40 | bool CorrelationTabularDataParser::parse(const QUrl& fileUrl, const QString& fileType) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:719:11: warning: no header providing "QFuture" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([this, fileUrl, fileType]() | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:719:48: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([this, fileUrl, fileType]() | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:737:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit dataHasNumericalRectChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:761:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 40 | qDebug() << "CorrelationTabularDataParser QFutureWatcher " | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:769:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(_dataPtr != nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:775:11: warning: no header providing "QFuture" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([this]() | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:775:48: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([this]() | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:804:53: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | void CorrelationTabularDataParser::setDataRectangle(size_t column, size_t row) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:804:68: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | void CorrelationTabularDataParser::setDataRectangle(size_t column, size_t row) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:806:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(_dataPtr != nullptr); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:812:19: warning: no header providing "std::max" is directly included [misc-include-cleaner] 40 | column = std::max(size_t{1}, column); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:812:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | column = std::max(size_t{1}, column); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:814:11: warning: no header providing "QFuture" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([column, row, this]() | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:814:48: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([column, row, this]() | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:849:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static std::vector randomRowIndices(size_t first, size_t numRows, size_t numSamples) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:849:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static std::vector randomRowIndices(size_t first, size_t numRows, size_t numSamples) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:849:59: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static std::vector randomRowIndices(size_t first, size_t numRows, size_t numSamples) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:849:75: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static std::vector randomRowIndices(size_t first, size_t numRows, size_t numSamples) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:851:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | std::vector rowIndices(numRows - first); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:852:10: warning: no header providing "std::iota" is directly included [misc-include-cleaner] 40 | std::iota(rowIndices.begin(), rowIndices.end(), first); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:854:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 40 | std::sort(rowIndices.begin(), rowIndices.end()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:859:1: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | ContinuousDataVectors CorrelationTabularDataParser::sampledContinuousDataRows( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:860:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t numSampleRows, const QVariantMap& parameters) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:860:33: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | size_t numSampleRows, const QVariantMap& parameters) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:865:28: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto missingDataType = normaliseQmlEnum(parameters[u"missingDataType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:865:91: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto missingDataType = normaliseQmlEnum(parameters[u"missingDataType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:866:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto replacementValue = parameters[u"missingDataValue"_s].toDouble(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:867:24: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto scalingType = normaliseQmlEnum(parameters[u"scaling"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:867:75: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto scalingType = normaliseQmlEnum(parameters[u"scaling"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:868:26: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto normaliseType = normaliseQmlEnum(parameters[u"normalise"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:868:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto normaliseType = normaliseQmlEnum(parameters[u"normalise"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:869:25: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto clippingType = normaliseQmlEnum(parameters[u"clippingType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:869:82: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto clippingType = normaliseQmlEnum(parameters[u"clippingType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:870:53: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto clippingValue = parameters[u"clippingValue"_s].toDouble(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:872:5: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | ContinuousDataVectors dataRows; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:875:52: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto rowIndices = randomRowIndices(static_cast(_dataRect.y()), _dataPtr->numRows(), numSampleRows); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:876:53: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | rowData.reserve(rowIndices.size() * static_cast(_dataRect.width())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:878:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(const size_t rowIndex : rowIndices) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:880:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto startColumn = static_cast(_dataRect.x()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:881:55: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto finishColumn = startColumn + static_cast(_dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:897:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 40 | qDebug() << u"WARNING: non-numeric value at (%1, %2): %3"_s | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:897:78: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | qDebug() << u"WARNING: non-numeric value at (%1, %2): %3"_s | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:913:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | static_cast(_dataRect.width()), rowData); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:916:10: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 40 | std::transform(rowData.begin(), rowData.end(), rowData.begin(), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:922:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 26 | NodeId nodeId(0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:924:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(size_t row = 0; row < rowIndices.size(); row++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:926:57: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | dataRows.emplace_back(rowData, row, static_cast(_dataRect.width()), nodeId); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:938:1: warning: no header providing "DiscreteDataVectors" is directly included [misc-include-cleaner] 21 | DiscreteDataVectors CorrelationTabularDataParser::sampledDiscreteDataRows( | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:939:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | size_t numSampleRows, const QVariantMap&) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:939:33: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | size_t numSampleRows, const QVariantMap&) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:944:5: warning: no header providing "DiscreteDataVectors" is directly included [misc-include-cleaner] 21 | DiscreteDataVectors dataRows; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:945:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 40 | std::vector rowData; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:946:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | rowData.reserve(_dataPtr->numColumns() - static_cast(_dataRect.x())); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:948:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 26 | NodeId nodeId(0); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:950:52: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto rowIndices = randomRowIndices(static_cast(_dataRect.y()), _dataPtr->numRows(), numSampleRows); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:951:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | for(const size_t rowIndex : rowIndices) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:955:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto startColumn = static_cast(_dataRect.x()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:956:55: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto finishColumn = startColumn + static_cast(_dataRect.width()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:976:60: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | void CorrelationTabularDataParser::estimateGraphSize(const QVariantMap& parameters) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:978:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(!parameters.isEmpty()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:989:11: warning: no header providing "QFuture" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([this, parameters] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:989:19: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([this, parameters] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:989:55: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] 40 | const QFuture future = QtConcurrent::run([this, parameters] | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:991:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(!parameters.isEmpty()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:993:37: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | auto maximumK = static_cast(parameters[u"maximumK"_s].toUInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:993:67: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto maximumK = static_cast(parameters[u"maximumK"_s].toUInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:994:38: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto correlationFilterType = normaliseQmlEnum(parameters[u"correlationFilterType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:994:55: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | auto correlationFilterType = normaliseQmlEnum(parameters[u"correlationFilterType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:994:113: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto correlationFilterType = normaliseQmlEnum(parameters[u"correlationFilterType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:995:36: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto correlationDataType = normaliseQmlEnum(parameters[u"correlationDataType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:995:53: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | auto correlationDataType = normaliseQmlEnum(parameters[u"correlationDataType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:995:107: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto correlationDataType = normaliseQmlEnum(parameters[u"correlationDataType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:996:42: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto continuousCorrelationType = normaliseQmlEnum(parameters[u"continuousCorrelationType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:996:59: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | auto continuousCorrelationType = normaliseQmlEnum(parameters[u"continuousCorrelationType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:996:115: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto continuousCorrelationType = normaliseQmlEnum(parameters[u"continuousCorrelationType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:997:40: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 35 | auto discreteCorrelationType = normaliseQmlEnum(parameters[u"discreteCorrelationType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:997:57: warning: no header providing "CorrelationType" is directly included [misc-include-cleaner] 23 | auto discreteCorrelationType = normaliseQmlEnum(parameters[u"discreteCorrelationType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:997:111: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 35 | auto discreteCorrelationType = normaliseQmlEnum(parameters[u"discreteCorrelationType"_s].toInt()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1000:20: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | return QVariantMap(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1002:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(static_cast(_dataRect.x() + _dataRect.width()) <= _dataPtr->numColumns()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1002:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | Q_ASSERT(static_cast(_dataRect.x() + _dataRect.width()) <= _dataPtr->numColumns()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1003:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 40 | Q_ASSERT(static_cast(_dataRect.y() + _dataRect.height()) <= _dataPtr->numRows()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1003:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | Q_ASSERT(static_cast(_dataRect.y() + _dataRect.height()) <= _dataPtr->numRows()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1005:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 40 | const size_t maxSampleRows = 1400; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1006:41: warning: no header providing "std::min" is directly included [misc-include-cleaner] 40 | const auto numSampleRows = std::min(maxSampleRows, _dataPtr->numRows()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1007:9: warning: no header providing "EdgeList" is directly included [misc-include-cleaner] 26 | EdgeList sampleEdges; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1012:14: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1012:35: warning: no header providing "CorrelationDataType_reflector::Enum::Continuous" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Continuous: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1018:24: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | return QVariantMap(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1024:14: warning: no header providing "CorrelationDataType" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1024:35: warning: no header providing "CorrelationDataType_reflector::Enum::Discrete" is directly included [misc-include-cleaner] 23 | case CorrelationDataType::Discrete: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1030:24: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 40 | return QVariantMap(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1040:14: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1040:37: warning: no header providing "CorrelationFilterType_reflector::Enum::Threshold" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Threshold: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1042:14: warning: no header providing "CorrelationFilterType" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1042:37: warning: no header providing "CorrelationFilterType_reflector::Enum::Knn" is directly included [misc-include-cleaner] 23 | case CorrelationFilterType::Knn: | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1058:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit dataLoaded(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1063:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit failedChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1067:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 40 | emit completeChanged(); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:1070:1: warning: no header providing "QAbstractTableModel" is directly included [misc-include-cleaner] 40 | QAbstractTableModel* CorrelationTabularDataParser::tableModel() | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 21958 warnings generated. [73/195] /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:27:44: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 26 | 27 | QCPColumnAnnotations::QCPColumnAnnotations(QCPAxis* keyAxis, QCPAxis* valueAxis) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:27:62: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 26 | 27 | QCPColumnAnnotations::QCPColumnAnnotations(QCPAxis* keyAxis, QCPAxis* valueAxis) : | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:28:5: warning: no header providing "QCPAbstractPlottable" is directly included [misc-include-cleaner] 26 | 27 | QCPColumnAnnotations::QCPColumnAnnotations(QCPAxis* keyAxis, QCPAxis* valueAxis) : 28 | QCPAbstractPlottable(keyAxis, valueAxis), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:33:47: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 26 | 27 | QCPColumnAnnotations::QCPColumnAnnotations(QCPAxis* keyAxis, QCPAxis* valueAxis) : 28 | QCPAbstractPlottable(keyAxis, valueAxis), 29 | _colorGradient(Defaults::GRADIENT), 30 | _colorPalette(Defaults::PALETTE) 31 | {} 32 | 33 | double QCPColumnAnnotations::selectTest(const QPointF&, bool, QVariant*) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:33:63: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 26 | 27 | QCPColumnAnnotations::QCPColumnAnnotations(QCPAxis* keyAxis, QCPAxis* valueAxis) : 28 | QCPAbstractPlottable(keyAxis, valueAxis), 29 | _colorGradient(Defaults::GRADIENT), 30 | _colorPalette(Defaults::PALETTE) 31 | {} 32 | 33 | double QCPColumnAnnotations::selectTest(const QPointF&, bool, QVariant*) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:39:1: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | 27 | QCPColumnAnnotations::QCPColumnAnnotations(QCPAxis* keyAxis, QCPAxis* valueAxis) : 28 | QCPAbstractPlottable(keyAxis, valueAxis), 29 | _colorGradient(Defaults::GRADIENT), 30 | _colorPalette(Defaults::PALETTE) 31 | {} 32 | 33 | double QCPColumnAnnotations::selectTest(const QPointF&, bool, QVariant*) const 34 | { 35 | // We don't care about selection 36 | return -1.0; 37 | } 38 | 39 | QCPRange QCPColumnAnnotations::getKeyRange(bool& foundRange, QCP::SignDomain) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:39:67: warning: no header providing "QCP::SignDomain" is directly included [misc-include-cleaner] 26 | 27 | QCPColumnAnnotations::QCPColumnAnnotations(QCPAxis* keyAxis, QCPAxis* valueAxis) : 28 | QCPAbstractPlottable(keyAxis, valueAxis), 29 | _colorGradient(Defaults::GRADIENT), 30 | _colorPalette(Defaults::PALETTE) 31 | {} 32 | 33 | double QCPColumnAnnotations::selectTest(const QPointF&, bool, QVariant*) const 34 | { 35 | // We don't care about selection 36 | return -1.0; 37 | } 38 | 39 | QCPRange QCPColumnAnnotations::getKeyRange(bool& foundRange, QCP::SignDomain) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:45:1: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | QCPRange QCPColumnAnnotations::getValueRange(bool& foundRange, QCP::SignDomain, const QCPRange&) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:45:69: warning: no header providing "QCP::SignDomain" is directly included [misc-include-cleaner] 26 | QCPRange QCPColumnAnnotations::getValueRange(bool& foundRange, QCP::SignDomain, const QCPRange&) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:45:87: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 26 | QCPRange QCPColumnAnnotations::getValueRange(bool& foundRange, QCP::SignDomain, const QCPRange&) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:51:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | void QCPColumnAnnotations::setData(size_t y, std::vector indices, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:51:51: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 26 | void QCPColumnAnnotations::setData(size_t y, std::vector indices, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:51:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | void QCPColumnAnnotations::setData(size_t y, std::vector indices, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:52:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | bool selected, size_t offset, const ColumnAnnotation* columnAnnotation) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:52:41: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 21 | bool selected, size_t offset, const ColumnAnnotation* columnAnnotation) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:54:31: warning: no header providing "std::move" is directly included [misc-include-cleaner] 26 | _rows.emplace(y, Row{std::move(indices), selected, offset, columnAnnotation}); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:59:44: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto colorFor = [this](const Row& row, size_t index) -> QColor | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:59:61: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | auto colorFor = [this](const Row& row, size_t index) -> QColor | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:68:28: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 26 | return Qt::transparent; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:84:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t left = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:85:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t right = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:86:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t width = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:112:64: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const QCPColumnAnnotations::Rect* QCPColumnAnnotations::rectAt(size_t x, const ColumnAnnotation& annotation) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:112:80: warning: no header providing "ColumnAnnotation" is directly included [misc-include-cleaner] 21 | const QCPColumnAnnotations::Rect* QCPColumnAnnotations::rectAt(size_t x, const ColumnAnnotation& annotation) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:130:47: warning: no header providing "QCPPainter" is directly included [misc-include-cleaner] 26 | int QCPColumnAnnotations::widthForValue(const QCPPainter* painter, const QString& value) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:130:74: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | int QCPColumnAnnotations::widthForValue(const QCPPainter* painter, const QString& value) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:141:39: warning: no header providing "QCPPainter" is directly included [misc-include-cleaner] 26 | void QCPColumnAnnotations::renderRect(QCPPainter* painter, const Rect& r) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:146:5: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 26 | QRectF rect(xPixel - _halfCellWidth, yPixel - _cellHeight, | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:153:5: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | QColor color; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:156:17: warning: no header providing "QColor" is directly included [misc-include-cleaner] 26 | color = QColor::fromHsl(r._color.hue(), 20, std::max(r._color.lightness(), 150)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:156:58: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | color = QColor::fromHsl(r._color.hue(), 20, std::max(r._color.lightness(), 150)); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:173:24: warning: no header providing "qreal" is directly included [misc-include-cleaner] 26 | if(static_cast(widthForValue(painter, r._value)) <= rect.width()) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:178:41: warning: no header providing "Qt::AlignLeft" is directly included [misc-include-cleaner] 26 | painter->drawText(rect, Qt::AlignLeft | Qt::AlignVCenter, r._value, &rect); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:178:57: warning: no header providing "Qt::AlignVCenter" is directly included [misc-include-cleaner] 26 | painter->drawText(rect, Qt::AlignLeft | Qt::AlignVCenter, r._value, &rect); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:183:33: warning: no header providing "QCPPainter" is directly included [misc-include-cleaner] 26 | void QCPColumnAnnotations::draw(QCPPainter* painter) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:200:43: warning: no header providing "QCPPainter" is directly included [misc-include-cleaner] 26 | void QCPColumnAnnotations::drawLegendIcon(QCPPainter*, const QRectF&) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/qcpcolumnannotations.cpp:200:62: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 26 | void QCPColumnAnnotations::drawLegendIcon(QCPPainter*, const QRectF&) const | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 29321 warnings generated. [74/195] /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:22:1: warning: included header cancellable.h is not used directly [misc-include-cleaner] 22 | #include "shared/utils/cancellable.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:24:1: warning: included header set is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:27:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:29:34: warning: no header providing "ContinuousDataVectors" is directly included [misc-include-cleaner] 21 | #include "shared/loading/iparser.h" 22 | #include "shared/utils/cancellable.h" 23 | 24 | #include 25 | #include 26 | 27 | #include 28 | 29 | bool QuantileNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:36:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | 29 | bool QuantileNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const 30 | { 31 | if(dataRows.empty()) 32 | return true; 33 | 34 | auto numColumns = dataRows.at(0).size(); 35 | 36 | std::vector> sortedColumnValues(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:36:22: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | 29 | bool QuantileNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const 30 | { 31 | if(dataRows.empty()) 32 | return true; 33 | 34 | auto numColumns = dataRows.at(0).size(); 35 | 36 | std::vector> sortedColumnValues(numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:37:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | 29 | bool QuantileNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const 30 | { 31 | if(dataRows.empty()) 32 | return true; 33 | 34 | auto numColumns = dataRows.at(0).size(); 35 | 36 | std::vector> sortedColumnValues(numColumns); 37 | std::vector ranking(dataRows.size() * numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:37:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | #include 25 | #include 26 | 27 | #include 28 | 29 | bool QuantileNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const 30 | { 31 | if(dataRows.empty()) 32 | return true; 33 | 34 | auto numColumns = dataRows.at(0).size(); 35 | 36 | std::vector> sortedColumnValues(numColumns); 37 | std::vector ranking(dataRows.size() * numColumns); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:39:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | #include 25 | #include 26 | 27 | #include 28 | 29 | bool QuantileNormaliser::process(ContinuousDataVectors& dataRows, IParser* parser) const 30 | { 31 | if(dataRows.empty()) 32 | return true; 33 | 34 | auto numColumns = dataRows.at(0).size(); 35 | 36 | std::vector> sortedColumnValues(numColumns); 37 | std::vector ranking(dataRows.size() * numColumns); 38 | 39 | size_t row = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:41:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:46:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | std::vector columnValues; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:50:63: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 24 | std::transform(dataRows.begin(), dataRows.end(), std::back_inserter(columnValues), | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:69:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t i = 0; | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:91:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | std::vector rowMeans(dataRows.size()); | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:97:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:109:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t column = 0; column < numColumns; column++) | ^ /home/runner/work/graphia/graphia/source/plugins/correlation/quantilenormaliser.cpp:113:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(rank < rowMeans.size()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 7708 warnings generated. [75/195] /home/runner/work/graphia/graphia/source/plugins/generic/genericplugin.cpp:21:1: warning: included header QDir is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/plugins/generic/genericplugin.cpp:25:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 22 | 23 | GenericPlugin::GenericPlugin() 24 | { 25 | Q_INIT_RESOURCE(generic_qml); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 19561 warnings generated. [76/195] /home/runner/work/graphia/graphia/source/plugins/websearch/websearchplugin.cpp:21:1: warning: included header QDir is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/plugins/websearch/websearchplugin.cpp:25:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 22 | 23 | WebSearchPlugin::WebSearchPlugin() 24 | { 25 | Q_INIT_RESOURCE(websearch_qml); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 19561 warnings generated. [77/195] /home/runner/work/graphia/graphia/source/app/application.cpp:24:1: warning: included header tracking.h is not used directly [misc-include-cleaner] 24 | #include "tracking.h" | ^~~~~~~~~~~~~~~~~~~~~ 25 | #include "preferences.h" /home/runner/work/graphia/graphia/source/app/application.cpp:47:1: warning: included header QString is not used directly [misc-include-cleaner] 47 | #include | ^~~~~~~~~~~~~~~~~~ 48 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:48:1: warning: included header QStringList is not used directly [misc-include-cleaner] 48 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 49 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:49:1: warning: included header QDir is not used directly [misc-include-cleaner] 49 | #include | ^~~~~~~~~~~~~~~ 50 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:50:1: warning: included header QStandardPaths is not used directly [misc-include-cleaner] 50 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 51 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:51:1: warning: included header QMessageBox is not used directly [misc-include-cleaner] 51 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 52 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:52:1: warning: included header QDebug is not used directly [misc-include-cleaner] 52 | #include | ^~~~~~~~~~~~~~~~~ 53 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:53:1: warning: included header QApplication is not used directly [misc-include-cleaner] 53 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 54 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:54:1: warning: included header QClipboard is not used directly [misc-include-cleaner] 54 | #include | ^~~~~~~~~~~~~~~~~~~~~ 55 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:55:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 55 | #include | ^~~~~~~~~~~~~~~~~~~~~ 56 | /home/runner/work/graphia/graphia/source/app/application.cpp:57:1: warning: included header cmath is not used directly [misc-include-cleaner] 57 | #include | ^~~~~~~~~~~~~~~~ 58 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:62:1: warning: included header chrono is not used directly [misc-include-cleaner] 62 | #include | ^~~~~~~~~~~~~~~~~ 63 | #include /home/runner/work/graphia/graphia/source/app/application.cpp:68:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | #include 61 | #include 62 | #include 63 | #include 64 | 65 | using namespace Qt::Literals::StringLiterals; 66 | 67 | const char* const Application::_uri = APP_URI; 68 | QString Application::_appDir = u"."_s; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:75:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | #include 61 | #include 62 | #include 63 | #include 64 | 65 | using namespace Qt::Literals::StringLiterals; 66 | 67 | const char* const Application::_uri = APP_URI; 68 | QString Application::_appDir = u"."_s; 69 | 70 | struct UrlType 71 | { 72 | QString _name; 73 | QString _individualDescription; 74 | QString _collectiveDescription; 75 | QStringList _extensions; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:86:13: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 64 | static std::vector urlTypesForPlugins(const std::vector& plugins) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:86:59: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 64 | static std::vector urlTypesForPlugins(const std::vector& plugins) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:88:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 64 | std::vector fileTypes; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:111:79: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 60 | return a._collectiveDescription.compare(b._collectiveDescription, Qt::CaseInsensitive) < 0; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:125:25: warning: no header providing "Updater" is directly included [misc-include-cleaner] 46 | connect(&_updater, &Updater::noNewUpdateAvailable, this, &Application::noNewUpdateAvailable); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:126:25: warning: no header providing "Updater" is directly included [misc-include-cleaner] 46 | connect(&_updater, &Updater::updateDownloaded, this, &Application::newUpdateAvailable); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:127:25: warning: no header providing "Updater" is directly included [misc-include-cleaner] 46 | connect(&_updater, &Updater::progressChanged, this, &Application::updateDownloadProgressChanged); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:128:25: warning: no header providing "Updater" is directly included [misc-include-cleaner] 46 | connect(&_updater, &Updater::changeLogStored, this, &Application::changeLogStored); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:130:31: warning: no header providing "DownloadQueue" is directly included [misc-include-cleaner] 24 | connect(&_downloadQueue, &DownloadQueue::idleChanged, this, &Application::downloadActiveChanged); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:131:31: warning: no header providing "DownloadQueue" is directly included [misc-include-cleaner] 24 | connect(&_downloadQueue, &DownloadQueue::progressChanged, this, &Application::downloadProgressChanged); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:132:31: warning: no header providing "DownloadQueue" is directly included [misc-include-cleaner] 24 | connect(&_downloadQueue, &DownloadQueue::complete, this, &Application::downloadComplete); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:133:31: warning: no header providing "DownloadQueue" is directly included [misc-include-cleaner] 24 | connect(&_downloadQueue, &DownloadQueue::error, this, &Application::downloadError); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:163:43: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 60 | QString Application::copyright() { return QStringLiteral(COPYRIGHT).replace(u"(c)"_s, u"©"_s); } | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:163:83: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | QString Application::copyright() { return QStringLiteral(COPYRIGHT).replace(u"(c)"_s, u"©"_s); } | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:163:92: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | QString Application::copyright() { return QStringLiteral(COPYRIGHT).replace(u"(c)"_s, u"©"_s); } | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:169:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList Application::resourceDirectories() | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:171:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList resourceDirs | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:174:9: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 60 | QStandardPaths::writableLocation( | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:175:13: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 60 | QStandardPaths::StandardLocation::AppDataLocation) + "/resources" | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:180:25: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 60 | resourceDirs.append(QStringLiteral(SOURCE_DIR)); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:196:5: warning: no header providing "QDir" is directly included [misc-include-cleaner] 60 | QDir usrDir(Application::_appDir); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:217:38: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | bool Application::canOpenAnyOf(const QStringList& urlTypeNames) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:226:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList Application::urlTypesOf(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:231:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList urlTypeNames; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:241:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList Application::urlTypesFor(const QString& extension) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:243:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList urlTypeNames; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:250:19: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 24 | if(u::contains(loadedPlugin._interface->extensionsForUrlTypeName(urlTypeName), extension)) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:264:15: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 24 | if(u::contains(loadedPlugin._interface->loadableUrlTypeNames(), urlType)) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:271:67: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QString Application::urlTypeFor(const QString& description, const QStringList& extensions) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:285:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 60 | qDebug() << "Ambiguous identification of" << description << extensions; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:290:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList Application::failureReasons(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:292:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList failureReasons; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:330:34: warning: no header providing "std::move" is directly included [misc-include-cleaner] 64 | _factories.emplace_back(std::move(saver)); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:347:1: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 60 | QVariantList Application::saverFileTypes() | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:349:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 60 | QVariantList saverData; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:352:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 60 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:353:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | map.insert(u"name"_s, saver->name()); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:354:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | map.insert(u"extension"_s, saver->extension()); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:370:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList Application::pluginNames(const QString& urlTypeName) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:372:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList viablePluginNames; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:403:8: warning: no header providing "Updater" is directly included [misc-include-cleaner] 46 | if(Updater::updateStatus() != u"installed"_s) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:403:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | if(Updater::updateStatus() != u"installed"_s) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:404:9: warning: no header providing "Updater" is directly included [misc-include-cleaner] 46 | Updater::resetUpdateStatus(); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:412:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 60 | QApplication::clipboard()->setImage(image, QClipboard::Clipboard); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:412:48: warning: no header providing "QClipboard" is directly included [misc-include-cleaner] 60 | QApplication::clipboard()->setImage(image, QClipboard::Clipboard); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:421:29: warning: no header providing "QDir" is directly included [misc-include-cleaner] 60 | auto resolvedPath = QDir(dir).filePath(relativePath); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:423:12: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 60 | if(QFileInfo::exists(resolvedPath)) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:437:29: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 60 | QString canonicalPath = QFileInfo(path).canonicalPath(); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:443:52: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 60 | const QString canonicalResourceDirectory = QFileInfo(resourceDirectory).canonicalPath(); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:479:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList Application::linkArgumentsFor(const QUrl& url) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:481:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 60 | Q_ASSERT(isNativeLink(url)); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:512:38: warning: no header providing "std::chrono_literals::operator""s" is directly included [misc-include-cleaner] 57 | std::this_thread::sleep_for(1s); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:524:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | u::setCurrentThreadName(u"DeadlockThread"_s); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:527:38: warning: no header providing "std::chrono_literals::operator""s" is directly included [misc-include-cleaner] 57 | std::this_thread::sleep_for(1s); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:532:34: warning: no header providing "std::chrono_literals::operator""s" is directly included [misc-include-cleaner] 57 | std::this_thread::sleep_for(1s); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:541:35: warning: no header providing "std::chrono_literals::operator""s" is directly included [misc-include-cleaner] 57 | std::this_thread::sleep_for(35s); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:546:73: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | CrashHandler::instance()->submitMinidump(u"Silent Test Crash Submit"_s); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:554:23: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 24 | auto _crashType = normaliseQmlEnum(crashType); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:577:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 64 | std::vector v; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:579:9: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 60 | Q_UNUSED(unused); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:622:5: warning: no header providing "qInfo" is directly included [misc-include-cleaner] 60 | qInfo() << "qInfo()"; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:623:5: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 60 | qWarning() << "qWarning()"; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:624:5: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 60 | qDebug() << "qDebug()"; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:625:5: warning: no header providing "qCritical" is directly included [misc-include-cleaner] 60 | qCritical() << "qCritical()"; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:641:5: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 60 | QMessageBox::aboutQt(nullptr); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:666:9: warning: no header providing "QDir" is directly included [misc-include-cleaner] 60 | QDir::separator() + exe); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:677:8: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 60 | if(QFileInfo::exists(fullyQualifiedExe)) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:698:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 64 | std::vector pluginsDirs = | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:701:9: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 60 | QStandardPaths::writableLocation( | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:702:13: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 60 | QStandardPaths::StandardLocation::AppDataLocation) + "/plugins" | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:718:5: warning: no header providing "QDir" is directly included [misc-include-cleaner] 60 | QDir usrDir(Application::_appDir); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:726:37: warning: no header providing "QDir" is directly included [misc-include-cleaner] 60 | if(pluginsDir.isEmpty() || !QDir(pluginsDir).exists()) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:731:15: warning: no header providing "QDir" is directly included [misc-include-cleaner] 60 | const QDir pluginsQDir(pluginsDir); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:732:54: warning: no header providing "QDir" is directly included [misc-include-cleaner] 60 | const auto fileNames = pluginsQDir.entryList(QDir::Files); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:742:17: warning: no header providing "QLibrary" is directly included [misc-include-cleaner] 60 | if(!QLibrary::isLibrary(fileName)) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:744:41: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 60 | std::cerr << " ..." << QFileInfo(fileName).fileName().toStdString() << | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:749:50: warning: no header providing "QPluginLoader" is directly included [misc-include-cleaner] 60 | auto pluginLoader = std::make_unique(pluginsQDir.absoluteFilePath(fileName)); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:753:41: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 60 | std::cerr << " ..." << QFileInfo(fileName).fileName().toStdString() << | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:756:17: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 60 | QMessageBox::warning(nullptr, QObject::tr("Plugin Load Failed"), | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:758:66: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 60 | .arg(fileName, pluginLoader->errorString()), QMessageBox::Ok); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:764:44: warning: no header providing "std::move" is directly included [misc-include-cleaner] 64 | initialisePlugin(iplugin, std::move(pluginLoader)); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:768:9: warning: no header providing "QPluginLoader" is directly included [misc-include-cleaner] 60 | if(!QPluginLoader::staticInstances().empty()) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:772:42: warning: no header providing "QPluginLoader" is directly included [misc-include-cleaner] 60 | for(auto* staticPluginInstance : QPluginLoader::staticInstances()) // clazy:exclude=range-loop-detach | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:781:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 60 | QCoreApplication::processEvents(); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:786:69: warning: no header providing "QPluginLoader" is directly included [misc-include-cleaner] 60 | bool Application::initialisePlugin(IPlugin* plugin, std::unique_ptr pluginLoader) | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:793:9: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 60 | QFileInfo(pluginLoader->fileName()).fileName() : | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:794:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | QString(u"Static"_s); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:799:72: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 60 | return loadedPlugin._interface->name().compare(pluginName, Qt::CaseInsensitive) == 0; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:816:46: warning: no header providing "std::move" is directly included [misc-include-cleaner] 64 | _loadedPlugins.emplace_back(plugin, std::move(pluginLoader)); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:834:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 64 | std::vector nativeFileTypes{{NativeFileType, QString("%1 File").arg(name()), | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:848:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | description += u" "_s; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:856:24: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | description += u")"_s; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:869:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | description += u" "_s; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:876:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 60 | description += u")"_s; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:881:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 60 | emit nameFiltersChanged(); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:883:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 60 | QStringList loadableExtensions; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:890:8: warning: no header providing "u::removeDuplicates" is directly included [misc-include-cleaner] 24 | u::removeDuplicates(loadableExtensions); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:893:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 60 | emit loadableExtensionsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:911:1: warning: no header providing "QAbstractListModel" is directly included [misc-include-cleaner] 60 | QAbstractListModel* Application::urlTypeDetails() | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:916:1: warning: no header providing "QAbstractListModel" is directly included [misc-include-cleaner] 60 | QAbstractListModel* Application::pluginDetails() | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:921:41: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 60 | int UrlTypeDetailsModel::rowCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:926:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 60 | QVariant UrlTypeDetailsModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:926:42: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 60 | QVariant UrlTypeDetailsModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:935:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 58 | auto& urlType = urlTypes.at(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:941:14: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 60 | case Qt::DisplayRole: | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:949:1: warning: no header providing "QHash" is directly included [misc-include-cleaner] 60 | QHash UrlTypeDetailsModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:949:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 60 | QHash UrlTypeDetailsModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:951:5: warning: no header providing "QHash" is directly included [misc-include-cleaner] 60 | QHash roles; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:951:16: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 60 | QHash roles; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:958:40: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 60 | int PluginDetailsModel::rowCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:963:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 60 | QVariant PluginDetailsModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:963:41: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 60 | QVariant PluginDetailsModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:970:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 58 | auto* plugin = _loadedPlugins->at(static_cast(row))._interface; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:974:14: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 60 | case Qt::DisplayRole: | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:1006:1: warning: no header providing "QHash" is directly included [misc-include-cleaner] 60 | QHash PluginDetailsModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:1006:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 60 | QHash PluginDetailsModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:1008:5: warning: no header providing "QHash" is directly included [misc-include-cleaner] 60 | QHash roles; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:1008:16: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 60 | QHash roles; | ^ /home/runner/work/graphia/graphia/source/app/application.cpp:1017:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 60 | qmlRegisterType( | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 35931 warnings generated. [78/195] /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:23:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:24:1: warning: included header QDebug is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:57:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | int Attribute::valueOf(Helper, NodeId nodeId) const { return callValueFn(_.intNodeIdFn, nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:58:37: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | int Attribute::valueOf(Helper, EdgeId edgeId) const { return callValueFn(_.intEdgeIdFn, edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:59:43: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | int Attribute::valueOf(Helper, const IGraphComponent& component) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:60:33: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | { return callValueFn(_.intComponentFn, component); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:62:43: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | double Attribute::valueOf(Helper, NodeId nodeId) const { return callValueFn(_.floatNodeIdFn, nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:63:43: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | double Attribute::valueOf(Helper, EdgeId edgeId) const { return callValueFn(_.floatEdgeIdFn, edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:64:49: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | double Attribute::valueOf(Helper, const IGraphComponent& component) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:65:36: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | { return callValueFn(_.floatComponentFn, component); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:67:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::valueOf(Helper, NodeId nodeId) const { return callValueFn(_.stringNodeIdFn, nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:67:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::valueOf(Helper, NodeId nodeId) const { return callValueFn(_.stringNodeIdFn, nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:67:45: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | QString Attribute::valueOf(Helper, NodeId nodeId) const { return callValueFn(_.stringNodeIdFn, nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:68:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::valueOf(Helper, EdgeId edgeId) const { return callValueFn(_.stringEdgeIdFn, edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:68:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::valueOf(Helper, EdgeId edgeId) const { return callValueFn(_.stringEdgeIdFn, edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:68:45: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | QString Attribute::valueOf(Helper, EdgeId edgeId) const { return callValueFn(_.stringEdgeIdFn, edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:69:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::valueOf(Helper, const IGraphComponent& component) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:69:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::valueOf(Helper, const IGraphComponent& component) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:69:51: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | QString Attribute::valueOf(Helper, const IGraphComponent& component) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:70:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | { return callValueFn(_.stringComponentFn, component); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:70:37: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | { return callValueFn(_.stringComponentFn, component); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:72:32: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | bool Attribute::valueMissingOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:80:32: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | bool Attribute::valueMissingOf(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:88:38: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | bool Attribute::valueMissingOf(const IGraphComponent& component) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:91:40: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | return callValueFn(_.valueMissingComponentFn, component); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:96:50: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setIntValueFn(ValueFn valueFn) { clearValueFunctions(); _.intNodeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:97:50: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setIntValueFn(ValueFn valueFn) { clearValueFunctions(); _.intEdgeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:98:56: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setIntValueFn(ValueFn valueFn) { clearValueFunctions(); _.intComponentFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:100:55: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setFloatValueFn(ValueFn valueFn) { clearValueFunctions(); _.floatNodeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:101:55: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setFloatValueFn(ValueFn valueFn) { clearValueFunctions(); _.floatEdgeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:102:61: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setFloatValueFn(ValueFn valueFn) { clearValueFunctions(); _.floatComponentFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:104:48: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | Attribute& Attribute::setStringValueFn(ValueFn valueFn) { clearValueFunctions(); _.stringNodeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:104:57: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setStringValueFn(ValueFn valueFn) { clearValueFunctions(); _.stringNodeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:105:48: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | Attribute& Attribute::setStringValueFn(ValueFn valueFn) { clearValueFunctions(); _.stringEdgeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:105:57: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setStringValueFn(ValueFn valueFn) { clearValueFunctions(); _.stringEdgeIdFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:106:48: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | Attribute& Attribute::setStringValueFn(ValueFn valueFn) { clearValueFunctions(); _.stringComponentFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:106:63: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setStringValueFn(ValueFn valueFn) { clearValueFunctions(); _.stringComponentFn = valueFn; return *this; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:108:55: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setValueMissingFn(ValueFn missingFn) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:112:25: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:112:38: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:113:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Setting value missing function with mismatched element type"; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:117:55: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setValueMissingFn(ValueFn missingFn) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:121:25: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:121:38: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:122:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Setting value missing function with mismatched element type"; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:126:61: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setValueMissingFn(ValueFn missingFn) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:130:25: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:130:38: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:131:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Setting value missing function with mismatched element type"; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:135:48: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setSetValueFn(SetValueFn setValueFn) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:139:25: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:139:38: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:140:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Setting set value function with mismatched element type"; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:144:48: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setSetValueFn(SetValueFn setValueFn) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:148:25: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:148:38: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:149:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Setting set value function with mismatched element type"; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:153:54: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | Attribute& Attribute::setSetValueFn(SetValueFn setValueFn) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:157:25: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:157:38: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 21 | if(elementType() != ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:158:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Setting set value function with mismatched element type"; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:181:19: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | _.flags.reset(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:181:34: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | _.flags.reset(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:188:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Node: return valueFnIsSet(_.valueMissingNodeIdFn); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:188:23: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | case ElementType::Node: return valueFnIsSet(_.valueMissingNodeIdFn); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:189:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: return valueFnIsSet(_.valueMissingEdgeIdFn); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:189:23: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: return valueFnIsSet(_.valueMissingEdgeIdFn); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:190:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Component: return valueFnIsSet(_.valueMissingComponentFn); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:190:23: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 21 | case ElementType::Component: return valueFnIsSet(_.valueMissingComponentFn); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:197:28: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | void Attribute::setValueOf(NodeId nodeId, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:197:49: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | void Attribute::setValueOf(NodeId nodeId, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:199:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_.setValueNodeIdFn != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:205:28: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | void Attribute::setValueOf(EdgeId edgeId, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:205:49: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | void Attribute::setValueOf(EdgeId edgeId, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:207:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_.setValueEdgeIdFn != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:213:34: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | void Attribute::setValueOf(const IGraphComponent& graphComponent, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:213:73: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | void Attribute::setValueOf(const IGraphComponent& graphComponent, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:215:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_.setValueComponentFn != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:221:1: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | ValueType Attribute::valueType() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:228:16: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | return ValueType::Int; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:228:27: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | return ValueType::Int; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:233:16: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | return ValueType::Float; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:233:27: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | return ValueType::Float; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:238:16: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | return ValueType::String; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:238:27: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 21 | return ValueType::String; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:240:21: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | default: return ValueType::Unknown; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:240:32: warning: no header providing "ValueType_reflector::Enum::Unknown" is directly included [misc-include-cleaner] 21 | default: return ValueType::Unknown; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:244:1: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | ElementType Attribute::elementType() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:251:16: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | return ElementType::Node; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:251:29: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | return ElementType::Node; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:256:16: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | return ElementType::Edge; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:256:29: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | return ElementType::Edge; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:261:16: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | return ElementType::Component; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:261:29: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 21 | return ElementType::Component; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:264:16: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | return ElementType::None; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:264:29: warning: no header providing "ElementType_reflector::Enum::None" is directly included [misc-include-cleaner] 21 | return ElementType::None; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:280:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::parameterValue() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:291:41: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | bool Attribute::setParameterValue(const QString& value) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:305:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList Attribute::validParameterValues() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:310:1: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 21 | IAttribute& Attribute::setValidParameterValues(const QStringList& values) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:310:54: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | IAttribute& Attribute::setValidParameterValues(const QStringList& values) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:316:80: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | bool AttributeRange::hasMin() const { return _attribute->_.intMin != std::numeric_limits::max(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:317:80: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | bool AttributeRange::hasMax() const { return _attribute->_.intMax != std::numeric_limits::lowest(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:320:86: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | int AttributeRange::min() const { return hasMin() ? _attribute->_.intMin : std::numeric_limits::lowest(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:321:86: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | int AttributeRange::max() const { return hasMax() ? _attribute->_.intMax : std::numeric_limits::max(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:322:1: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 21 | IAttribute& AttributeRange::setMin(int min) { _attribute->_.intMin = min; _attribute->disableAutoRange(); return *_attribute; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:323:1: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 21 | IAttribute& AttributeRange::setMax(int max) { _attribute->_.intMax = max; _attribute->disableAutoRange(); return *_attribute; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:325:85: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | bool AttributeRange::hasMin() const { return _attribute->_.floatMin != std::numeric_limits::max(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:326:85: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | bool AttributeRange::hasMax() const { return _attribute->_.floatMax != std::numeric_limits::lowest(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:329:94: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | double AttributeRange::min() const { return hasMin() ? _attribute->_.floatMin : std::numeric_limits::lowest(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:330:94: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | double AttributeRange::max() const { return hasMax() ? _attribute->_.floatMax : std::numeric_limits::max(); } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:331:1: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 21 | IAttribute& AttributeRange::setMin(double min) { _attribute->_.floatMin = min; _attribute->disableAutoRange(); return *_attribute; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:332:1: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 21 | IAttribute& AttributeRange::setMax(double max) { _attribute->_.floatMax = max; _attribute->disableAutoRange(); return *_attribute; } | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:338:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return _attribute->_intRange.hasMin(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:338:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return _attribute->_intRange.hasMin(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:339:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.hasMin(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:339:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.hasMin(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:348:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return _attribute->_intRange.hasMax(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:348:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return _attribute->_intRange.hasMax(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:349:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.hasMax(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:349:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.hasMax(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:358:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return _attribute->_intRange.hasRange(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:358:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return _attribute->_intRange.hasRange(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:359:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.hasRange(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:359:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.hasRange(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:368:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return static_cast(_attribute->_intRange.min()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:368:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return static_cast(_attribute->_intRange.min()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:369:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.min(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:369:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.min(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:370:26: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | default: return std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:378:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return static_cast(_attribute->_intRange.max()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:378:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: return static_cast(_attribute->_intRange.max()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:379:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.max(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:379:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: return _attribute->_floatRange.max(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:380:26: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 25 | default: return std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:384:1: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 21 | IAttribute& AttributeNumericRange::setMin(double min) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:388:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: _attribute->_intRange.setMin(static_cast(min)); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:388:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: _attribute->_intRange.setMin(static_cast(min)); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:389:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: _attribute->_floatRange.setMin(min); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:389:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: _attribute->_floatRange.setMin(min); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:396:1: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 21 | IAttribute& AttributeNumericRange::setMax(double max) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:400:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: _attribute->_intRange.setMax(static_cast(max)); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:400:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: _attribute->_intRange.setMax(static_cast(max)); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:401:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: _attribute->_floatRange.setMax(max); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:401:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: _attribute->_floatRange.setMax(max); break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:408:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | Attribute::Name Attribute::parseAttributeName(QString name) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:410:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | const QString sourceString = u"source."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:410:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const QString sourceString = u"source."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:411:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | const QString targetString = u"target."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:411:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const QString targetString = u"target."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:430:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString parameter; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:438:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | name.replace(u"\""_s, ""_L1); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:438:29: warning: no header providing "Qt::operator""_L1" is directly included [misc-include-cleaner] 25 | name.replace(u"\""_s, ""_L1); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:439:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | parameter.replace(u"\""_s, ""_L1); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:439:34: warning: no header providing "Qt::operator""_L1" is directly included [misc-include-cleaner] 25 | parameter.replace(u"\""_s, ""_L1); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:444:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::enquoteAttributeName(const QString& name) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:444:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::enquoteAttributeName(const QString& name) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:446:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | const QString sourceString = u"source."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:446:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const QString sourceString = u"source."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:447:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | const QString targetString = u"target."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:447:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const QString targetString = u"target."_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:448:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString prefix; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:449:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString postfix; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:461:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | postfix = u".\"%1\""_s.arg(parsedAttributeName._parameter); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:463:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | return u"%1\"%2\"%3"_s.arg(prefix, parsedAttributeName._name, postfix); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:466:47: warning: no header providing "IGraph" is directly included [misc-include-cleaner] 21 | Attribute Attribute::edgeNodesAttribute(const IGraph& graph, const Attribute& nodeAttribute, | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:469:39: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(nodeAttribute.elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:469:52: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(nodeAttribute.elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:474:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId(IEdge::*pFn)() const = nullptr; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:474:12: warning: no header providing "IEdge" is directly included [misc-include-cleaner] 21 | NodeId(IEdge::*pFn)() const = nullptr; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:479:50: warning: no header providing "IEdge" is directly included [misc-include-cleaner] 21 | case Attribute::EdgeNodeType::Source: pFn = &IEdge::sourceId; break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:480:50: warning: no header providing "IEdge" is directly included [misc-include-cleaner] 21 | case Attribute::EdgeNodeType::Target: pFn = &IEdge::targetId; break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:485:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:485:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:486:62: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | attribute.setIntValueFn([nodeAttribute, pFn, &graph](EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:493:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:493:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:494:64: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | attribute.setFloatValueFn([nodeAttribute, pFn, &graph](EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:501:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:501:21: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 21 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:502:65: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | attribute.setStringValueFn([nodeAttribute, pFn, &graph](EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:505:42: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | return nodeAttribute.valueOf(nodeId); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:515:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::prettify(QString name) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:515:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString Attribute::prettify(QString name) | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:517:18: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 25 | static const QRegularExpression sourceRe(u"^source"_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:517:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | static const QRegularExpression sourceRe(u"^source"_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:518:18: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 25 | static const QRegularExpression targetRe(u"^target"_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:518:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | static const QRegularExpression targetRe(u"^target"_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:520:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | name = name.replace(u"$"_s, u""_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:520:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | name = name.replace(u"$"_s, u""_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:521:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | name = name.replace(u"\""_s, u""_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:521:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | name = name.replace(u"\""_s, u""_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:522:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | name = name.replace(sourceRe, QObject::tr("Source")); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:523:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | name = name.replace(targetRe, QObject::tr("Target")); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:524:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | name = name.replace(u"."_s, u" › "_s); | ^ /home/runner/work/graphia/graphia/source/app/attributes/attribute.cpp:524:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | name = name.replace(u"."_s, u" › "_s); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 13344 warnings generated. [79/195] /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:23:1: warning: included header crashhandler.h is not used directly [misc-include-cleaner] 23 | #include "../crashhandler.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:33:44: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | AvailableAttributesModel::Item::Item(const QString& value, const QString& attributeName) : | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:33:66: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | AvailableAttributesModel::Item::Item(const QString& value, const QString& attributeName) : | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:39:5: warning: no header providing "qDeleteAll" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | AvailableAttributesModel::Item::Item(const QString& value, const QString& attributeName) : 34 | _value(value), _attributeName(attributeName) 35 | {} 36 | 37 | AvailableAttributesModel::Item::~Item() // NOLINT modernize-use-equals-default 38 | { 39 | qDeleteAll(_children); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:58:7: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | const QString& AvailableAttributesModel::Item::value() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:90:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | QString AvailableAttributesModel::Item::attributeName() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:96:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | QObject* parent, ElementType elementTypes, | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:97:5: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | ValueType valueTypes, AttributeFlag skipFlags, | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:97:27: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 27 | ValueType valueTypes, AttributeFlag skipFlags, | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:98:11: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | const QStringList& skipAttributeNames) : | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:99:5: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 30 | QAbstractItemModel(parent), | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:107:64: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | auto addItem = [this, &graphModel](Item* parentItem, const QString& attributeName) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:110:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(attribute != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:128:42: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 30 | for(const auto& attributeName : std::as_const(attributeList)) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:131:8: warning: no header providing "Flags" is directly included [misc-include-cleaner] 29 | if(Flags(elementTypes).test(ElementType::Edge)) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:143:50: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 30 | for(const auto& attributeName : std::as_const(attributeList)) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:158:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 30 | QVariant AvailableAttributesModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:158:47: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QVariant AvailableAttributesModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:170:20: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 30 | if(role == Qt::DisplayRole) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:193:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | static const QString numericalTr = tr("Numerical"); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:194:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | static const QString textualTr = tr("Textual"); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:195:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | static const QString unknownTypeTr = tr("Unknown Type"); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:199:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:199:25: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 27 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:200:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:200:25: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 27 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:202:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:202:25: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 27 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:215:36: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 27 | return attribute->testFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:215:51: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 27 | return attribute->testFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:219:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | static const QString userDefinedTr = tr("User Defined"); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:220:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | static const QString calculatedTr = tr("Calculated"); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:239:5: warning: no header providing "Qt::ItemFlags" is directly included [misc-include-cleaner] 30 | Qt::ItemFlags AvailableAttributesModel::flags(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:239:53: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | Qt::ItemFlags AvailableAttributesModel::flags(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:242:20: warning: no header providing "Qt::NoItemFlags" is directly included [misc-include-cleaner] 30 | return Qt::NoItemFlags; | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:244:18: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 30 | auto flags = QAbstractItemModel::flags(index); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:245:23: warning: no header providing "Qt::ItemIsSelectable" is directly included [misc-include-cleaner] 30 | flags.setFlag(Qt::ItemIsSelectable, itemForIndex(index)->childCount() == 0); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:250:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 30 | QVariant AvailableAttributesModel::headerData(int /*section*/, Qt::Orientation orientation, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:250:68: warning: no header providing "Qt::Orientation" is directly included [misc-include-cleaner] 30 | QVariant AvailableAttributesModel::headerData(int /*section*/, Qt::Orientation orientation, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:252:27: warning: no header providing "Qt::Horizontal" is directly included [misc-include-cleaner] 30 | if(orientation == Qt::Horizontal && role == Qt::DisplayRole) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:252:53: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 30 | if(orientation == Qt::Horizontal && role == Qt::DisplayRole) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:258:1: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QModelIndex AvailableAttributesModel::index(int row, int column, const QModelIndex& parentIndex) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:258:72: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QModelIndex AvailableAttributesModel::index(int row, int column, const QModelIndex& parentIndex) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:277:76: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | AvailableAttributesModel::Item* AvailableAttributesModel::parentItem(const QModelIndex& index) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:285:78: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | AvailableAttributesModel::Item* AvailableAttributesModel::itemForIndex(const QModelIndex& index) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:288:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(item != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:293:1: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QModelIndex AvailableAttributesModel::parent(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:293:52: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QModelIndex AvailableAttributesModel::parent(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:303:46: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | int AvailableAttributesModel::rowCount(const QModelIndex& parentIndex) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:317:49: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | int AvailableAttributesModel::columnCount(const QModelIndex& /*parent*/) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:322:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | QString AvailableAttributesModel::get(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:322:45: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QString AvailableAttributesModel::get(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:331:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | QString text = u"\"%1\""_s.arg(item->value()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:331:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | QString text = u"\"%1\""_s.arg(item->value()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:336:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | const QString parentText = get(index.parent()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:337:24: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | text = u"%1.%2"_s.arg(parentText, text); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:340:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | text = u"source.%1"_s.arg(text); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:342:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | text = u"target.%1"_s.arg(text); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:347:1: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QModelIndex AvailableAttributesModel::find(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:347:50: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | QModelIndex AvailableAttributesModel::find(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:355:35: warning: no header providing "Attribute::EdgeNodeType::Source" is directly included [misc-include-cleaner] 25 | case Attribute::EdgeNodeType::Source: rootItem = _sourceNode; break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:356:35: warning: no header providing "Attribute::EdgeNodeType::Target" is directly included [misc-include-cleaner] 25 | case Attribute::EdgeNodeType::Target: rootItem = _targetNode; break; | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:360:5: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QModelIndex rootIndex; | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:376:39: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | auto indexMatching = [this](const QModelIndex& parentIndex, const QString& value) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:376:71: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | auto indexMatching = [this](const QModelIndex& parentIndex, const QString& value) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:386:16: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | return QModelIndex(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:397:1: warning: no header providing "QHash" is directly included [misc-include-cleaner] 30 | QHash AvailableAttributesModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:397:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 30 | QHash AvailableAttributesModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:399:18: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 30 | auto names = QAbstractItemModel::roleNames(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:413:1: warning: no header providing "Q_DECLARE_INTERFACE" is directly included [misc-include-cleaner] 30 | Q_DECLARE_INTERFACE(AvailableAttributesModel, APP_URI) | ^ /home/runner/work/graphia/graphia/source/app/attributes/availableattributesmodel.cpp:417:5: warning: no header providing "qmlRegisterInterface" is directly included [misc-include-cleaner] 30 | qmlRegisterInterface("AvailableAttributesModel", Application::majorVersion()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 22010 warnings generated. [80/195] /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:21:23: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:21:54: warning: no header providing "GraphModel" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:22:29: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, 22 | const GraphTransformConfig::Condition& condition) | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:26:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, 22 | const GraphTransformConfig::Condition& condition) 23 | { 24 | switch(elementType) 25 | { 26 | case ElementType::Node: return CreateConditionFnFor::node(graphModel, condition) != nullptr; | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:26:23: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, 22 | const GraphTransformConfig::Condition& condition) 23 | { 24 | switch(elementType) 25 | { 26 | case ElementType::Node: return CreateConditionFnFor::node(graphModel, condition) != nullptr; | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:27:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, 22 | const GraphTransformConfig::Condition& condition) 23 | { 24 | switch(elementType) 25 | { 26 | case ElementType::Node: return CreateConditionFnFor::node(graphModel, condition) != nullptr; 27 | case ElementType::Edge: return CreateConditionFnFor::edge(graphModel, condition) != nullptr; | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:27:23: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, 22 | const GraphTransformConfig::Condition& condition) 23 | { 24 | switch(elementType) 25 | { 26 | case ElementType::Node: return CreateConditionFnFor::node(graphModel, condition) != nullptr; 27 | case ElementType::Edge: return CreateConditionFnFor::edge(graphModel, condition) != nullptr; | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:28:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, 22 | const GraphTransformConfig::Condition& condition) 23 | { 24 | switch(elementType) 25 | { 26 | case ElementType::Node: return CreateConditionFnFor::node(graphModel, condition) != nullptr; 27 | case ElementType::Edge: return CreateConditionFnFor::edge(graphModel, condition) != nullptr; 28 | case ElementType::Component: return CreateConditionFnFor::component(graphModel, condition) != nullptr; | ^ /home/runner/work/graphia/graphia/source/app/attributes/conditionfncreator.cpp:28:23: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 20 | 21 | bool conditionIsValid(ElementType elementType, const GraphModel& graphModel, 22 | const GraphTransformConfig::Condition& condition) 23 | { 24 | switch(elementType) 25 | { 26 | case ElementType::Node: return CreateConditionFnFor::node(graphModel, condition) != nullptr; 27 | case ElementType::Edge: return CreateConditionFnFor::edge(graphModel, condition) != nullptr; 28 | case ElementType::Component: return CreateConditionFnFor::component(graphModel, condition) != nullptr; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 25697 warnings generated. [81/195] /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:21:1: warning: included header selectionmanager.h is not used directly [misc-include-cleaner] 21 | #include "ui/selectionmanager.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:29:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:35:59: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | 31 | template 32 | static auto rowToElementIds(int row, const IAttribute* attribute, const ElementIds& elementIds) 33 | { 34 | const auto& sharedValues = attribute->sharedValues(); 35 | const auto& sharedValue = sharedValues.at(static_cast(row))._value; | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:37:29: warning: no header providing "std::remove_reference_t" is directly included [misc-include-cleaner] 30 | 31 | template 32 | static auto rowToElementIds(int row, const IAttribute* attribute, const ElementIds& elementIds) 33 | { 34 | const auto& sharedValues = attribute->sharedValues(); 35 | const auto& sharedValue = sharedValues.at(static_cast(row))._value; 36 | 37 | using E = typename std::remove_reference_t::value_type; | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:38:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 30 | 31 | template 32 | static auto rowToElementIds(int row, const IAttribute* attribute, const ElementIds& elementIds) 33 | { 34 | const auto& sharedValues = attribute->sharedValues(); 35 | const auto& sharedValue = sharedValues.at(static_cast(row))._value; 36 | 37 | using E = typename std::remove_reference_t::value_type; 38 | std::vector matches; | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:69:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit hasEditsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:70:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit editsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:75:45: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | int EditAttributeTableModel::rowCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:85:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Node: | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:85:23: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | case ElementType::Node: | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:89:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: return static_cast(_document->graphModel()->graph().numEdges()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:89:23: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: return static_cast(_document->graphModel()->graph().numEdges()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:94:48: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | int EditAttributeTableModel::columnCount(const QModelIndex&) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:99:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 30 | QVariant EditAttributeTableModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:99:46: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QVariant EditAttributeTableModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:107:5: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] 107 | switch(role) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:119:63: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | const auto& sharedValue = sharedValues.at(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:126:45: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:126:58: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:133:50: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:133:63: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:146:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:146:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:153:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:153:54: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:155:85: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | auto edgeId = _document->graphModel()->graph().edgeIds().at(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:164:56: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | void EditAttributeTableModel::editValue(int row, const QString& value) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:168:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:168:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:173:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:173:59: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:181:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:181:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:188:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:188:59: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:190:85: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | auto edgeId = _document->graphModel()->graph().edgeIds().at(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:197:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit dataChanged(index(row, 1), index(row, 1), {Qt::DisplayRole, AttributeRole, EditedRole}); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:197:57: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 30 | emit dataChanged(index(row, 1), index(row, 1), {Qt::DisplayRole, AttributeRole, EditedRole}); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:198:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit hasEditsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:199:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit editsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:204:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | size_t n = 0; | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:208:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:208:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:213:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:213:59: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:221:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:221:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:228:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:228:59: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:230:85: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | auto edgeId = _document->graphModel()->graph().edgeIds().at(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:239:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit dataChanged(index(row, 1), index(row, 1), {Qt::DisplayRole, AttributeRole, EditedRole}); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:239:61: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 30 | emit dataChanged(index(row, 1), index(row, 1), {Qt::DisplayRole, AttributeRole, EditedRole}); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:240:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit hasEditsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:241:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit editsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:255:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit hasEditsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:256:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit editsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:266:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:266:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:273:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:273:59: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:283:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:283:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:286:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:286:54: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:288:85: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | auto edgeId = _document->graphModel()->graph().edgeIds().at(static_cast(row)); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:296:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId EditAttributeTableModel::rowToNodeId(int row) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:298:37: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:298:50: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(_attribute->elementType() != ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:300:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "EditAttributeTableModel::rowToNodeId called with non-node attribute"; | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:307:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 30 | auto index = static_cast(row); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:314:43: warning: no header providing "Document" is directly included [misc-include-cleaner] 21 | void EditAttributeTableModel::setDocument(Document* document) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:323:32: warning: no header providing "Document" is directly included [misc-include-cleaner] 21 | disconnect(_document, &Document::selectedNodeIdsChanged, | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:331:29: warning: no header providing "Document" is directly included [misc-include-cleaner] 21 | connect(_document, &Document::selectedNodeIdsChanged, | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:339:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit documentChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:342:54: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | void EditAttributeTableModel::setAttributeName(const QString& attributeName) | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:358:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit attributeNameChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:359:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit hasEditsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:360:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit editsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:377:14: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 30 | std::sort(_selectedNodes.begin(), _selectedNodes.end()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:385:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 30 | qmlRegisterType(APP_URI, APP_MAJOR_VERSION, APP_MINOR_VERSION, "EditAttributeTableModel"); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 14640 warnings generated. [82/195] /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:22:1: warning: included header set is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:56:38: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | double EnrichmentCalculator::fishers(size_t a, size_t b, size_t c, size_t d) | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:56:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | double EnrichmentCalculator::fishers(size_t a, size_t b, size_t c, size_t d) | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:56:58: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | double EnrichmentCalculator::fishers(size_t a, size_t b, size_t c, size_t d) | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:56:68: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | double EnrichmentCalculator::fishers(size_t a, size_t b, size_t c, size_t d) | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:83:1: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | EnrichmentTableModel::Table EnrichmentCalculator::overRepAgainstEachAttribute( | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:88:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | std::map attributeValueEntryCountATotal; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:89:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | std::map attributeValueEntryCountBTotal; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:90:5: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | EnrichmentTableModel::Table tableModel; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:108:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 22 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:109:35: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 22 | auto iterations = static_cast(attributeValueEntryCountBTotal.size() * | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:117:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | std::map> nodeIdsForAttributeValue; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:132:13: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | EnrichmentTableModel::Row row(EnrichmentTableModel::Results::NumResultColumns); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:132:43: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | EnrichmentTableModel::Row row(EnrichmentTableModel::Results::NumResultColumns); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:138:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | size_t selectedInCategory = 0; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:160:17: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | row[EnrichmentTableModel::Results::SelectionA] = attributeValueA; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:161:17: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | row[EnrichmentTableModel::Results::SelectionB] = attributeValueB; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:162:17: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | row[EnrichmentTableModel::Results::Observed] = u"%1 of %2"_s | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:162:71: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 22 | row[EnrichmentTableModel::Results::Observed] = u"%1 of %2"_s | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:165:17: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | row[EnrichmentTableModel::Results::ExpectedTrial] = u"%1 ± %2 of %3"_s | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:165:82: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 22 | row[EnrichmentTableModel::Results::ExpectedTrial] = u"%1 ± %2 of %3"_s | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:169:17: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | row[EnrichmentTableModel::Results::OverRep] = static_cast(selectedInCategory) / expectedNo; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:170:17: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | row[EnrichmentTableModel::Results::Fishers] = f; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:171:17: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 28 | row[EnrichmentTableModel::Results::BonferroniAdjusted] = | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:172:22: warning: no header providing "std::min" is directly included [misc-include-cleaner] 21 | std::min(1.0, f * static_cast(attributeValueEntryCountBTotal.size())); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:184:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | const size_t NUMBER_OF_TRIALS = 1000; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:196:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t i = 0; i < NUMBER_OF_TRIALS; i++) | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:214:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t i = 0; i < NUMBER_OF_TRIALS; i++) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11617 warnings generated. [83/195] /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:22:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:23:1: warning: included header QDebug is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:27:44: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | EnrichmentTableModel::EnrichmentTableModel(QObject *parent) | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:31:34: warning: no header providing "Qt::UserRole" is directly included [misc-include-cleaner] 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | EnrichmentTableModel::EnrichmentTableModel(QObject *parent) 28 | { 29 | setParent(parent); 30 | 31 | constexpr int RoleBase = Qt::UserRole; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:42:42: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 24 | int EnrichmentTableModel::rowCount(const QModelIndex& parent) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:44:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 24 | Q_UNUSED(parent); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:48:45: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 24 | int EnrichmentTableModel::columnCount(const QModelIndex& parent) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:50:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 24 | Q_UNUSED(parent); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:54:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 24 | QVariant EnrichmentTableModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:54:43: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 24 | QVariant EnrichmentTableModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:56:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | auto row = static_cast(index.row()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:57:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(row < static_cast(rowCount())); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:57:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | Q_ASSERT(row < static_cast(rowCount())); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:72:31: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | auto column = static_cast(index.column()); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:73:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(column < static_cast(columnCount())); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:73:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | Q_ASSERT(column < static_cast(columnCount())); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:79:90: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case Results::SelectionA: return _selectionA.isEmpty() ? u"Selection A"_s : _selectionA; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:80:90: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case Results::SelectionB: return _selectionB.isEmpty() ? u"Selection B"_s : _selectionB; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:81:63: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case Results::Observed: return u"Observed"_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:82:63: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case Results::ExpectedTrial: return u"Expected"_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:83:69: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case Results::OverRep: return u"Representation"_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:84:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case Results::Fishers: return u"Fishers"_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:85:74: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | case Results::BonferroniAdjusted: return u"Bonferroni Adjusted"_s; | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:94:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 24 | QVariant EnrichmentTableModel::data(int row, Results result) const | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:97:41: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 24 | return data(index(row, column), Qt::DisplayRole); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:114:1: warning: no header providing "QHash" is directly included [misc-include-cleaner] 24 | QHash EnrichmentTableModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:114:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 24 | QHash EnrichmentTableModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:118:14: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 24 | {Qt::DisplayRole, "display"}, | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:128:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit selectionNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:137:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit selectionNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:144:18: warning: no header providing "std::move" is directly included [misc-include-cleaner] 24 | _data = std::move(data); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:145:24: warning: no header providing "std::move" is directly included [misc-include-cleaner] 24 | _selectionA = std::move(selectionA); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmenttablemodel.cpp:146:24: warning: no header providing "std::move" is directly included [misc-include-cleaner] 24 | _selectionB = std::move(selectionB); | ^ 10850 warnings generated. [84/195] /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:24:1: warning: included header QObject is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:25:1: warning: included header QSet is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:34:48: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | ApplyTransformsCommand::ApplyTransformsCommand(GraphModel* graphModel, 33 | Document* document, 34 | QStringList previousTransformations, | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:35:48: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | ApplyTransformsCommand::ApplyTransformsCommand(GraphModel* graphModel, 33 | Document* document, 34 | QStringList previousTransformations, 35 | QStringList transformations) : | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:47:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 28 | Q_ASSERT(transformsValid); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:50:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString ApplyTransformsCommand::description() const | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:52:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | return QObject::tr("Apply Transforms"); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:55:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString ApplyTransformsCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:57:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | return QObject::tr("Applying Transforms"); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:60:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString ApplyTransformsCommand::debugDescription() const | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:62:17: warning: no header providing "QSet" is directly included [misc-include-cleaner] 28 | auto prev = QSet(_previousTransformations.begin(), _previousTransformations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:62:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | auto prev = QSet(_previousTransformations.begin(), _previousTransformations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:63:17: warning: no header providing "QSet" is directly included [misc-include-cleaner] 28 | auto diff = QSet(_transformations.begin(), _transformations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:63:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | auto diff = QSet(_transformations.begin(), _transformations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:69:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 22 | text.append(u"\n %1"_s.arg(transform)); | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:74:48: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | void ApplyTransformsCommand::doTransform(const QStringList& transformations, const QStringList& previousTransformations) | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:74:84: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | void ApplyTransformsCommand::doTransform(const QStringList& transformations, const QStringList& previousTransformations) | ^ /home/runner/work/graphia/graphia/source/app/commands/applytransformscommand.cpp:82:24: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 22 | }, u"setTransforms"_s); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23093 warnings generated. [85/195] /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:26:1: warning: included header QObject is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:27:1: warning: included header QSet is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:28:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:36:56: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | ApplyVisualisationsCommand::ApplyVisualisationsCommand(GraphModel* graphModel, 35 | Document* document, 36 | QStringList previousVisualisations, | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:37:56: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | ApplyVisualisationsCommand::ApplyVisualisationsCommand(GraphModel* graphModel, 35 | Document* document, 36 | QStringList previousVisualisations, 37 | QStringList visualisations, int transformIndex) : | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:45:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | ApplyVisualisationsCommand::ApplyVisualisationsCommand(GraphModel* graphModel, 35 | Document* document, 36 | QStringList previousVisualisations, 37 | QStringList visualisations, int transformIndex) : 38 | _graphModel(graphModel), 39 | _document(document), 40 | _previousVisualisations(std::move(previousVisualisations)), 41 | _visualisations(std::move(visualisations)), 42 | _transformIndex(transformIndex) 43 | {} 44 | 45 | QString ApplyVisualisationsCommand::description() const | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:47:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | return QObject::tr("Apply Visualisations"); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:50:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | QString ApplyVisualisationsCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:52:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | return QObject::tr("Applying Visualisations"); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:55:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | QString ApplyVisualisationsCommand::debugDescription() const | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:57:17: warning: no header providing "QSet" is directly included [misc-include-cleaner] 30 | auto prev = QSet(_previousVisualisations.begin(), _previousVisualisations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:57:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | auto prev = QSet(_previousVisualisations.begin(), _previousVisualisations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:58:17: warning: no header providing "QSet" is directly included [misc-include-cleaner] 30 | auto diff = QSet(_visualisations.begin(), _visualisations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:58:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | auto diff = QSet(_visualisations.begin(), _visualisations.end()); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:64:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 22 | text.append(u"\n %1"_s.arg(visualisation)); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:69:46: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | void ApplyVisualisationsCommand::apply(const QStringList& visualisations, | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:70:46: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | const QStringList& previousVisualisations) | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:78:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 22 | }, u"setVisualisations"_s); | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:81:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | QStringList ApplyVisualisationsCommand::patchedVisualisations() const | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:94:13: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | QStringList patched; | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:116:23: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | const QRegularExpression re(uR"(^%1\(\d+\))"_s | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:116:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 22 | const QRegularExpression re(uR"(^%1\(\d+\))"_s | ^ /home/runner/work/graphia/graphia/source/app/commands/applyvisualisationscommand.cpp:150:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(avcReplacee != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23151 warnings generated. [86/195] /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:27:1: warning: included header userdatavector.h is not used directly [misc-include-cleaner] 27 | #include "shared/loading/userdatavector.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:31:76: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | CloneAttributeCommand::CloneAttributeCommand(GraphModel* graphModel, const QString& sourceAttributeName, | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:32:11: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | CloneAttributeCommand::CloneAttributeCommand(GraphModel* graphModel, const QString& sourceAttributeName, 32 | const QString& newAttributeName) : | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:36:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | CloneAttributeCommand::CloneAttributeCommand(GraphModel* graphModel, const QString& sourceAttributeName, 32 | const QString& newAttributeName) : 33 | _graphModel(graphModel), _sourceAttributeName(sourceAttributeName), _newAttributeName(newAttributeName) 34 | {} 35 | 36 | QString CloneAttributeCommand::description() const | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:38:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | CloneAttributeCommand::CloneAttributeCommand(GraphModel* graphModel, const QString& sourceAttributeName, 32 | const QString& newAttributeName) : 33 | _graphModel(graphModel), _sourceAttributeName(sourceAttributeName), _newAttributeName(newAttributeName) 34 | {} 35 | 36 | QString CloneAttributeCommand::description() const 37 | { 38 | return QObject::tr("Clone Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:41:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | CloneAttributeCommand::CloneAttributeCommand(GraphModel* graphModel, const QString& sourceAttributeName, 32 | const QString& newAttributeName) : 33 | _graphModel(graphModel), _sourceAttributeName(sourceAttributeName), _newAttributeName(newAttributeName) 34 | {} 35 | 36 | QString CloneAttributeCommand::description() const 37 | { 38 | return QObject::tr("Clone Attribute"); 39 | } 40 | 41 | QString CloneAttributeCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:43:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | CloneAttributeCommand::CloneAttributeCommand(GraphModel* graphModel, const QString& sourceAttributeName, 32 | const QString& newAttributeName) : 33 | _graphModel(graphModel), _sourceAttributeName(sourceAttributeName), _newAttributeName(newAttributeName) 34 | {} 35 | 36 | QString CloneAttributeCommand::description() const 37 | { 38 | return QObject::tr("Clone Attribute"); 39 | } 40 | 41 | QString CloneAttributeCommand::verb() const 42 | { 43 | return QObject::tr("Cloning Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:46:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString CloneAttributeCommand::pastParticiple() const | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:48:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | return QObject::tr("Attribute %1 Cloned").arg(Attribute::prettify(_sourceAttributeName)); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:48:51: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | return QObject::tr("Attribute %1 Cloned").arg(Attribute::prettify(_sourceAttributeName)); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:51:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString CloneAttributeCommand::debugDescription() const | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:53:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString text = description(); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:55:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | text.append(u"\n %1"_s.arg(_createdAttributeNames.front())); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:65:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 28 | Q_ASSERT(sourceAttribute.isValid()); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:69:33: warning: no header providing "std::remove_reference_t" is directly included [misc-include-cleaner] 28 | using E = typename std::remove_reference_t::value_type; | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:73:40: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | if constexpr(std::is_same_v) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:75:45: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | else if constexpr(std::is_same_v) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:89:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | if(sourceAttribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:89:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 24 | if(sourceAttribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:91:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | else if(sourceAttribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:91:59: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 24 | else if(sourceAttribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:107:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 28 | Q_ASSERT(sourceAttribute != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:109:42: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | if(sourceAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:109:55: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 24 | if(sourceAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:111:47: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | else if(sourceAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/cloneattributecommand.cpp:111:60: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 24 | else if(sourceAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 21041 warnings generated. [87/195] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:24:1: warning: included header QDebug is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:31:34: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | CommandManager::CommandManager() : 31 | _graphChanged(false), _debug(qEnvironmentVariableIntValue("COMMAND_DEBUG")) | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:48:30: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 21 | void CommandManager::execute(ExecutePolicy policy, ICommandPtr command) | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:48:52: warning: no header providing "ICommandPtr" is directly included [misc-include-cleaner] 21 | void CommandManager::execute(ExecutePolicy policy, ICommandPtr command) | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:55:10: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::Add: action = CommandAction::Execute; break; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:55:25: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::Add: action = CommandAction::Execute; break; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:56:10: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::Replace: action = CommandAction::ExecuteReplace; break; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:56:25: warning: no header providing "ExecutePolicy::Replace" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::Replace: action = CommandAction::ExecuteReplace; break; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:58:10: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::OnceMutate: command->_notAllowedToChangeGraph = false; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:58:25: warning: no header providing "ExecutePolicy::OnceMutate" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::OnceMutate: command->_notAllowedToChangeGraph = false; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:60:10: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::Once: action = CommandAction::ExecuteOnce; break; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:60:25: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 21 | case ExecutePolicy::Once: action = CommandAction::ExecuteOnce; break; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:63:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:63:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:64:48: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | _pendingCommands.emplace_back(action, std::move(command)); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:65:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandQueued(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:70:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:70:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:78:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:78:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:80:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandQueued(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:85:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:85:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:87:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandQueued(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:92:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:92:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:94:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandQueued(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:100:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "CommandManager started"; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:105:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Command started" << verb; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:107:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Command started"; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:111:34: warning: no header providing "ICommandPtr" is directly included [misc-include-cleaner] 21 | void CommandManager::executeReal(ICommandPtr command, CommandAction action) | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:113:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 26 | Q_ASSERT(action == CommandAction::Execute || | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:121:55: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | doCommand(commandPtr, verb, [this, command = std::move(command), action]() mutable | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:123:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:123:37: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:126:53: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | command->description() : u"Anon Command"_s; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:153:39: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | _stack.push_back(std::move(command)); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:155:67: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | auto maxUndoLevels = u::pref(u"misc/maxUndoLevels"_s).toInt(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:172:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "WARNING: ExecuteOnce command" << commandName << | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:179:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandCompleted(success, description, pastParticiple); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:188:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto* command = _stack.at(static_cast(_lastExecutedIndex)).get(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:191:17: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | QObject::tr("Undoing ") + command->description() : | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:192:17: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | QObject::tr("Undoing"); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:204:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:204:37: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:207:28: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | auto description = QObject::tr("Undo %1").arg(command->description()); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:220:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandCompleted(true, description, {}); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:229:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto* command = _stack.at(static_cast(++_lastExecutedIndex)).get(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:232:17: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | QObject::tr("Redoing ") + command->description() : | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:233:17: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | QObject::tr("Redoing"); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:239:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:239:37: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:242:28: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | auto description = QObject::tr("Redo %1").arg(command->description()); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:248:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandCompleted(true, description, command->pastParticiple()); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:254:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:254:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:254:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:264:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:264:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:264:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:274:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:274:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:282:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector CommandManager::undoableCommandDescriptions() const | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:284:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:284:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:284:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:285:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector commandDescriptions; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:286:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | commandDescriptions.reserve(static_cast(_lastExecutedIndex)); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:291:65: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | commandDescriptions.push_back(_stack.at(static_cast(index))->description()); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:297:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector CommandManager::redoableCommandDescriptions() const | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:299:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:299:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:299:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:300:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector commandDescriptions; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:305:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t index = static_cast(_lastExecutedIndex) + 1; index < _stack.size(); index++) | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:305:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | for(size_t index = static_cast(_lastExecutedIndex) + 1; index < _stack.size(); index++) | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:314:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:314:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:314:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:318:53: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const auto& command = _stack.at(static_cast(_lastExecutedIndex)); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:320:20: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | return QObject::tr("&Undo ") + command->description(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:328:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:328:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:328:68: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex, std::try_to_lock); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:332:53: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const auto& command = _stack.at(static_cast(_lastExecutedIndex) + 1); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:334:20: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | return QObject::tr("&Redo ") + command->description(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:347:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:347:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:361:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandStackCleared(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:368:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:368:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:375:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandIsCancellingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:381:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:381:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:386:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandIsCancellingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:390:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Command cancel request" << _currentCommand->description(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:425:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 21 | text.append(u"\n#%1"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:441:33: warning: no header providing "QTimerEvent" is directly included [misc-include-cleaner] 26 | void CommandManager::timerEvent(QTimerEvent*) | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:443:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:443:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_currentCommandMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:453:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandProgressChanged(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:461:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandPhaseChanged(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:475:7: warning: no header providing "ICommand" is directly included [misc-include-cleaner] 21 | const ICommand* CommandManager::lastExecutedCommand() const | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:480:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | return _stack.at(static_cast(_lastExecutedIndex)).get(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:485:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:485:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:492:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:492:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 26 | const std::unique_lock lock(_queueMutex); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:497:32: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | auto pendingCommand = std::move(_pendingCommands.front()); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:515:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Command completed" << description; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:517:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Command completed"; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:520:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Command failed/cancelled"; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:528:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit finished(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:531:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "CommandManager finished"; | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:533:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 26 | emit commandIsCancellableChanged(); | ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:548:26: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | executeReal(std::move(pendingCommand._command), pendingCommand._action); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11483 warnings generated. [88/195] /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:21:1: warning: included header QObject is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:29:40: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 25 | #include "ui/selectionmanager.h" 26 | 27 | DeleteNodesCommand::DeleteNodesCommand(GraphModel* graphModel, 28 | SelectionManager* selectionManager, 29 | NodeIdSet nodeIds) : | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:33:19: warning: no header providing "std::move" is directly included [misc-include-cleaner] 22 | 23 | #include "graph/mutablegraph.h" 24 | #include "graph/graphmodel.h" 25 | #include "ui/selectionmanager.h" 26 | 27 | DeleteNodesCommand::DeleteNodesCommand(GraphModel* graphModel, 28 | SelectionManager* selectionManager, 29 | NodeIdSet nodeIds) : 30 | _graphModel(graphModel), 31 | _selectionManager(selectionManager), 32 | _selectedNodeIds(_selectionManager->selectedNodes()), 33 | _nodeIds(std::move(nodeIds)) | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:38:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | QString DeleteNodesCommand::description() const | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:40:29: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return _multipleNodes ? QObject::tr("Delete Nodes") : QObject::tr("Delete Node"); | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:40:59: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return _multipleNodes ? QObject::tr("Delete Nodes") : QObject::tr("Delete Node"); | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:43:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | QString DeleteNodesCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:45:29: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return _multipleNodes ? QObject::tr("Deleting Nodes") : QObject::tr("Deleting Node"); | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:45:61: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return _multipleNodes ? QObject::tr("Deleting Nodes") : QObject::tr("Deleting Node"); | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:48:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | QString DeleteNodesCommand::pastParticiple() const | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:50:29: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | return _multipleNodes ? QString(QObject::tr("%1 Nodes Deleted")).arg(_nodeIds.size()) : | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:50:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return _multipleNodes ? QString(QObject::tr("%1 Nodes Deleted")).arg(_nodeIds.size()) : | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:51:37: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | QObject::tr("Node Deleted"); | ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.cpp:66:16: warning: no header providing "IMutableGraph" is directly included [misc-include-cleaner] 25 | [this](IMutableGraph& graph) | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20559 warnings generated. [89/195] /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:24:1: warning: included header QVariant is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:28:74: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | EditAttributeCommand::EditAttributeCommand(GraphModel* graphModel, const QString& attributeName, | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:29:11: warning: no header providing "AttributeEdits" is directly included [misc-include-cleaner] 21 | #include "graph/graphmodel.h" 22 | #include "shared/attributes/valuetype.h" 23 | 24 | #include 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | EditAttributeCommand::EditAttributeCommand(GraphModel* graphModel, const QString& attributeName, 29 | const AttributeEdits& edits, ValueType newType, const QString& description) : | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:29:59: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | EditAttributeCommand::EditAttributeCommand(GraphModel* graphModel, const QString& attributeName, 29 | const AttributeEdits& edits, ValueType newType, const QString& description) : | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:34:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | EditAttributeCommand::EditAttributeCommand(GraphModel* graphModel, const QString& attributeName, 29 | const AttributeEdits& edits, ValueType newType, const QString& description) : 30 | _graphModel(graphModel), _attributeName(attributeName), _edits(edits), 31 | _newType(newType), _newDescription(description) 32 | {} 33 | 34 | QString EditAttributeCommand::description() const | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:36:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | EditAttributeCommand::EditAttributeCommand(GraphModel* graphModel, const QString& attributeName, 29 | const AttributeEdits& edits, ValueType newType, const QString& description) : 30 | _graphModel(graphModel), _attributeName(attributeName), _edits(edits), 31 | _newType(newType), _newDescription(description) 32 | {} 33 | 34 | QString EditAttributeCommand::description() const 35 | { 36 | return QObject::tr("Edit Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:39:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | EditAttributeCommand::EditAttributeCommand(GraphModel* graphModel, const QString& attributeName, 29 | const AttributeEdits& edits, ValueType newType, const QString& description) : 30 | _graphModel(graphModel), _attributeName(attributeName), _edits(edits), 31 | _newType(newType), _newDescription(description) 32 | {} 33 | 34 | QString EditAttributeCommand::description() const 35 | { 36 | return QObject::tr("Edit Attribute"); 37 | } 38 | 39 | QString EditAttributeCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:41:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | return QObject::tr("Editing Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:44:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString EditAttributeCommand::pastParticiple() const | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:46:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | return QObject::tr("Attribute %1 Edited").arg(Attribute::prettify(_attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:46:51: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | return QObject::tr("Attribute %1 Edited").arg(Attribute::prettify(_attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:49:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString EditAttributeCommand::debugDescription() const | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:51:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | auto text = u"%1 %2"_s.arg(description(), _attributeName); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:54:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | text += u" %1"_s.arg(QVariant::fromValue(_newType).toString()); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:54:30: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 25 | text += u" %1"_s.arg(QVariant::fromValue(_newType).toString()); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:63:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | text += u"\n %1 -> %2"_s.arg(old, value); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:67:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | text += u"\n ..."_s; | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:75:36: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:75:49: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:77:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:77:54: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 23 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:89:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(attribute != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:101:19: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 23 | const UserDataVector::Type type = UserDataVector::equivalentTypeFor(_newType); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:101:47: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 23 | const UserDataVector::Type type = UserDataVector::equivalentTypeFor(_newType); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:109:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(success); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:117:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(success); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:129:36: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:129:49: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:132:36: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:132:49: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:153:19: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 23 | const UserDataVector::Type type = UserDataVector::equivalentTypeFor(_originalType); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:153:47: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 23 | const UserDataVector::Type type = UserDataVector::equivalentTypeFor(_originalType); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:155:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(success); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:160:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(success); | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:164:36: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:164:49: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:166:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/editattributecommand.cpp:166:54: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 23 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20794 warnings generated. [90/195] /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:31:80: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | ImportAttributesCommand::ImportAttributesCommand(GraphModel* graphModel, const QString& keyAttributeName, | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:32:5: warning: no header providing "TabularData" is directly included [misc-include-cleaner] 24 | #include "shared/utils/string.h" 25 | #include "shared/loading/userelementdata.h" 26 | 27 | #include "../crashhandler.h" 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | ImportAttributesCommand::ImportAttributesCommand(GraphModel* graphModel, const QString& keyAttributeName, 32 | TabularData* data, int keyColumnIndex, const std::vector& importColumnIndices, bool replace) : | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:32:55: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | ImportAttributesCommand::ImportAttributesCommand(GraphModel* graphModel, const QString& keyAttributeName, 32 | TabularData* data, int keyColumnIndex, const std::vector& importColumnIndices, bool replace) : | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:33:78: warning: no header providing "std::move" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | ImportAttributesCommand::ImportAttributesCommand(GraphModel* graphModel, const QString& keyAttributeName, 32 | TabularData* data, int keyColumnIndex, const std::vector& importColumnIndices, bool replace) : 33 | _graphModel(graphModel), _keyAttributeName(keyAttributeName), _data(std::move(*data)), | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:34:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | ImportAttributesCommand::ImportAttributesCommand(GraphModel* graphModel, const QString& keyAttributeName, 32 | TabularData* data, int keyColumnIndex, const std::vector& importColumnIndices, bool replace) : 33 | _graphModel(graphModel), _keyAttributeName(keyAttributeName), _data(std::move(*data)), 34 | _keyColumnIndex(static_cast(keyColumnIndex)), _importColumnIndices(importColumnIndices), | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:38:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | ImportAttributesCommand::ImportAttributesCommand(GraphModel* graphModel, const QString& keyAttributeName, 32 | TabularData* data, int keyColumnIndex, const std::vector& importColumnIndices, bool replace) : 33 | _graphModel(graphModel), _keyAttributeName(keyAttributeName), _data(std::move(*data)), 34 | _keyColumnIndex(static_cast(keyColumnIndex)), _importColumnIndices(importColumnIndices), 35 | _replace(replace) 36 | {} 37 | 38 | QString ImportAttributesCommand::firstAttributeName() const | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:49:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString ImportAttributesCommand::description() const | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:51:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | return multipleAttributes() ? QObject::tr("Import Attributes") : QObject::tr("Import Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:51:70: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | return multipleAttributes() ? QObject::tr("Import Attributes") : QObject::tr("Import Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:54:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString ImportAttributesCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:56:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | return multipleAttributes() ? QObject::tr("Importing Attributes") : QObject::tr("Importing Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:56:73: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | return multipleAttributes() ? QObject::tr("Importing Attributes") : QObject::tr("Importing Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:59:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString ImportAttributesCommand::pastParticiple() const | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:62:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | QObject::tr("%1 Attributes Imported").arg(numAttributes()) : | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:63:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | QObject::tr("Attribute %1 Imported").arg(firstAttributeName()); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:66:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString ImportAttributesCommand::debugDescription() const | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:68:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString text = description(); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:71:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | text.append(u"\n %1"_s.arg(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:74:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | text.append(u"\n %1 (replaced)"_s.arg(vector.name())); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:84:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 28 | Q_ASSERT(keyAttribute != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:88:84: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | auto description = u"ImportAttributesCommand: attribute %1 not found in %2"_s | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:97:33: warning: no header providing "std::remove_reference_t" is directly included [misc-include-cleaner] 28 | using E = typename std::remove_reference_t::value_type; | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:99:14: warning: no header providing "std::map" is directly included [misc-include-cleaner] 28 | std::map map; | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:99:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | std::map map; | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:107:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | for(size_t row = 1; row < _data.numRows(); row++) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:124:25: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | return std::vector(); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:124:32: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | return std::vector(); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:128:40: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | if constexpr(std::is_same_v) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:130:45: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | else if constexpr(std::is_same_v) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:135:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | auto name = _data.valueAt(static_cast(columnIndex), 0); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:139:80: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | existingVector->type() == _data.columnTypeIdentity(static_cast(columnIndex)).type(); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:152:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | _data.valueAt(static_cast(columnIndex), map.at(elementId)) : QString{}; | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:152:90: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | _data.valueAt(static_cast(columnIndex), map.at(elementId)) : QString{}; | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:160:39: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | if(keyAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:160:52: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 24 | if(keyAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:162:44: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | else if(keyAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:162:57: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 24 | else if(keyAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:178:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 28 | Q_ASSERT(keyAttribute != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:186:37: warning: no header providing "std::move" is directly included [misc-include-cleaner] 28 | userData.setVector(std::move(vector)); | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:189:39: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | if(keyAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:189:52: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 24 | if(keyAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:191:44: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 24 | else if(keyAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/importattributescommand.cpp:191:57: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 24 | else if(keyAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 21888 warnings generated. [91/195] /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:30:80: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | RemoveAttributesCommand::RemoveAttributesCommand(GraphModel* graphModel, const QStringList& attributeNames) : | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:37:16: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | return Attribute::parseAttributeName(attributeName)._name; | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:41:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | RemoveAttributesCommand::RemoveAttributesCommand(GraphModel* graphModel, const QStringList& attributeNames) : 31 | _graphModel(graphModel) 32 | { 33 | std::transform(attributeNames.cbegin(), attributeNames.cend(), 34 | std::back_inserter(_attributeNames), 35 | [](const auto& attributeName) 36 | { 37 | return Attribute::parseAttributeName(attributeName)._name; 38 | }); 39 | } 40 | 41 | QString RemoveAttributesCommand::description() const | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:43:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return _attributeNames.size() > 1 ? QObject::tr("Remove Attributes") : QObject::tr("Remove Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:43:76: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return _attributeNames.size() > 1 ? QObject::tr("Remove Attributes") : QObject::tr("Remove Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:46:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString RemoveAttributesCommand::verb() const | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:48:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return _attributeNames.size() > 1 ? QObject::tr("Removing Attributes") : QObject::tr("Removing Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:48:78: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | return _attributeNames.size() > 1 ? QObject::tr("Removing Attributes") : QObject::tr("Removing Attribute"); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:51:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString RemoveAttributesCommand::pastParticiple() const | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:54:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | QObject::tr("%1 Attributes Removed").arg(_attributeNames.size()) : | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:55:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | QObject::tr("Attribute %1 Removed").arg(_attributeNames.front()); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:58:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString RemoveAttributesCommand::debugDescription() const | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:60:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | QString text = description(); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:63:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 23 | text.append(u"\n %1"_s.arg(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:72:42: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 27 | for(const auto& attributeName : std::as_const(_attributeNames)) | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:76:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 27 | Q_ASSERT(attribute->userDefined()); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:80:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:80:53: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 23 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:84:59: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | _removedUserNodeDataVectors.emplace_back(std::move(v)); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:86:45: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:86:58: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 23 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:90:59: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | _removedUserEdgeDataVectors.emplace_back(std::move(v)); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:104:52: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | _graphModel->userNodeData().setVector(std::move(vector)); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:107:52: warning: no header providing "std::move" is directly included [misc-include-cleaner] 27 | _graphModel->userEdgeData().setVector(std::move(vector)); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:115:28: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 23 | attributeName, UserDataVector::equivalentTypeFor(type)); | ^ /home/runner/work/graphia/graphia/source/app/commands/removeattributescommand.cpp:121:28: warning: no header providing "UserDataVector" is directly included [misc-include-cleaner] 23 | attributeName, UserDataVector::equivalentTypeFor(type)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 21019 warnings generated. [92/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:22:1: warning: included header container.h is not used directly [misc-include-cleaner] 22 | #include "shared/utils/container.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include "shared/graph/elementid_debug.h" /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:32:42: warning: no header providing "NodeConditionFn" is directly included [misc-include-cleaner] 21 | #include "shared/utils/thread.h" 22 | #include "shared/utils/container.h" 23 | #include "shared/graph/elementid_debug.h" 24 | 25 | #include "graph.h" 26 | #include "graphcomponent.h" 27 | 28 | #include 29 | #include 30 | 31 | ComponentManager::ComponentManager(Graph& graph, 32 | const NodeConditionFn& nodeFilter, | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:33:42: warning: no header providing "EdgeConditionFn" is directly included [misc-include-cleaner] 21 | #include "shared/utils/thread.h" 22 | #include "shared/utils/container.h" 23 | #include "shared/graph/elementid_debug.h" 24 | 25 | #include "graph.h" 26 | #include "graphcomponent.h" 27 | 28 | #include 29 | #include 30 | 31 | ComponentManager::ComponentManager(Graph& graph, 32 | const NodeConditionFn& nodeFilter, 33 | const EdgeConditionFn& edgeFilter) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:37:12: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 29 | #include 30 | 31 | ComponentManager::ComponentManager(Graph& graph, 32 | const NodeConditionFn& nodeFilter, 33 | const EdgeConditionFn& edgeFilter) : 34 | _nextComponentId(0), 35 | _nodesComponentId(graph), 36 | _edgesComponentId(graph), 37 | _debug(qEnvironmentVariableIntValue("COMPONENTS_DEBUG")) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:40:28: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | addNodeFilter([&graph](NodeId nodeId) { return graph.typeOf(nodeId) == MultiElementType::Tail; }); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:40:76: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | addNodeFilter([&graph](NodeId nodeId) { return graph.typeOf(nodeId) == MultiElementType::Tail; }); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:40:94: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | addNodeFilter([&graph](NodeId nodeId) { return graph.typeOf(nodeId) == MultiElementType::Tail; }); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:41:28: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | addEdgeFilter([&graph](EdgeId edgeId) { return graph.typeOf(edgeId) == MultiElementType::Tail; }); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:41:76: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | addEdgeFilter([&graph](EdgeId edgeId) { return graph.typeOf(edgeId) == MultiElementType::Tail; }); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:41:94: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | addEdgeFilter([&graph](EdgeId edgeId) { return graph.typeOf(edgeId) == MultiElementType::Tail; }); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:49:88: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 29 | connect(&graph, &Graph::graphChanged, this, &ComponentManager::onGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:62:1: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdSet ComponentManager::assignConnectedElementsComponentId(const Graph* graph, | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:63:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId rootId, ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:63:24: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | NodeId rootId, ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:64:19: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | NodeArray& nodesComponentId, | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:65:19: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | EdgeArray& edgesComponentId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:67:16: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::queue nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:68:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdSet oldComponentIdsAffected; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:100:35: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | oldComponentIdsAffected.erase(ComponentId()); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:105:45: warning: no header providing "IGraphArray" is directly included [misc-include-cleaner] 21 | void ComponentManager::insertComponentArray(IGraphArray* componentArray) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:107:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 29 | const std::unique_lock lock(_componentArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:107:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 29 | const std::unique_lock lock(_componentArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:111:44: warning: no header providing "IGraphArray" is directly included [misc-include-cleaner] 21 | void ComponentManager::eraseComponentArray(IGraphArray* componentArray) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:113:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 29 | const std::unique_lock lock(_componentArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:113:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 29 | const std::unique_lock lock(_componentArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:119:20: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "ComponentManager::update begins" << this; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:121:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 29 | std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:121:27: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 29 | std::unique_lock lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:123:5: warning: no header providing "ComponentIdMap" is directly included [misc-include-cleaner] 21 | ComponentIdMap splitComponents; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:123:20: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdMap splitComponents; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:124:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdSet splitComponentIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:125:5: warning: no header providing "ComponentIdMap" is directly included [misc-include-cleaner] 21 | ComponentIdMap mergedComponents; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:125:20: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdMap mergedComponents; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:126:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdSet mergedComponentIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:127:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdSet componentIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:129:15: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | NodeArray newNodesComponentId(*graph); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:130:15: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | EdgeArray newEdgesComponentId(*graph); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:195:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdSet componentIdsToBeAdded; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:196:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdSet componentIdsToBeRemoved; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:198:10: warning: no header providing "std::set_difference" is directly included [misc-include-cleaner] 28 | std::set_difference(componentIds.begin(), componentIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:200:14: warning: no header providing "std::inserter" is directly included [misc-include-cleaner] 28 | std::inserter(componentIdsToBeAdded, componentIdsToBeAdded.begin())); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:201:10: warning: no header providing "std::set_difference" is directly included [misc-include-cleaner] 28 | std::set_difference(_componentIdsSet.begin(), _componentIdsSet.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:203:14: warning: no header providing "std::inserter" is directly included [misc-include-cleaner] 28 | std::inserter(componentIdsToBeRemoved, componentIdsToBeRemoved.begin())); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:206:5: warning: no header providing "ComponentIdMap" is directly included [misc-include-cleaner] 21 | ComponentIdMap nodeIdAdds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:206:20: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdMap nodeIdAdds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:207:5: warning: no header providing "ComponentIdMap" is directly included [misc-include-cleaner] 21 | ComponentIdMap edgeIdAdds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:207:20: warning: no header providing "EdgeIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdMap edgeIdAdds; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:208:5: warning: no header providing "ComponentIdMap" is directly included [misc-include-cleaner] 21 | ComponentIdMap nodeIdRemoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:208:20: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdMap nodeIdRemoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:209:5: warning: no header providing "ComponentIdMap" is directly included [misc-include-cleaner] 21 | ComponentIdMap edgeIdRemoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:209:20: warning: no header providing "EdgeIdSet" is directly included [misc-include-cleaner] 21 | ComponentIdMap edgeIdRemoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:210:5: warning: no header providing "NodeIdMap" is directly included [misc-include-cleaner] 21 | NodeIdMap> nodeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:210:20: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 30 | NodeIdMap> nodeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:210:25: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | NodeIdMap> nodeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:210:38: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | NodeIdMap> nodeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:211:5: warning: no header providing "EdgeIdMap" is directly included [misc-include-cleaner] 21 | EdgeIdMap> edgeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:211:20: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 30 | EdgeIdMap> edgeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:211:25: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | EdgeIdMap> edgeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:211:38: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | EdgeIdMap> edgeIdMoves; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:213:46: warning: no header providing "std::max" is directly included [misc-include-cleaner] 28 | auto maxNumNodes = static_cast(std::max(_nodesComponentId.size(), newNodesComponentId.size())); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:214:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | for(NodeId nodeId(0); nodeId < maxNumNodes; ++nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:235:46: warning: no header providing "std::max" is directly included [misc-include-cleaner] 28 | auto maxNumEdges = static_cast(std::max(_edgesComponentId.size(), newEdgesComponentId.size())); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:236:9: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | for(EdgeId edgeId(0); edgeId < maxNumEdges; ++edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:263:14: warning: no header providing "std::erase_if" is directly included [misc-include-cleaner] 30 | std::erase_if(mergees, [&](const auto& componentId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:269:10: warning: no header providing "std::erase_if" is directly included [misc-include-cleaner] 30 | std::erase_if(mergedComponents, [](const auto& m) { return m.second.size() <= 1; }); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:270:10: warning: no header providing "std::erase_if" is directly included [misc-include-cleaner] 30 | std::erase_if(mergedComponentIds, [&](const auto& componentId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:278:24: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "componentsWillMerge" << mergee.second << "->" << mergee.first; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:279:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit componentsWillMerge(graph, ComponentMergeSet(std::move(mergee.second), mergee.first)); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:279:64: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | emit componentsWillMerge(graph, ComponentMergeSet(std::move(mergee.second), mergee.first)); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:285:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 29 | Q_ASSERT(!componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:286:24: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "componentWillBeRemoved" << componentId; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:288:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit componentWillBeRemoved(graph, componentId, hasMerged); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:301:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 28 | std::copy(_componentIdsSet.begin(), _componentIdsSet.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:302:14: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 28 | std::back_inserter(_componentIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:306:30: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _nodesComponentId = std::move(newNodesComponentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:307:30: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _edgesComponentId = std::move(newEdgesComponentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:313:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 28 | std::copy(componentIdsToBeAdded.begin(), componentIdsToBeAdded.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:314:14: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 28 | std::back_inserter(_componentIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:315:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 28 | std::copy(componentIdsToBeAdded.begin(), componentIdsToBeAdded.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:316:14: warning: no header providing "std::inserter" is directly included [misc-include-cleaner] 28 | std::inserter(_componentIdsSet, _componentIdsSet.begin())); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:318:10: warning: no header providing "std::stable_sort" is directly included [misc-include-cleaner] 28 | std::stable_sort(_componentIds.begin(), _componentIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:335:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 29 | Q_ASSERT(!componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:336:24: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "componentAdded" << componentId; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:338:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit componentAdded(graph, componentId, hasSplit); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:350:24: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "componentSplit" << splitee.first << "->" << splitee.second; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:351:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit componentSplit(graph, ComponentSplitSet(splitee.first, std::move(splitee.second))); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:351:74: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | emit componentSplit(graph, ComponentSplitSet(splitee.first, std::move(splitee.second))); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:358:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit nodeAddedToComponent(graph, nodeId, componentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:364:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit edgeAddedToComponent(graph, edgeId, componentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:370:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit nodeRemovedFromComponent(graph, nodeId, componentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:376:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit edgeRemovedFromComponent(graph, edgeId, componentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:380:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit nodeMovedBetweenComponents(graph, nodeId, moveComponentIds.first, moveComponentIds.second); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:383:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit edgeMovedBetweenComponents(graph, edgeId, moveComponentIds.first, moveComponentIds.second); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:387:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | qDebug() << "ComponentIds:" << _componentIdsSet; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:390:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | qDebug() << componentId << componentFor(componentId)->nodeIds(); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:393:20: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "ComponentManager::update ends" << this << _componentIdsSet; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:396:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | ComponentId ComponentManager::generateComponentId() | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:398:5: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | ComponentId newComponentId; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:411:70: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | void ComponentManager::queueGraphComponentUpdate(const Graph* graph, ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:417:36: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 29 | auto graphComponent = std::make_unique(graph); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:418:43: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | setComponentFor(componentId, std::move(graphComponent)); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:458:45: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | void ComponentManager::removeGraphComponent(ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:468:48: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | GraphComponent* ComponentManager::componentFor(ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:470:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 29 | Q_ASSERT(!componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:472:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | auto index = static_cast(componentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:480:54: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | const GraphComponent* ComponentManager::componentFor(ComponentId componentId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:482:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 29 | Q_ASSERT(!componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:484:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | auto index = static_cast(componentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:492:40: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | void ComponentManager::setComponentFor(ComponentId componentId, std::unique_ptr graphComponent) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:492:70: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 29 | void ComponentManager::setComponentFor(ComponentId componentId, std::unique_ptr graphComponent) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:494:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 29 | Q_ASSERT(!componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:496:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | auto index = static_cast(componentId); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:499:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | const size_t newSize = index > 0 ? index * 2 : 1; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:503:31: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _components[index] = std::move(graphComponent); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:511:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | size_t newSize = _components.size(); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:537:27: warning: no header providing "std::defer_lock" is directly included [misc-include-cleaner] 29 | _lock(mutex, std::defer_lock) | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:551:17: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 29 | qWarning() << "WARNING: thread" << u::currentThreadName() << | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:564:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 29 | std::unique_lock _lock; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:567:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 30 | const std::vector& ComponentManager::componentIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:567:19: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | const std::vector& ComponentManager::componentIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:569:41: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 29 | const unique_lock_with_warning lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:574:44: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | bool ComponentManager::containsComponentId(ComponentId componentId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:576:41: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 29 | const unique_lock_with_warning lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:581:55: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | const GraphComponent* ComponentManager::componentById(ComponentId componentId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:583:41: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 29 | const unique_lock_with_warning lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:586:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 29 | Q_ASSERT(component != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:591:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | ComponentId ComponentManager::componentIdOfNode(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:591:49: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | ComponentId ComponentManager::componentIdOfNode(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:596:41: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 29 | const unique_lock_with_warning lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:602:20: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "Can't find componentId of nodeId" << nodeId; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:606:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | ComponentId ComponentManager::componentIdOfEdge(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:606:49: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | ComponentId ComponentManager::componentIdOfEdge(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:611:41: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 29 | const unique_lock_with_warning lock(_updateMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.cpp:617:20: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | if(_debug > 0) qDebug() << "Can't find componentId of edgeId" << edgeId; | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 12437 warnings generated. [93/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:21:1: warning: included header graphcomponent.h is not used directly [misc-include-cleaner] 21 | #include "graphcomponent.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include "componentmanager.h" /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:44:99: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 26 | connect(_graph, &Graph::graphChanged, this, &GraphConsistencyChecker::onGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:59:45: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | ComponentId thisComponentId = ComponentId()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:59:75: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | ComponentId thisComponentId = ComponentId()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:74:35: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 25 | static bool checkComponents(const IGraphComponent&) { return true; } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:77:45: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | ComponentId thisComponentId) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:94:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Node" << sourceId << "'s edges don't contain" << edgeId; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:100:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Edge" << edgeId << "'s source" << sourceId << "is not in the graph"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:108:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Node" << targetId << "'s edges don't contain" << edgeId; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:114:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Edge" << edgeId << "'s target" << targetId << "is not in the graph"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:120:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Edge" << edgeId << "is in edgeIds(), but not in the graph"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:136:25: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Node" << nodeId << "has edge" << edgeId << "but not vice versa"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:142:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Edge" << edgeId << "is in node" << nodeId << "'s edges, but not in the graph"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:149:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Node" << nodeId << "is in nodeIds(), but not in the graph"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:160:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 26 | qDebug() << "Component" << thisComponentId << "is inconsistent"; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 10641 warnings generated. [94/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:20:1: warning: included header graphcomponent.h is not used directly [misc-include-cleaner] 20 | #include "graphcomponent.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 | /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:22:1: warning: included header elementiddistinctsetcollection_debug.h is not used directly [misc-include-cleaner] 22 | #include "elementiddistinctsetcollection_debug.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include "shared/graph/igrapharray.h" /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:28:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:29:1: warning: included header QMetaType is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:30:1: warning: included header QDebug is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:37:9: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:37:27: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | #include "shared/graph/igrapharray.h" 24 | #include "shared/graph/elementid_debug.h" 25 | #include "shared/utils/container.h" 26 | #include "componentmanager.h" 27 | 28 | #include 29 | #include 30 | #include 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:38:9: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); 38 | qRegisterMetaType("NodeIdSet"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:38:27: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | #include "shared/graph/igrapharray.h" 24 | #include "shared/graph/elementid_debug.h" 25 | #include "shared/utils/container.h" 26 | #include "componentmanager.h" 27 | 28 | #include 29 | #include 30 | #include 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); 38 | qRegisterMetaType("NodeIdSet"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:39:9: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); 38 | qRegisterMetaType("NodeIdSet"); 39 | qRegisterMetaType("EdgeId"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:39:27: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | qRegisterMetaType("EdgeId"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:40:9: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); 38 | qRegisterMetaType("NodeIdSet"); 39 | qRegisterMetaType("EdgeId"); 40 | qRegisterMetaType("EdgeIdSet"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:40:27: warning: no header providing "EdgeIdSet" is directly included [misc-include-cleaner] 23 | qRegisterMetaType("EdgeIdSet"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:41:9: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); 38 | qRegisterMetaType("NodeIdSet"); 39 | qRegisterMetaType("EdgeId"); 40 | qRegisterMetaType("EdgeIdSet"); 41 | qRegisterMetaType("ComponentId"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:41:27: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | qRegisterMetaType("ComponentId"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:42:9: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 31 | 32 | static void registerQtTypes() 33 | { 34 | static bool registered = false; 35 | if(!registered) 36 | { 37 | qRegisterMetaType("NodeId"); 38 | qRegisterMetaType("NodeIdSet"); 39 | qRegisterMetaType("EdgeId"); 40 | qRegisterMetaType("EdgeIdSet"); 41 | qRegisterMetaType("ComponentId"); 42 | qRegisterMetaType("ComponentIdSet"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:42:27: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 23 | qRegisterMetaType("ComponentIdSet"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:48:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector Node::inEdgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:48:13: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | std::vector Node::inEdgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:50:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:50:17: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:51:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | edgeIds.reserve(static_cast(inDegree())); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:52:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 31 | std::copy(_inEdgeIds.begin(), _inEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:52:58: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 31 | std::copy(_inEdgeIds.begin(), _inEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:56:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector Node::outEdgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:56:13: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | std::vector Node::outEdgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:58:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:58:17: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:59:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | edgeIds.reserve(static_cast(outDegree())); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:60:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 31 | std::copy(_outEdgeIds.begin(), _outEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:60:60: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 31 | std::copy(_outEdgeIds.begin(), _outEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:64:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector Node::edgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:64:13: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | std::vector Node::edgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:66:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:66:17: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:67:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | edgeIds.reserve(static_cast(degree())); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:68:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 31 | std::copy(_inEdgeIds.begin(), _inEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:68:58: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 31 | std::copy(_inEdgeIds.begin(), _inEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:69:10: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 31 | std::copy(_outEdgeIds.begin(), _outEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:69:60: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 31 | std::copy(_outEdgeIds.begin(), _outEdgeIds.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:93:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | NodeId Graph::firstNodeId() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:95:51: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | return !nodeIds().empty() ? nodeIds().at(0) : NodeId(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:98:28: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | bool Graph::containsNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:103:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | EdgeId Graph::firstEdgeId() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:105:51: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | return !edgeIds().empty() ? edgeIds().at(0) : EdgeId(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:108:28: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | bool Graph::containsEdgeId(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:123:34: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 31 | _componentManager = std::make_unique(*this); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:125:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::componentAdded, this, &Graph::componentAdded, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:126:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::componentWillBeRemoved, this, &Graph::componentWillBeRemoved, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:127:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::componentSplit, this, &Graph::componentSplit, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:128:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::componentsWillMerge, this, &Graph::componentsWillMerge, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:130:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::nodeAddedToComponent, this, &Graph::nodeAddedToComponent, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:131:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::nodeRemovedFromComponent, this, &Graph::nodeRemovedFromComponent, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:132:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::edgeAddedToComponent, this, &Graph::edgeAddedToComponent, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:133:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::edgeRemovedFromComponent, this, &Graph::edgeRemovedFromComponent, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:134:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::nodeMovedBetweenComponents, this, &Graph::nodeMovedBetweenComponents, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:135:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(_componentManager.get(), &ComponentManager::edgeMovedBetweenComponents, this, &Graph::edgeMovedBetweenComponents, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:149:5: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << component.numNodes() << "nodes" << component.numEdges() << "edges"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:156:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "Node" << nodeId << edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:162:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "Edge" << edgeId << "(" << edge.sourceId() << "->" << edge.targetId() << ")"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:178:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "component" << componentId; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:187:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_nodeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:187:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_nodeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:193:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_nodeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:193:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_nodeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:199:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_edgeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:199:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_edgeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:205:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_edgeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:205:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 31 | const std::unique_lock lock(_edgeArraysMutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:209:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t Graph::numComponentArrays() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:229:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | NodeId Graph::nextNodeId() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:234:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | NodeId Graph::lastNodeIdInUse() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:242:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | EdgeId Graph::nextEdgeId() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:247:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | EdgeId Graph::lastEdgeIdInUse() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:255:27: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | void Graph::reserveNodeId(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:263:39: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | nodeArray->resize(static_cast(_nextNodeId)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:266:27: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | void Graph::reserveEdgeId(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:274:39: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | edgeArray->resize(static_cast(_nextEdgeId)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:283:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | const std::vector& Graph::componentIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:283:19: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | const std::vector& Graph::componentIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:285:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(componentManagementEnabled()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:290:23: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | static const std::vector emptyComponentIdList; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:290:30: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | static const std::vector emptyComponentIdList; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:295:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t Graph::numComponents() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:297:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(componentManagementEnabled()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:302:33: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | bool Graph::containsComponentId(ComponentId componentId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:304:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(componentManagementEnabled()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:309:5: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 31 | qFatal("Graph::containsComponentId called with component management disabled"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:313:7: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 25 | const IGraphComponent* Graph::componentById(ComponentId componentId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:313:45: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | const IGraphComponent* Graph::componentById(ComponentId componentId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:315:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(componentManagementEnabled()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:320:5: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 31 | qFatal("Graph::componentById called with component management disabled"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:324:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | ComponentId Graph::componentIdOfNode(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:324:38: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | ComponentId Graph::componentIdOfNode(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:326:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(componentManagementEnabled()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:334:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | ComponentId Graph::componentIdOfEdge(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:334:38: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | ComponentId Graph::componentIdOfEdge(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:336:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(componentManagementEnabled()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:344:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 23 | ComponentId Graph::componentIdOfLargestComponent() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:346:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 31 | Q_ASSERT(componentManagementEnabled()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:356:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector Graph::sourcesOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:356:13: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector Graph::sourcesOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:356:38: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector Graph::sourcesOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:358:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:358:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:371:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector Graph::targetsOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:371:13: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector Graph::targetsOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:371:38: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector Graph::targetsOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:373:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:373:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:386:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector Graph::neighboursOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:386:13: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector Graph::neighboursOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:386:41: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector Graph::neighboursOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:388:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:388:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11031 warnings generated. [95/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:72:1: warning: included header icommand.h is not used directly [misc-include-cleaner] 72 | #include "shared/commands/icommand.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:83:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 83 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | #include /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:84:1: warning: included header QSet is not used directly [misc-include-cleaner] 84 | #include | ^~~~~~~~~~~~~~~ 85 | #include /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:85:1: warning: included header QMetaType is not used directly [misc-include-cleaner] 85 | #include | ^~~~~~~~~~~~~~~~~~~~ 86 | /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:132:63: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | float _nodeSize = u::pref(u"visuals/defaultNormalNodeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:133:63: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | float _edgeSize = u::pref(u"visuals/defaultNormalEdgeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:140:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList _visualisedAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:156:9: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | ValueType _valueType; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:157:9: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | ElementType _elementType; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:160:13: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | ValueType valueType, ElementType elementType) : | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:160:34: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | ValueType valueType, ElementType elementType) : | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:190:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList _removedDynamicAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:191:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList _changedDynamicAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:195:32: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | if(!attribute.testFlag(AttributeFlag::FindShared)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:195:47: warning: no header providing "AttributeFlag_reflector::Enum::FindShared" is directly included [misc-include-cleaner] 25 | if(!attribute.testFlag(AttributeFlag::FindShared)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:198:39: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:198:52: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:200:44: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:200:57: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:202:44: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:202:57: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:203:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 87 | qDebug() << "updateSharedAttributeValues called on component attribute"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:206:28: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 87 | std::map> _graphTransformFactories; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:208:28: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 87 | std::map> _visualisationChannels; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:208:39: warning: no header providing "VisualisationChannel" is directly included [misc-include-cleaner] 65 | std::map> _visualisationChannels; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:216:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 25 | NodeIdSet _selectedNodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:217:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 25 | NodeIdSet _foundNodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:218:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 25 | NodeIdSet _highlightedNodeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:228:12: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _(std::make_unique(*this)), | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:233:5: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 87 | qRegisterMetaType("VisualChangeFlags"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:233:23: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | qRegisterMetaType("VisualChangeFlags"); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:235:78: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | connect(&_->_transformedGraph, &Graph::nodeRemoved, [this](const Graph*, NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:237:41: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | _->_nodeVisuals[nodeId]._state = VisualFlags::None; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:237:54: warning: no header providing "None" is directly included [misc-include-cleaner] 29 | _->_nodeVisuals[nodeId]._state = VisualFlags::None; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:239:78: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | connect(&_->_transformedGraph, &Graph::edgeRemoved, [this](const Graph*, EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:241:41: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | _->_edgeVisuals[edgeId]._state = VisualFlags::None; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:241:54: warning: no header providing "None" is directly included [misc-include-cleaner] 29 | _->_edgeVisuals[edgeId]._state = VisualFlags::None; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:244:93: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 87 | connect(&_->_graph, &Graph::graphChanged, this, &GraphModel::onMutableGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:251:114: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 87 | connect(&_->_transformedGraph, &Graph::graphWillChange, this, &GraphModel::onTransformedGraphWillChange, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:252:108: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 87 | connect(&_->_transformedGraph, &Graph::graphChanged, this, &GraphModel::onTransformedGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:254:18: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | [this](const QStringList& attributeNames) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:259:33: warning: no header providing "UserData" is directly included [misc-include-cleaner] 29 | connect(&_->_userNodeData, &UserData::vectorValuesChanged, [this](const QString& vectorName) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:269:33: warning: no header providing "UserData" is directly included [misc-include-cleaner] 29 | connect(&_->_userEdgeData, &UserData::vectorValuesChanged, [this](const QString& vectorName) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:279:95: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 87 | connect(this, &GraphModel::attributesChanged, this, &GraphModel::onAttributesChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:281:36: warning: no header providing "PreferencesWatcher" is directly included [misc-include-cleaner] 25 | connect(&_preferencesWatcher, &PreferencesWatcher::preferenceChanged, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:286:31: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | .setIntValueFn([this](NodeId nodeId) { return _->_transformedGraph.nodeById(nodeId).degree(); }) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:294:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | .setIntValueFn([this](NodeId nodeId) { return _->_transformedGraph.nodeById(nodeId).inDegree(); }) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:300:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | .setIntValueFn([this](NodeId nodeId) { return _->_transformedGraph.nodeById(nodeId).outDegree(); }) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:307:31: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | .setIntValueFn([this](NodeId nodeId) { return _->_transformedGraph.multiplicityOf(nodeId); }) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:313:31: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | .setIntValueFn([this](EdgeId edgeId) { return _->_transformedGraph.multiplicityOf(edgeId); }) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:319:33: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 29 | .setIntValueFn([](const IGraphComponent& component) { return static_cast(component.numNodes()); }) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:325:34: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | .setStringValueFn([this](NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:327:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | return u"Component %1"_s.arg(static_cast(_->_transformedGraph.componentIdOfNode(nodeId) + 1)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:330:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | .setFlag(AttributeFlag::DisableDuringTransform); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:330:33: warning: no header providing "AttributeFlag_reflector::Enum::DisableDuringTransform" is directly included [misc-include-cleaner] 25 | .setFlag(AttributeFlag::DisableDuringTransform); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:334:34: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | .setStringValueFn([this](EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:336:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | return u"Component %1"_s.arg(static_cast(_->_transformedGraph.componentIdOfEdge(edgeId) + 1)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:339:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | .setFlag(AttributeFlag::DisableDuringTransform); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:339:33: warning: no header providing "AttributeFlag_reflector::Enum::DisableDuringTransform" is directly included [misc-include-cleaner] 25 | .setFlag(AttributeFlag::DisableDuringTransform); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:341:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Remove Nodes"), std::make_unique(this, ElementType::Node, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:341:120: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Remove Nodes"), std::make_unique(this, ElementType::Node, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:341:133: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Remove Nodes"), std::make_unique(this, ElementType::Node, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:342:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Remove Edges"), std::make_unique(this, ElementType::Edge, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:342:120: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Remove Edges"), std::make_unique(this, ElementType::Edge, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:342:133: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Remove Edges"), std::make_unique(this, ElementType::Edge, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:343:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Remove Components"), std::make_unique(this, ElementType::Component, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:343:120: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Remove Components"), std::make_unique(this, ElementType::Component, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:343:133: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Remove Components"), std::make_unique(this, ElementType::Component, false)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:344:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Keep Nodes"), std::make_unique(this, ElementType::Node, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:344:120: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Keep Nodes"), std::make_unique(this, ElementType::Node, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:344:133: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Keep Nodes"), std::make_unique(this, ElementType::Node, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:345:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Keep Edges"), std::make_unique(this, ElementType::Edge, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:345:120: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Keep Edges"), std::make_unique(this, ElementType::Edge, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:345:133: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Keep Edges"), std::make_unique(this, ElementType::Edge, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:346:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Keep Components"), std::make_unique(this, ElementType::Component, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:346:120: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Keep Components"), std::make_unique(this, ElementType::Component, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:346:133: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Keep Components"), std::make_unique(this, ElementType::Component, true)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:347:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Contract Edges"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:348:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("MCL Cluster"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:349:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Louvain Cluster"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:350:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Weighted Louvain Cluster"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:351:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("PageRank"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:352:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Eccentricity"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:353:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Betweenness"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:354:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Contract By Attribute"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:355:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Separate By Attribute"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:356:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Boolean Node Attribute"), std::make_unique(this, ElementType::Node)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:356:134: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Boolean Node Attribute"), std::make_unique(this, ElementType::Node)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:356:147: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Boolean Node Attribute"), std::make_unique(this, ElementType::Node)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:357:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Boolean Edge Attribute"), std::make_unique(this, ElementType::Edge)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:357:134: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Boolean Edge Attribute"), std::make_unique(this, ElementType::Edge)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:357:147: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | _->_graphTransformFactories.emplace(tr("Boolean Edge Attribute"), std::make_unique(this, ElementType::Edge)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:358:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("k-NN"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:359:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("%-NN"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:360:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Edge Reduction"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:361:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Spanning Forest"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:362:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Attribute Synthesis"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:363:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Combine Attributes"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:364:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Forward Attribute"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:365:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Average Attribute"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:366:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Type Cast"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:367:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Remove Leaves"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:368:78: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_graphTransformFactories.emplace(tr("Remove Branches"), std::make_unique(this)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:370:58: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_visualisationChannels.emplace(tr("Colour"), std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:371:56: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_visualisationChannels.emplace(tr("Size"), std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:372:63: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_visualisationChannels.emplace(tr("Shared Text"), std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:373:56: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_visualisationChannels.emplace(tr("Text"), std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:374:63: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_visualisationChannels.emplace(tr("Text Colour"), std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:375:61: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 87 | _->_visualisationChannels.emplace(tr("Text Size"), std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:385:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList dynamicAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:389:42: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | if(attributePair.second.testFlag(AttributeFlag::Dynamic)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:389:57: warning: no header providing "AttributeFlag_reflector::Enum::Dynamic" is directly included [misc-include-cleaner] 25 | if(attributePair.second.testFlag(AttributeFlag::Dynamic)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:413:7: warning: no header providing "IGraph" is directly included [misc-include-cleaner] 29 | const IGraph& GraphModel::graphImpl() const { return graph(); } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:415:7: warning: no header providing "IElementVisual" is directly included [misc-include-cleaner] 29 | const IElementVisual& GraphModel::nodeVisualImpl(NodeId nodeId) const { return nodeVisual(nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:415:50: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | const IElementVisual& GraphModel::nodeVisualImpl(NodeId nodeId) const { return nodeVisual(nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:416:7: warning: no header providing "IElementVisual" is directly included [misc-include-cleaner] 29 | const IElementVisual& GraphModel::edgeVisualImpl(EdgeId edgeId) const { return edgeVisual(edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:416:50: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | const IElementVisual& GraphModel::edgeVisualImpl(EdgeId edgeId) const { return edgeVisual(edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:444:45: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | const ElementVisual& GraphModel::nodeVisual(NodeId nodeId) const { return _->_nodeVisuals.at(nodeId); } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:445:45: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | const ElementVisual& GraphModel::edgeVisual(EdgeId edgeId) const { return _->_edgeVisuals.at(edgeId); } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:447:70: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | std::vector GraphModel::nodeVisuals(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:458:70: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | std::vector GraphModel::edgeVisuals(const std::vector& edgeIds) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:475:30: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | QString GraphModel::nodeName(NodeId nodeId) const { return _->_nodeNames[nodeId]; } | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:476:30: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | void GraphModel::setNodeName(NodeId nodeId, const QString& name) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:498:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_graphTransformFactories, graphTransformConfig._action)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:512:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::transformsWithMissingParametersSetToDefault(const QStringList& transforms) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:512:75: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::transformsWithMissingParametersSetToDefault(const QStringList& transforms) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:514:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList transformsWithDefaults; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:526:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_graphTransformFactories, graphTransformConfig._action)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:538:40: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | void GraphModel::buildTransforms(const QStringList& transforms, Progressable* progressable) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:538:65: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 29 | void GraphModel::buildTransforms(const QStringList& transforms, Progressable* progressable) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:553:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | if(graphTransformConfig.isFlagSet(u"disabled"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:556:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_graphTransformFactories, action)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:562:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 87 | Q_ASSERT(graphTransform != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:567:85: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | graphTransform->setRepeating(graphTransformConfig.isFlagSet(u"repeating"_s)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:582:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::availableTransformNames() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:584:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList stringList; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:590:80: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | const bool attributesAvailable = !availableAttributeNames(elementType, ValueType::All).isEmpty(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:590:91: warning: no header providing "ValueType_reflector::Enum::All" is directly included [misc-include-cleaner] 25 | const bool attributesAvailable = !availableAttributeNames(elementType, ValueType::All).isEmpty(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:592:27: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(elementType == ElementType::None || attributesAvailable) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:592:40: warning: no header providing "ElementType_reflector::Enum::None" is directly included [misc-include-cleaner] 25 | if(elementType == ElementType::None || attributesAvailable) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:601:39: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!transformName.isEmpty() && u::contains(_->_graphTransformFactories, transformName)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:607:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::availableAttributeNames(ElementType elementTypes, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:607:49: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | QStringList GraphModel::availableAttributeNames(ElementType elementTypes, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:608:5: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | ValueType valueTypes, AttributeFlag skipFlags, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:608:27: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | ValueType valueTypes, AttributeFlag skipFlags, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:609:11: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | const QStringList& skipAttributeNames) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:611:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList stringList; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:615:19: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(!Flags(elementTypes).test(attribute.second.elementType())) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:618:19: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | if(!Flags(valueTypes).test(attribute.second.valueType())) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:633:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::avaliableConditionFnOps(const QString& attributeName) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:635:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList ops; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:637:39: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(attributeName.isEmpty() || !u::contains(_->_attributes, attributeName)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:644:74: warning: no header providing "ConditionFnOp::Unary" is directly included [misc-include-cleaner] 21 | ops.append(GraphTransformConfigParser::opToString(ConditionFnOp::Unary::HasValue)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:644:81: warning: no header providing "ConditionFnOp::Unary::HasValue" is directly included [misc-include-cleaner] 21 | ops.append(GraphTransformConfigParser::opToString(ConditionFnOp::Unary::HasValue)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:658:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(_->_transformInfos, index)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:683:1: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | ValueType GraphModel::valueTypeOfTransformAttributeName(const QString& attributeName) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:696:12: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | return ValueType::Unknown; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:696:23: warning: no header providing "ValueType_reflector::Enum::Unknown" is directly included [misc-include-cleaner] 25 | return ValueType::Unknown; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:713:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_visualisationChannels, visualisationConfig._channelName)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:722:44: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | void GraphModel::buildVisualisations(const QStringList& visualisations) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:734:27: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | VisualisationsBuilder nodeVisualisationsBuilder(graph(), _->_mappedNodeVisuals); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:735:27: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | VisualisationsBuilder edgeVisualisationsBuilder(graph(), _->_mappedEdgeVisuals); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:748:53: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | if(visualisationConfig.isFlagSet(u"disabled"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:760:27: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 29 | info.addAlert(AlertType::Error, tr("Attribute '%1' doesn't exist").arg(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:760:38: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 29 | info.addAlert(AlertType::Error, tr("Attribute '%1' doesn't exist").arg(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:764:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_visualisationChannels, channelName)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:766:27: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 29 | info.addAlert(AlertType::Error, tr("Visualisation channel '%1' doesn't exist").arg(channelName)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:766:38: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 29 | info.addAlert(AlertType::Error, tr("Visualisation channel '%1' doesn't exist").arg(channelName)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:777:27: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 29 | info.addAlert(AlertType::Error, tr("Visualisation doesn't support attribute type")); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:777:38: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 29 | info.addAlert(AlertType::Error, tr("Visualisation doesn't support attribute type")); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:786:39: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Edge && channelName == u"Text"_s) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:786:52: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Edge && channelName == u"Text"_s) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:786:82: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | if(attribute.elementType() == ElementType::Edge && channelName == u"Text"_s) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:789:37: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | if(attribute.valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:789:48: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 25 | if(attribute.valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:791:13: warning: no header providing "QCollator" is directly included [misc-include-cleaner] 87 | QCollator collator; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:797:47: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:797:60: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:799:52: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:799:65: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:803:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | if(!visualisationConfig.isFlagSet(u"assignByQuantity"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:807:22: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 87 | std::sort(sharedValues.begin(), sharedValues.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:819:22: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 87 | std::sort(sharedValues.begin(), sharedValues.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:838:14: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | case ElementType::Node: | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:838:27: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | case ElementType::Node: | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:842:14: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | case ElementType::Edge: | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:842:27: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | case ElementType::Edge: | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:871:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::availableVisualisationChannelNames(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:871:60: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | QStringList GraphModel::availableVisualisationChannelNames(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:871:85: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | QStringList GraphModel::availableVisualisationChannelNames(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:873:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList stringList; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:889:12: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_visualisationChannels, channelName)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:895:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::visualisationDescription(const QString& attributeName, const QStringList& channelNames) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:895:86: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList GraphModel::visualisationDescription(const QString& attributeName, const QStringList& channelNames) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:897:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList descriptions; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:904:16: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_visualisationChannels, channelName)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:933:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(_->_visualisationInfos, index)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:939:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 87 | QVariantMap GraphModel::visualisationDefaultParameters(ValueType valueType, const QString& channelName) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:939:56: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | QVariantMap GraphModel::visualisationDefaultParameters(ValueType valueType, const QString& channelName) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:941:12: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_visualisationChannels, channelName)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:949:49: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | std::vector GraphModel::attributeNames(ElementType elementType) const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:955:18: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(Flags(elementType).test(attribute.second.elementType())) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:975:27: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | attribute.setFlag(AttributeFlag::Dynamic); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:975:42: warning: no header providing "AttributeFlag_reflector::Enum::Dynamic" is directly included [misc-include-cleaner] 25 | attribute.setFlag(AttributeFlag::Dynamic); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:995:12: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_attributes, name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1008:12: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_attributes, attributeName._name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1010:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 87 | qDebug() << "WARNING: attribute unknown in attributeByName" << attributeName._name; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1025:15: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | return u::contains(_->_attributes, attributeName._name); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1037:29: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | attribute->testFlag(AttributeFlag::DisableDuringTransform); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1037:44: warning: no header providing "AttributeFlag_reflector::Enum::DisableDuringTransform" is directly included [misc-include-cleaner] 25 | attribute->testFlag(AttributeFlag::DisableDuringTransform); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1046:12: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_->_attributes, attributeName._name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1048:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 87 | qDebug() << "WARNING: attribute unknown in attributeValueByName" << attributeName._name; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1066:48: warning: no header providing "IGraph" is directly included [misc-include-cleaner] 29 | void GraphModel::calculateAttributeRange(const IGraph* graph, Attribute& attribute) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1068:28: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | if(!attribute.testFlag(AttributeFlag::AutoRange)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1068:43: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 25 | if(!attribute.testFlag(AttributeFlag::AutoRange)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1071:35: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1071:48: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | if(attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1073:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1073:53: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1075:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1075:53: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 25 | else if(attribute.elementType() == ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1076:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 87 | qDebug() << "calculateAttributeRange called on component attribute"; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1107:31: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 87 | auto attributeNameRegex = QRegularExpression(IAttribute::ValidNameRegex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1107:50: warning: no header providing "IAttribute" is directly included [misc-include-cleaner] 25 | auto attributeNameRegex = QRegularExpression(IAttribute::ValidNameRegex); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1123:39: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 25 | void GraphModel::highlightNodes(const NodeIdSet& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1177:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | auto nodeColor = u::pref(u"visuals/defaultNodeColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1177:72: warning: no header providing "QColor" is directly included [misc-include-cleaner] 87 | auto nodeColor = u::pref(u"visuals/defaultNodeColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1178:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | auto edgeColor = u::pref(u"visuals/defaultEdgeColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1178:72: warning: no header providing "QColor" is directly included [misc-include-cleaner] 87 | auto edgeColor = u::pref(u"visuals/defaultEdgeColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1179:63: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | auto multiColor = u::pref(u"visuals/multiElementColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1179:73: warning: no header providing "QColor" is directly included [misc-include-cleaner] 87 | auto multiColor = u::pref(u"visuals/multiElementColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1184:72: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | auto meIndicators = u::pref(u"visuals/showMultiElementIndicators"_s).toBool(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1192:45: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.reset(VisualFlags::Selected, VisualFlags::Unhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1192:58: warning: no header providing "Selected" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.reset(VisualFlags::Selected, VisualFlags::Unhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1192:68: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.reset(VisualFlags::Selected, VisualFlags::Unhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1192:81: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.reset(VisualFlags::Selected, VisualFlags::Unhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1212:89: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | newNodeVisuals[nodeId]._innerColor = !meIndicators || graph().typeOf(nodeId) == MultiElementType::Not ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1212:107: warning: no header providing "MultiElementType::Not" is directly included [misc-include-cleaner] 21 | newNodeVisuals[nodeId]._innerColor = !meIndicators || graph().typeOf(nodeId) == MultiElementType::Not ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1234:34: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | auto nodeIsSelected = u::contains(_->_selectedNodeIds, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1236:48: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | newNodeVisuals[nodeId]._state.setState(VisualFlags::Selected, nodeIsSelected); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1236:61: warning: no header providing "Selected" is directly included [misc-include-cleaner] 29 | newNodeVisuals[nodeId]._state.setState(VisualFlags::Selected, nodeIsSelected); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1241:56: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.setState(VisualFlags::Selected, nodeIsSelected); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1241:69: warning: no header providing "Selected" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.setState(VisualFlags::Selected, nodeIsSelected); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1244:60: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | auto isNotFound = !_->_foundNodeIds.empty() && !u::contains(_->_foundNodeIds, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1246:17: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | !u::contains(_->_highlightedNodeIds, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1250:48: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | newNodeVisuals[nodeId]._state.setState(VisualFlags::Unhighlighted, nodeUnhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1250:61: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 29 | newNodeVisuals[nodeId]._state.setState(VisualFlags::Unhighlighted, nodeUnhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1255:51: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.set(VisualFlags::Unhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1255:64: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 29 | newEdgeVisuals[edgeId]._state.set(VisualFlags::Unhighlighted); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1273:38: warning: no header providing "std::min" is directly included [misc-include-cleaner] 87 | auto minEdgeNodesSize = std::min(newNodeVisuals[edge.sourceId()]._size, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1275:45: warning: no header providing "std::min" is directly included [misc-include-cleaner] 87 | newEdgeVisuals[edgeId]._size = std::min(newEdgeVisuals[edgeId]._size, minEdgeNodesSize); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1283:89: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | newEdgeVisuals[edgeId]._innerColor = !meIndicators || graph().typeOf(edgeId) == MultiElementType::Not ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1283:107: warning: no header providing "MultiElementType::Not" is directly included [misc-include-cleaner] 21 | newEdgeVisuals[edgeId]._innerColor = !meIndicators || graph().typeOf(edgeId) == MultiElementType::Not ? | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1311:48: warning: no header providing "std::cbrt" is directly included [misc-include-cleaner] 87 | textVisual._size = textSize * std::cbrt(static_cast(textVisual._nodeIds.size())); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1318:15: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | Flags change; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1322:29: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1322:48: warning: no header providing "VisualChangeFlags::Size" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1325:21: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Size : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1325:40: warning: no header providing "VisualChangeFlags::Size" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Size : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1325:47: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Size : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1325:66: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Size : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1328:29: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1328:48: warning: no header providing "VisualChangeFlags::Color" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::Color)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1331:21: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1331:40: warning: no header providing "VisualChangeFlags::Color" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1331:48: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1331:67: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1334:21: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1334:40: warning: no header providing "VisualChangeFlags::Color" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1334:48: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1334:67: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Color : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1337:29: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1337:48: warning: no header providing "VisualChangeFlags::Text" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::Text)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1340:21: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Text : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1340:40: warning: no header providing "VisualChangeFlags::Text" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Text : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1340:47: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Text : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1340:66: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::Text : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1343:29: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1343:48: warning: no header providing "VisualChangeFlags::TextColor" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::TextColor)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1346:21: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextColor : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1346:40: warning: no header providing "VisualChangeFlags::TextColor" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextColor : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1346:52: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextColor : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1346:71: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextColor : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1349:29: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1349:48: warning: no header providing "VisualChangeFlags::TextSize" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::TextSize)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1352:21: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1352:40: warning: no header providing "VisualChangeFlags::TextSize" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1352:51: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1352:70: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::TextSize : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1355:29: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1355:48: warning: no header providing "VisualChangeFlags::State" is directly included [misc-include-cleaner] 29 | if(!change.test(VisualChangeFlags::State)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1358:21: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::State : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1358:40: warning: no header providing "VisualChangeFlags::State" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::State : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1358:48: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::State : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1358:67: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | VisualChangeFlags::State : VisualChangeFlags::None); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1367:15: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | Flags change; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1370:20: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1370:39: warning: no header providing "VisualChangeFlags::State" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1372:40: warning: no header providing "u::keysFor" is directly included [misc-include-cleaner] 29 | auto previousComponentIds = u::keysFor(previous); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1373:39: warning: no header providing "u::keysFor" is directly included [misc-include-cleaner] 29 | auto currentComponentIds = u::keysFor(current); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1376:20: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1376:39: warning: no header providing "VisualChangeFlags::State" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1378:19: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 25 | for(const ComponentId componentId : previousComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1384:24: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1384:43: warning: no header providing "VisualChangeFlags::State" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1386:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 87 | for(size_t i = 0; i < previousTextVisuals.size(); i++) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1392:28: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1392:47: warning: no header providing "VisualChangeFlags::State" is directly included [misc-include-cleaner] 29 | return VisualChangeFlags::State; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1395:32: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | change.set(VisualChangeFlags::TextColor); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1395:51: warning: no header providing "VisualChangeFlags::TextColor" is directly included [misc-include-cleaner] 29 | change.set(VisualChangeFlags::TextColor); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1398:32: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | change.set(VisualChangeFlags::TextSize); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1398:51: warning: no header providing "VisualChangeFlags::TextSize" is directly included [misc-include-cleaner] 29 | change.set(VisualChangeFlags::TextSize); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1405:11: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | const VisualChangeFlags nodeChange = findChange(graph().nodeIds(), _->_nodeVisuals, newNodeVisuals); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1406:11: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | const VisualChangeFlags edgeChange = findChange(graph().edgeIds(), _->_edgeVisuals, newEdgeVisuals); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1407:11: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | const VisualChangeFlags textChange = findTextVisualsChange(_->_textVisuals, _->_newTextVisuals); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1409:31: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(force || nodeChange != VisualChangeFlags::None || edgeChange != VisualChangeFlags::None || textChange != VisualChangeFlags::None) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1409:50: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | if(force || nodeChange != VisualChangeFlags::None || edgeChange != VisualChangeFlags::None || textChange != VisualChangeFlags::None) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1409:72: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(force || nodeChange != VisualChangeFlags::None || edgeChange != VisualChangeFlags::None || textChange != VisualChangeFlags::None) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1409:91: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | if(force || nodeChange != VisualChangeFlags::None || edgeChange != VisualChangeFlags::None || textChange != VisualChangeFlags::None) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1409:113: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 29 | if(force || nodeChange != VisualChangeFlags::None || edgeChange != VisualChangeFlags::None || textChange != VisualChangeFlags::None) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1409:132: warning: no header providing "VisualChangeFlags::None" is directly included [misc-include-cleaner] 29 | if(force || nodeChange != VisualChangeFlags::None || edgeChange != VisualChangeFlags::None || textChange != VisualChangeFlags::None) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1411:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 87 | emit visualsWillChange(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1417:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 87 | emit visualsChanged(nodeChange, edgeChange, textChange); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1434:65: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 87 | void GraphModel::onPreferenceChanged(const QString& name, const QVariant&) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1436:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | if(!name.startsWith(u"visuals"_s)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1439:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | const bool force = name.endsWith(u"backgroundColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1440:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"showNodeText"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1441:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"showEdgeText"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1442:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"showEdges"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1443:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"edgeVisualType"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1444:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"highlightColor"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1445:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"textFont"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1446:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"textSize"_s) || | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1447:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 87 | name.endsWith(u"textAlignment"_s); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1480:42: warning: no header providing "u::setDifference" is directly included [misc-include-cleaner] 29 | auto removedAttributeIdentities = u::setDifference(_->_previousAttributeIdentities, attributeIdentities); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1481:40: warning: no header providing "u::setDifference" is directly included [misc-include-cleaner] 29 | auto addedAttributeIdentities = u::setDifference(attributeIdentities, _->_previousAttributeIdentities); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1483:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList removedAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1484:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList addedAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1488:10: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 87 | std::transform(removedAttributeIdentities.begin(), removedAttributeIdentities.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1489:14: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 87 | std::back_inserter(removedAttributeNames), identityToName); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1490:10: warning: no header providing "std::transform" is directly included [misc-include-cleaner] 87 | std::transform(addedAttributeIdentities.begin(), addedAttributeIdentities.end(), | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1491:14: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 87 | std::back_inserter(addedAttributeNames), identityToName); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1493:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList changedAttributeNames(std::move(_->_changedDynamicAttributeNames)); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1495:38: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 87 | changedAttributeNames.erase(std::remove_if(changedAttributeNames.begin(), changedAttributeNames.end(), // clazy:exclude=strict-iterators | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1506:15: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(addedAttributeNames, name) || u::contains(changedAttributeNames, name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1506:57: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(addedAttributeNames, name) || u::contains(changedAttributeNames, name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1513:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 87 | emit attributesChanged(addedAttributeNames, removedAttributeNames, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1520:44: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | void GraphModel::onAttributesChanged(const QStringList& addedNames, const QStringList& removedNames, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1520:75: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | void GraphModel::onAttributesChanged(const QStringList& addedNames, const QStringList& removedNames, | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1521:11: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | const QStringList& changedValuesNames, bool graphChangeOccurred) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1527:31: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | if(attribute.testFlag(AttributeFlag::Dynamic) && attribute.userDefined()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1527:46: warning: no header providing "AttributeFlag_reflector::Enum::Dynamic" is directly included [misc-include-cleaner] 25 | if(attribute.testFlag(AttributeFlag::Dynamic) && attribute.userDefined()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1529:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 87 | qDebug() << "WARNING: Dynamic attribute" << attributeName << | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1539:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList changed; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1541:8: warning: no header providing "u::removeDuplicates" is directly included [misc-include-cleaner] 29 | u::removeDuplicates(changed); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1546:74: warning: no header providing "u::setIntersection" is directly included [misc-include-cleaner] 29 | const bool visualisationRebuildRequired = graphChangeOccurred || !u::setIntersection( | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1547:27: warning: no header providing "QList" is directly included [misc-include-cleaner] 87 | static_cast&>(_->_visualisedAttributeNames), | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1548:27: warning: no header providing "QList" is directly included [misc-include-cleaner] 87 | static_cast&>(changed)).empty(); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1551:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 87 | emit rebuildRequired(transformRebuildRequired, visualisationRebuildRequired); | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1570:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(_changed, name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1572:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 87 | qDebug() << "AttributeChangesTracker::add called on attribute marked as changed" << name; | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1576:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(_removed, name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1588:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(u::contains(_added, name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1600:12: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 29 | if(!u::contains(_added, name)) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1604:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 87 | QStringList AttributeChangesTracker::addedOrChanged() const | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1615:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 87 | emit _graphModel->attributesChanged(added(), removed(), changed(), false); | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 30851 warnings generated. [96/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:34:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 25 | 26 | MutableGraph::MutableGraph(const MutableGraph& other) // NOLINT bugprone-copy-constructor-init 27 | { 28 | clone(other); 29 | } 30 | 31 | MutableGraph::~MutableGraph() // NOLINT modernize-use-equals-default 32 | { 33 | // Ensure no transactions are in progress 34 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:34:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 25 | 26 | MutableGraph::MutableGraph(const MutableGraph& other) // NOLINT bugprone-copy-constructor-init 27 | { 28 | clone(other); 29 | } 30 | 31 | MutableGraph::~MutableGraph() // NOLINT modernize-use-equals-default 32 | { 33 | // Ensure no transactions are in progress 34 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:50:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(numEdges() == 0); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:60:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | const std::vector& MutableGraph::nodeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:60:19: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | const std::vector& MutableGraph::nodeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:65:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t MutableGraph::numNodes() const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:70:7: warning: no header providing "Node" is directly included [misc-include-cleaner] 21 | const Node& MutableGraph::nodeById(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:70:36: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | const Node& MutableGraph::nodeById(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:72:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_n._nodeIdsInUse[static_cast(nodeId)]); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:72:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_n._nodeIdsInUse[static_cast(nodeId)]); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:73:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _n._nodes[static_cast(nodeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:76:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | bool MutableGraph::containsNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:78:24: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return static_cast(nodeId) < static_cast(_n._nodeIdsInUse.size()) && | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:78:54: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return static_cast(nodeId) < static_cast(_n._nodeIdsInUse.size()) && | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:79:38: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _n._nodeIdsInUse[static_cast(nodeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:82:1: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | MultiElementType MutableGraph::typeOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:82:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | MultiElementType MutableGraph::typeOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:87:1: warning: no header providing "ConstNodeIdDistinctSet" is directly included [misc-include-cleaner] 21 | ConstNodeIdDistinctSet MutableGraph::mergedNodeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:87:61: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | ConstNodeIdDistinctSet MutableGraph::mergedNodeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:92:34: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | int MutableGraph::multiplicityOf(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:94:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _n._multiplicities[static_cast(nodeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:97:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector MutableGraph::edgeIdsBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:97:13: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | std::vector MutableGraph::edgeIdsBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:97:50: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | std::vector MutableGraph::edgeIdsBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:97:66: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | std::vector MutableGraph::edgeIdsBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:99:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:99:17: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | std::vector edgeIds; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:101:27: warning: no header providing "UndirectedEdge" is directly included [misc-include-cleaner] 24 | auto undirectedEdge = UndirectedEdge(nodeIdA, nodeIdB); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:105:14: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 25 | std::copy(edgeIdDistinctSet.begin(), edgeIdDistinctSet.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:105:76: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 25 | std::copy(edgeIdDistinctSet.begin(), edgeIdDistinctSet.end(), std::back_inserter(edgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:111:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::firstEdgeIdBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:111:41: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::firstEdgeIdBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:111:57: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::firstEdgeIdBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:130:38: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | bool MutableGraph::edgeExistsBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:130:54: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | bool MutableGraph::edgeExistsBetween(NodeId nodeIdA, NodeId nodeIdB) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:135:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::addNode() | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:148:1: warning: no header providing "Node" is directly included [misc-include-cleaner] 21 | Node& MutableGraph::nodeBy(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:148:28: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | Node& MutableGraph::nodeBy(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:150:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _n._nodes[static_cast(nodeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:153:7: warning: no header providing "Node" is directly included [misc-include-cleaner] 21 | const Node& MutableGraph::nodeBy(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:153:34: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | const Node& MutableGraph::nodeBy(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:155:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _n._nodes[static_cast(nodeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:158:32: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::claimNodeId(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:160:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _n._nodeIdsInUse[static_cast(nodeId)] = true; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:163:34: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::releaseNodeId(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:165:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _n._nodeIdsInUse[static_cast(nodeId)] = false; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:168:1: warning: no header providing "Edge" is directly included [misc-include-cleaner] 21 | Edge& MutableGraph::edgeBy(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:168:28: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | Edge& MutableGraph::edgeBy(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:170:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _e._edges[static_cast(edgeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:173:7: warning: no header providing "Edge" is directly included [misc-include-cleaner] 21 | const Edge& MutableGraph::edgeBy(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:173:34: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | const Edge& MutableGraph::edgeBy(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:175:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _e._edges[static_cast(edgeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:178:32: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::claimEdgeId(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:180:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _e._edgeIdsInUse[static_cast(edgeId)] = true; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:183:34: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::releaseEdgeId(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:185:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _e._edgeIdsInUse[static_cast(edgeId)] = false; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:188:34: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::reserveNodeId(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:196:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _n.resize(static_cast(nextNodeId())); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:202:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::addNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:202:30: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::addNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:204:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(!nodeId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:221:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit nodeAdded(this, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:228:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::addNode(const INode& node) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:228:36: warning: no header providing "INode" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::addNode(const INode& node) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:233:31: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::removeNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:235:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(containsNodeId(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:252:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit nodeRemoved(this, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:257:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | const std::vector& MutableGraph::edgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:257:19: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | const std::vector& MutableGraph::edgeIds() const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:262:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t MutableGraph::numEdges() const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:267:7: warning: no header providing "Edge" is directly included [misc-include-cleaner] 21 | const Edge& MutableGraph::edgeById(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:267:36: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | const Edge& MutableGraph::edgeById(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:269:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(containsEdgeId(edgeId)); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:270:34: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _e._edges[static_cast(edgeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:273:35: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | bool MutableGraph::containsEdgeId(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:276:38: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _e._edgeIdsInUse[static_cast(edgeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:279:1: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | MultiElementType MutableGraph::typeOf(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:279:39: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | MultiElementType MutableGraph::typeOf(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:284:1: warning: no header providing "ConstEdgeIdDistinctSet" is directly included [misc-include-cleaner] 21 | ConstEdgeIdDistinctSet MutableGraph::mergedEdgeIdsForEdgeId(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:284:61: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | ConstEdgeIdDistinctSet MutableGraph::mergedEdgeIdsForEdgeId(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:289:34: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | int MutableGraph::multiplicityOf(EdgeId edgeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:291:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | return _e._multiplicities[static_cast(edgeId)]; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:294:1: warning: no header providing "EdgeIdDistinctSets" is directly included [misc-include-cleaner] 21 | EdgeIdDistinctSets MutableGraph::edgeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:294:51: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeIdDistinctSets MutableGraph::edgeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:296:5: warning: no header providing "EdgeIdDistinctSets" is directly included [misc-include-cleaner] 21 | EdgeIdDistinctSets set; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:305:1: warning: no header providing "EdgeIdDistinctSet" is directly included [misc-include-cleaner] 21 | EdgeIdDistinctSet MutableGraph::inEdgeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:305:52: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeIdDistinctSet MutableGraph::inEdgeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:310:1: warning: no header providing "EdgeIdDistinctSet" is directly included [misc-include-cleaner] 21 | EdgeIdDistinctSet MutableGraph::outEdgeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:310:53: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeIdDistinctSet MutableGraph::outEdgeIdsForNodeId(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:315:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(NodeId sourceId, NodeId targetId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:315:30: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(NodeId sourceId, NodeId targetId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:315:47: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(NodeId sourceId, NodeId targetId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:328:34: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::reserveEdgeId(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:336:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _e.resize(static_cast(nextEdgeId())); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:342:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::mergeNodes(NodeId nodeIdA, NodeId nodeIdB) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:342:33: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::mergeNodes(NodeId nodeIdA, NodeId nodeIdB) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:342:49: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::mergeNodes(NodeId nodeIdA, NodeId nodeIdB) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:347:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::mergeEdges(EdgeId edgeIdA, EdgeId edgeIdB) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:347:33: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::mergeEdges(EdgeId edgeIdA, EdgeId edgeIdB) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:347:49: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::mergeEdges(EdgeId edgeIdA, EdgeId edgeIdB) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:352:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::mergeNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:352:44: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | NodeId MutableGraph::mergeNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:352:51: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId MutableGraph::mergeNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:354:24: warning: no header providing "std::min_element" is directly included [misc-include-cleaner] 25 | auto setId = *std::min_element(nodeIds.begin(), nodeIds.end()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:362:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::mergeEdges(const std::vector& edgeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:362:44: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | EdgeId MutableGraph::mergeEdges(const std::vector& edgeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:362:51: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::mergeEdges(const std::vector& edgeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:364:24: warning: no header providing "std::min_element" is directly included [misc-include-cleaner] 25 | auto setId = *std::min_element(edgeIds.begin(), edgeIds.end()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:372:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(EdgeId edgeId, NodeId sourceId, NodeId targetId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:372:30: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(EdgeId edgeId, NodeId sourceId, NodeId targetId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:372:45: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(EdgeId edgeId, NodeId sourceId, NodeId targetId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:372:62: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(EdgeId edgeId, NodeId sourceId, NodeId targetId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:374:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(!edgeId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:375:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_n._nodeIdsInUse[static_cast(sourceId)]); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:375:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_n._nodeIdsInUse[static_cast(sourceId)]); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:376:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_n._nodeIdsInUse[static_cast(targetId)]); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:376:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_n._nodeIdsInUse[static_cast(targetId)]); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:396:27: warning: no header providing "UndirectedEdge" is directly included [misc-include-cleaner] 24 | auto undirectedEdge = UndirectedEdge(sourceId, targetId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:398:49: warning: no header providing "EdgeIdDistinctSet" is directly included [misc-include-cleaner] 21 | _e._connections.emplace(undirectedEdge, EdgeIdDistinctSet(&_e._mergedEdgeIds)); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:402:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit edgeAdded(this, edgeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:409:1: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(const IEdge& edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:409:36: warning: no header providing "IEdge" is directly included [misc-include-cleaner] 24 | EdgeId MutableGraph::addEdge(const IEdge& edge) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:414:31: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::removeEdge(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:416:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(containsEdgeId(edgeId)); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:426:27: warning: no header providing "UndirectedEdge" is directly included [misc-include-cleaner] 24 | auto undirectedEdge = UndirectedEdge(edge.sourceId(), edge.targetId()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:428:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(!connection.empty()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:437:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit edgeRemoved(this, edgeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:443:67: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | template static void moveEdgesTo(MutableGraph& graph, NodeId nodeId, | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:467:33: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | void MutableGraph::contractEdge(EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:478:41: warning: no header providing "std::minmax" is directly included [misc-include-cleaner] 25 | auto [nodeId, nodeIdToMerge] = std::minmax(sourceId, targetId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:490:40: warning: no header providing "EdgeIdSet" is directly included [misc-include-cleaner] 24 | void MutableGraph::contractEdges(const EdgeIdSet& edgeIds) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:500:16: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | [&edgeIds](EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:516:29: warning: no header providing "std::min_element" is directly included [misc-include-cleaner] 25 | auto nodeId = *std::min_element(nodeIds.begin(), nodeIds.end()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:540:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _n.resize(static_cast(nextNodeId())); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:546:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _e.resize(static_cast(nextEdgeId())); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:559:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | for(const NodeId nodeId : diff._nodesAdded) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:560:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit nodeAdded(this, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:562:15: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | for(const EdgeId edgeId : diff._edgesAdded) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:563:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit edgeAdded(this, edgeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:565:15: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | for(const EdgeId edgeId : diff._edgesRemoved) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:566:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit edgeRemoved(this, edgeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:568:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | for(const NodeId nodeId : diff._nodesRemoved) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:569:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit nodeRemoved(this, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:590:27: warning: no header providing "std::max" is directly included [misc-include-cleaner] 25 | auto maxNodeId = std::max(nextNodeId(), other.nextNodeId()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:591:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | for(NodeId nodeId(0); nodeId < maxNodeId; ++nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:606:27: warning: no header providing "std::max" is directly included [misc-include-cleaner] 25 | auto maxEdgeId = std::max(nextEdgeId(), other.nextEdgeId()); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:607:9: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | for(EdgeId edgeId(0); edgeId < maxEdgeId; ++edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:629:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit transactionWillBegin(this); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:632:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit graphWillChange(this); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:640:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | Q_ASSERT(_graphChangeDepth > 0); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:644:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit graphChanged(this, _graphChangeOccurred); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:646:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit transactionEnded(this); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:659:10: warning: no header providing "std::fill" is directly included [misc-include-cleaner] 25 | std::fill(_n._multiplicities.begin(), _n._multiplicities.end(), 0); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:660:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | for(NodeId nodeId(0); nodeId < nextNodeId(); ++nodeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:666:34: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(typeOf(nodeId) == MultiElementType::Head) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:666:52: warning: no header providing "MultiElementType::Head" is directly included [misc-include-cleaner] 21 | if(typeOf(nodeId) == MultiElementType::Head) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:671:52: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _n._multiplicities[static_cast(mergedNodeId)] = multiplicity; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:673:39: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | else if(typeOf(nodeId) == MultiElementType::Not) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:673:57: warning: no header providing "MultiElementType::Not" is directly included [misc-include-cleaner] 21 | else if(typeOf(nodeId) == MultiElementType::Not) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:674:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _n._multiplicities[static_cast(nodeId)] = 1; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:682:10: warning: no header providing "std::fill" is directly included [misc-include-cleaner] 25 | std::fill(_e._multiplicities.begin(), _e._multiplicities.end(), 0); | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:683:9: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 24 | for(EdgeId edgeId(0); edgeId < nextEdgeId(); ++edgeId) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:689:34: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(typeOf(edgeId) == MultiElementType::Head) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:689:52: warning: no header providing "MultiElementType::Head" is directly included [misc-include-cleaner] 21 | if(typeOf(edgeId) == MultiElementType::Head) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:694:52: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _e._multiplicities[static_cast(mergedEdgeId)] = multiplicity; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:696:39: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | else if(typeOf(edgeId) == MultiElementType::Not) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:696:57: warning: no header providing "MultiElementType::Not" is directly included [misc-include-cleaner] 21 | else if(typeOf(edgeId) == MultiElementType::Not) | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:697:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | _e._multiplicities[static_cast(edgeId)] = 1; | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:706:6: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 25 | std::unique_lock MutableGraph::tryLock() | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:706:23: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 25 | std::unique_lock MutableGraph::tryLock() | ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:708:26: warning: no header providing "std::try_to_lock" is directly included [misc-include-cleaner] 25 | return {_mutex, std::try_to_lock}; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 10850 warnings generated. [97/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:27:1: warning: included header QString is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/headless.cpp:28:1: warning: included header QStringList is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/headless.cpp:29:1: warning: included header QVariantMap is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/app/headless.cpp:30:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/app/headless.cpp:31:1: warning: included header QDir is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~ 32 | /home/runner/work/graphia/graphia/source/app/headless.cpp:44:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 36 | 37 | struct HeadlessState 38 | { 39 | Application _application; 40 | Document* _document = nullptr; 41 | 42 | bool _saveComplete = false; 43 | 44 | QStringList _sourceFilenames; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:45:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | 37 | struct HeadlessState 38 | { 39 | Application _application; 40 | Document* _document = nullptr; 41 | 42 | bool _saveComplete = false; 43 | 44 | QStringList _sourceFilenames; 45 | QString _parametersFilename; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:47:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | 37 | struct HeadlessState 38 | { 39 | Application _application; 40 | Document* _document = nullptr; 41 | 42 | bool _saveComplete = false; 43 | 44 | QStringList _sourceFilenames; 45 | QString _parametersFilename; 46 | 47 | QString _type; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:48:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | 37 | struct HeadlessState 38 | { 39 | Application _application; 40 | Document* _document = nullptr; 41 | 42 | bool _saveComplete = false; 43 | 44 | QStringList _sourceFilenames; 45 | QString _parametersFilename; 46 | 47 | QString _type; 48 | QString _pluginName; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:49:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 36 | 37 | struct HeadlessState 38 | { 39 | Application _application; 40 | Document* _document = nullptr; 41 | 42 | bool _saveComplete = false; 43 | 44 | QStringList _sourceFilenames; 45 | QString _parametersFilename; 46 | 47 | QString _type; 48 | QString _pluginName; 49 | QVariantMap _pluginParameters; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:50:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | 37 | struct HeadlessState 38 | { 39 | Application _application; 40 | Document* _document = nullptr; 41 | 42 | bool _saveComplete = false; 43 | 44 | QStringList _sourceFilenames; 45 | QString _parametersFilename; 46 | 47 | QString _type; 48 | QString _pluginName; 49 | QVariantMap _pluginParameters; 50 | QString _destination; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:54:25: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 36 | HeadlessState(const QStringList& sourceFilenames, const QString& parametersFilename) : | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:54:61: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | HeadlessState(const QStringList& sourceFilenames, const QString& parametersFilename) : | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:63:47: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 36 | _document->setProperty("application", QVariant::fromValue(&_application)); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:69:26: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 36 | Headless::Headless(const QStringList& sourceFilenames, const QString& parametersFilename) : | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:69:62: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | Headless::Headless(const QStringList& sourceFilenames, const QString& parametersFilename) : | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:70:12: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 36 | _(std::make_unique(sourceFilenames, parametersFilename)) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:78:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] 36 | static std::string progressBarText(size_t width, int percent) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:78:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 35 | static std::string progressBarText(size_t width, int percent) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:87:10: warning: no header providing "std::string" is directly included [misc-include-cleaner] 36 | std::string s; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:93:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 35 | for(size_t i = 0; i < dynamicWidth; i++) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:99:47: warning: no header providing "size_t" is directly included [misc-include-cleaner] 35 | const auto numBarChars = (static_cast(percent) * dynamicWidth) / 100; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:111:13: warning: no header providing "std::string" is directly included [misc-include-cleaner] 36 | static std::string filenameToStdString(const QString& f) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:111:46: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | static std::string filenameToStdString(const QString& f) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:113:22: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 36 | auto canonical = QFileInfo(f).canonicalFilePath().toStdString(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:134:54: warning: no header providing "size_t" is directly included [misc-include-cleaner] 35 | auto progressBarWidth = std::max(static_cast(3), columns - (verb.size())); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:136:14: warning: no header providing "std::cout" is directly included [misc-include-cleaner] 35 | std::cout << "\r" << verb << progressBarText(progressBarWidth, _->_document->commandProgress()); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:137:14: warning: no header providing "std::cout" is directly included [misc-include-cleaner] 35 | std::cout.flush(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:140:65: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 36 | connect(_->_document, &Document::loadComplete, [this](const QUrl& fileUrl, bool success) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:144:18: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 35 | std::cerr << "Failed to load " << filenameToStdString(fileUrl.toLocalFile()) << ".\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:145:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:150:15: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 36 | const QFileInfo sfi(source); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:151:15: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 36 | const QFileInfo dfi(_->_destination); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:152:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | QString target; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:156:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 36 | target = u"%1/%2.%3"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:161:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 36 | target = u"%1/%2.%3"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:167:13: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 36 | if(!QFileInfo(QFileInfo(target).canonicalPath()).isWritable()) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:167:23: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 36 | if(!QFileInfo(QFileInfo(target).canonicalPath()).isWritable()) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:170:22: warning: no header providing "std::cout" is directly included [misc-include-cleaner] 35 | std::cout << "\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:172:18: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 35 | std::cerr << filenameToStdString(target) << " is not writable.\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:173:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:177:32: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 36 | _->_document->saveFile(QUrl::fromLocalFile(target), Application::name(), {}, {}); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:180:85: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 36 | connect(_->_document, &Document::saveComplete, this, [this](bool success, const QUrl& fileUrl, const QString&) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:180:106: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | connect(_->_document, &Document::saveComplete, this, [this](bool success, const QUrl& fileUrl, const QString&) | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:187:18: warning: no header providing "std::cout" is directly included [misc-include-cleaner] 35 | std::cout << "\x1b[2K\r"; // Clear line | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:192:18: warning: no header providing "std::cout" is directly included [misc-include-cleaner] 35 | std::cout << "Wrote " << filename << " successfully.\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:194:18: warning: no header providing "std::cout" is directly included [misc-include-cleaner] 35 | std::cout << "Failed to write " << filename << ".\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:198:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:203:48: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 36 | const bool success = _->_document->openUrl(QUrl::fromLocalFile(_->_sourceFilenames.at(0)), | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:209:18: warning: no header providing "std::cout" is directly included [misc-include-cleaner] 35 | std::cout << "\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:211:14: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 35 | std::cerr << "Failed to open " << filenameToStdString(_->_sourceFilenames.at(0)) << ".\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:212:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:220:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:227:14: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 35 | std::cerr << "Failed to parse " << filenameToStdString(_->_parametersFilename) << ".\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:228:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:234:14: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 35 | std::cerr << "Parameters file must specify 'type' and 'plugin'.\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:235:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:243:14: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 35 | std::cerr << "Parameters file 'plugin' must specify 'name'.\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:244:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:248:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | _->_type = QString::fromStdString(parameters["type"]); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:249:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | _->_pluginName = QString::fromStdString(plugin["name"]); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:251:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | QString::fromStdString(parameters["destination"]) : QString(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:251:61: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | QString::fromStdString(parameters["destination"]) : QString(); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:259:28: warning: no header providing "QString" is directly included [misc-include-cleaner] 36 | auto key = QString::fromStdString(e.key()); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:260:17: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 36 | QVariant value; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:267:11: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 36 | const QFileInfo dfi(_->_destination); | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:270:14: warning: no header providing "std::cerr" is directly included [misc-include-cleaner] 35 | std::cerr << "When processing multiple files, 'destination' must be an existing writable directory.\n"; | ^ /home/runner/work/graphia/graphia/source/app/headless.cpp:271:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 36 | emit done(); | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 21299 warnings generated. [98/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/centreinglayout.cpp:23:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | void CentreingLayout::execute(bool, Dimensionality) 22 | { 23 | const QVector3D centreOfMass = positions().centreOfMass(nodeIds()); | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 11090 warnings generated. [99/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:36:1: warning: included header graphcomponent.h is not used directly [misc-include-cleaner] 36 | #include "graph/graphcomponent.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | #include "graph/componentmanager.h" /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:41:1: warning: included header QVariant is not used directly [misc-include-cleaner] 41 | #include | ^~~~~~~~~~~~~~~~~~~ 42 | /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:50:5: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | 41 | #include 42 | 43 | #include 44 | #include 45 | 46 | using namespace Qt::Literals::StringLiterals; 47 | 48 | struct Links 49 | { 50 | ComponentId _prev; | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:51:5: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | 41 | #include 42 | 43 | #include 44 | #include 45 | 46 | using namespace Qt::Literals::StringLiterals; 47 | 48 | struct Links 49 | { 50 | ComponentId _prev; 51 | ComponentId _next; | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:54:50: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | 41 | #include 42 | 43 | #include 44 | #include 45 | 46 | using namespace Qt::Literals::StringLiterals; 47 | 48 | struct Links 49 | { 50 | ComponentId _prev; 51 | ComponentId _next; 52 | }; 53 | 54 | static void insert(ComponentArray& links, ComponentId position, ComponentId value) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:54:72: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | 41 | #include 42 | 43 | #include 44 | #include 45 | 46 | using namespace Qt::Literals::StringLiterals; 47 | 48 | struct Links 49 | { 50 | ComponentId _prev; 51 | ComponentId _next; 52 | }; 53 | 54 | static void insert(ComponentArray& links, ComponentId position, ComponentId value) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:63:48: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | static void join(ComponentArray& links, ComponentId a, ComponentId b) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:63:63: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | static void join(ComponentArray& links, ComponentId a, ComponentId b) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:69:48: warning: no header providing "Circle" is directly included [misc-include-cleaner] 40 | static void placeThirdCircleTangentially(const Circle& a, const Circle& b, Circle& c) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:69:65: warning: no header providing "Circle" is directly included [misc-include-cleaner] 40 | static void placeThirdCircleTangentially(const Circle& a, const Circle& b, Circle& c) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:69:76: warning: no header providing "Circle" is directly included [misc-include-cleaner] 40 | static void placeThirdCircleTangentially(const Circle& a, const Circle& b, Circle& c) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:98:35: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 45 | static void circlePack(const std::vector& componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:98:42: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | static void circlePack(const std::vector& componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:99:24: warning: no header providing "ComponentLayoutData" is directly included [misc-include-cleaner] 40 | ComponentLayoutData& componentLayoutData, | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:107:5: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | ComponentId a = componentIds[0]; | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:108:5: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | ComponentId b; | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:109:5: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | ComponentId c; | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:133:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 45 | for(size_t i = 3; i < numComponents; i++) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:143:9: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | ComponentId j, k; | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:190:76: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 45 | void CirclePackComponentLayout::executeReal(const Graph& graph, const std::vector &componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:190:83: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | void CirclePackComponentLayout::executeReal(const Graph& graph, const std::vector &componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:191:45: warning: no header providing "ComponentLayoutData" is directly included [misc-include-cleaner] 40 | ComponentLayoutData& componentLayoutData) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:198:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 45 | const size_t maxNumNodes = graph.componentById(largestComponentId)->numNodes(); | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:210:51: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | [&componentLayoutData](const ComponentId& a, const ComponentId& b) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:210:73: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 40 | [&componentLayoutData](const ComponentId& a, const ComponentId& b) | ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:220:76: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 45 | auto minimumComponentRadius = u::pref(u"visuals/minimumComponentRadius"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ 11047 warnings generated. [100/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:25:1: warning: included header ray.h is not used directly [misc-include-cleaner] 25 | #include "maths/ray.h" | ^~~~~~~~~~~~~~~~~~~~~~ 26 | #include "maths/plane.h" /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:28:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | #include "ui/visualisations/elementvisual.h" 24 | 25 | #include "maths/ray.h" 26 | #include "maths/plane.h" 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:28:48: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:28:55: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | #include "ui/visualisations/elementvisual.h" 24 | 25 | #include "maths/ray.h" 26 | #include "maths/plane.h" 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:28:79: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:28:103: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:31:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | #include "ui/visualisations/elementvisual.h" 24 | 25 | #include "maths/ray.h" 26 | #include "maths/plane.h" 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) 29 | { 30 | const Plane plane(point, direction); 31 | NodeId closestNodeId; | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:32:34: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) 29 | { 30 | const Plane plane(point, direction); 31 | NodeId closestNodeId; 32 | float minimumDistance = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:34:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | #include "ui/visualisations/elementvisual.h" 24 | 25 | #include "maths/ray.h" 26 | #include "maths/plane.h" 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) 29 | { 30 | const Plane plane(point, direction); 31 | NodeId closestNodeId; 32 | float minimumDistance = std::numeric_limits::max(); 33 | 34 | for(const NodeId nodeId : nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:36:78: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 23 | #include "ui/visualisations/elementvisual.h" 24 | 25 | #include "maths/ray.h" 26 | #include "maths/plane.h" 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) 29 | { 30 | const Plane plane(point, direction); 31 | NodeId closestNodeId; 32 | float minimumDistance = std::numeric_limits::max(); 33 | 34 | for(const NodeId nodeId : nodeIds) 35 | { 36 | if(!_includeNotFound && _graphModel->nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:36:91: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 23 | #include "ui/visualisations/elementvisual.h" 24 | 25 | #include "maths/ray.h" 26 | #include "maths/plane.h" 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) 29 | { 30 | const Plane plane(point, direction); 31 | NodeId closestNodeId; 32 | float minimumDistance = std::numeric_limits::max(); 33 | 34 | for(const NodeId nodeId : nodeIds) 35 | { 36 | if(!_includeNotFound && _graphModel->nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:39:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | 28 | NodeId Collision::nodeClosestToLine(const std::vector& nodeIds, const QVector3D &point, const QVector3D &direction) 29 | { 30 | const Plane plane(point, direction); 31 | NodeId closestNodeId; 32 | float minimumDistance = std::numeric_limits::max(); 33 | 34 | for(const NodeId nodeId : nodeIds) 35 | { 36 | if(!_includeNotFound && _graphModel->nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) 37 | continue; 38 | 39 | const QVector3D position = _graphModel->nodePositions().get(nodeId) + _offset; | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:56:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | NodeId Collision::nodeClosestToLine(const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:56:43: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | NodeId Collision::nodeClosestToLine(const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:56:67: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | NodeId Collision::nodeClosestToLine(const QVector3D &point, const QVector3D &direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:61:45: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | void Collision::nodesIntersectingLine(const QVector3D& point, const QVector3D& direction, std::vector& intersectingNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:61:69: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | void Collision::nodesIntersectingLine(const QVector3D& point, const QVector3D& direction, std::vector& intersectingNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:61:96: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | void Collision::nodesIntersectingLine(const QVector3D& point, const QVector3D& direction, std::vector& intersectingNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:61:103: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | void Collision::nodesIntersectingLine(const QVector3D& point, const QVector3D& direction, std::vector& intersectingNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:66:43: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | void Collision::nodesInsideCylinder(const QVector3D &point, const QVector3D &direction, float radius, std::vector& containedNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:66:67: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | void Collision::nodesInsideCylinder(const QVector3D &point, const QVector3D &direction, float radius, std::vector& containedNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:66:108: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | void Collision::nodesInsideCylinder(const QVector3D &point, const QVector3D &direction, float radius, std::vector& containedNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:66:115: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | void Collision::nodesInsideCylinder(const QVector3D &point, const QVector3D &direction, float radius, std::vector& containedNodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:70:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 27 | Q_ASSERT(!_componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:73:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | for(const NodeId nodeId : nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:75:78: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 23 | if(!_includeNotFound && _graphModel->nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:75:91: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 23 | if(!_includeNotFound && _graphModel->nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:78:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | const QVector3D position = _graphModel->nodePositions().get(nodeId) + _offset; | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:90:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | NodeId Collision::nearestNodeIntersectingLine(const QVector3D& point, const QVector3D& direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:90:53: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | NodeId Collision::nearestNodeIntersectingLine(const QVector3D& point, const QVector3D& direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:90:77: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | NodeId Collision::nearestNodeIntersectingLine(const QVector3D& point, const QVector3D& direction) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:95:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | NodeId Collision::nearestNodeInsideCylinder(const QVector3D& point, const QVector3D& direction, float radius) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:95:51: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | NodeId Collision::nearestNodeInsideCylinder(const QVector3D& point, const QVector3D& direction, float radius) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:95:75: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 27 | NodeId Collision::nearestNodeInsideCylinder(const QVector3D& point, const QVector3D& direction, float radius) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:97:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:97:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:101:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | NodeId closestNodeId; | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:102:34: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 27 | float minimumDistance = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:104:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | for(const NodeId nodeId : nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:106:78: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 23 | if(!_includeNotFound && _graphModel->nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/layout/collision.cpp:106:91: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 23 | if(!_includeNotFound && _graphModel->nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 21575 warnings generated. [101/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/componentlayout.cpp:23:62: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | 23 | void ComponentLayout::execute(const Graph& graph, const std::vector& componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/componentlayout.cpp:23:69: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 22 | 23 | void ComponentLayout::execute(const Graph& graph, const std::vector& componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/componentlayout.cpp:37:1: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 22 | 23 | void ComponentLayout::execute(const Graph& graph, const std::vector& componentIds, 24 | ComponentLayoutData& componentLayoutData) 25 | { 26 | componentLayoutData.resetElements(); 27 | 28 | executeReal(graph, componentIds, componentLayoutData); 29 | 30 | auto boundingBox = boundingBoxFor(componentIds, componentLayoutData); 31 | 32 | // Normalise layout data to start at 0, 0 33 | for(auto componentId : componentIds) 34 | componentLayoutData[componentId].translate(-boundingBox.topLeft()); 35 | } 36 | 37 | QRectF ComponentLayout::boundingBoxFor(const std::vector& componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/componentlayout.cpp:37:51: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | 23 | void ComponentLayout::execute(const Graph& graph, const std::vector& componentIds, 24 | ComponentLayoutData& componentLayoutData) 25 | { 26 | componentLayoutData.resetElements(); 27 | 28 | executeReal(graph, componentIds, componentLayoutData); 29 | 30 | auto boundingBox = boundingBoxFor(componentIds, componentLayoutData); 31 | 32 | // Normalise layout data to start at 0, 0 33 | for(auto componentId : componentIds) 34 | componentLayoutData[componentId].translate(-boundingBox.topLeft()); 35 | } 36 | 37 | QRectF ComponentLayout::boundingBoxFor(const std::vector& componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/componentlayout.cpp:37:58: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 22 | 23 | void ComponentLayout::execute(const Graph& graph, const std::vector& componentIds, 24 | ComponentLayoutData& componentLayoutData) 25 | { 26 | componentLayoutData.resetElements(); 27 | 28 | executeReal(graph, componentIds, componentLayoutData); 29 | 30 | auto boundingBox = boundingBoxFor(componentIds, componentLayoutData); 31 | 32 | // Normalise layout data to start at 0, 0 33 | for(auto componentId : componentIds) 34 | componentLayoutData[componentId].translate(-boundingBox.topLeft()); 35 | } 36 | 37 | QRectF ComponentLayout::boundingBoxFor(const std::vector& componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/componentlayout.cpp:40:5: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 22 | QRectF boundingBox; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ 10150 warnings generated. [102/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:21:1: warning: included header QMatrix4x4 is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:22:1: warning: included header QVector4D is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:27:38: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | 27 | void FastInitialLayout::positionNode(QVector3D& offsetPosition, const QMatrix4x4& orientationMatrix, | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:27:71: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 26 | 27 | void FastInitialLayout::positionNode(QVector3D& offsetPosition, const QMatrix4x4& orientationMatrix, | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:28:44: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | 27 | void FastInitialLayout::positionNode(QVector3D& offsetPosition, const QMatrix4x4& orientationMatrix, 28 | const QVector3D& parentNodePosition, NodeId childNodeId, | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:28:75: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | #include 23 | 24 | #include 25 | #include 26 | 27 | void FastInitialLayout::positionNode(QVector3D& offsetPosition, const QMatrix4x4& orientationMatrix, 28 | const QVector3D& parentNodePosition, NodeId childNodeId, | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:29:38: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | #include 23 | 24 | #include 25 | #include 26 | 27 | void FastInitialLayout::positionNode(QVector3D& offsetPosition, const QMatrix4x4& orientationMatrix, 28 | const QVector3D& parentNodePosition, NodeId childNodeId, 29 | NodeArray& directionNodeVectors) | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:29:48: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | 27 | void FastInitialLayout::positionNode(QVector3D& offsetPosition, const QMatrix4x4& orientationMatrix, 28 | const QVector3D& parentNodePosition, NodeId childNodeId, 29 | NodeArray& directionNodeVectors) | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:33:23: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 26 | 27 | void FastInitialLayout::positionNode(QVector3D& offsetPosition, const QMatrix4x4& orientationMatrix, 28 | const QVector3D& parentNodePosition, NodeId childNodeId, 29 | NodeArray& directionNodeVectors) 30 | { 31 | const float SPHERE_RADIUS = 20.0f; 32 | offsetPosition = offsetPosition * SPHERE_RADIUS; 33 | offsetPosition = (QVector4D(offsetPosition, 1.0f) * orientationMatrix).toVector3D(); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:42:5: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | NodeArray visitedNodes(graph); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:43:5: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | NodeArray directionNodeVectors(graph); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:43:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | NodeArray directionNodeVectors(graph); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:45:10: warning: no header providing "std::queue" is directly included [misc-include-cleaner] 26 | std::queue nodeQueue; | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:45:16: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | std::queue nodeQueue; | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:58:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | const QVector3D parentNodePosition = positions().get(parentNodeId); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:60:9: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 26 | QMatrix4x4 orientationMatrix; | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:62:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | const QVector3D forward = directionNodeVectors.at(parentNodeId); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:67:13: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | QVector3D up = QVector3D(forward.z(), -forward.x(), forward.y()); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:67:28: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | QVector3D up = QVector3D(forward.z(), -forward.x(), forward.y()); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:69:24: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | auto dot = QVector3D::dotProduct(up, forward); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:73:19: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | const QVector3D right = QVector3D::crossProduct(up, forward); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:73:37: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | const QVector3D right = QVector3D::crossProduct(up, forward); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:74:41: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 26 | orientationMatrix.setRow(0, QVector4D(right)); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:75:41: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 26 | orientationMatrix.setRow(1, QVector4D(up)); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:76:41: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 26 | orientationMatrix.setRow(2, QVector4D(forward)); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:94:17: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | QVector3D offsetPosition(1.0, 0.0, 0.0); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:137:17: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | QVector3D offsetPosition(1.0, 0.0, 0.0); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:171:13: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 26 | QVector3D offsetPosition(h, std::cos(phi) * std::sin(theta), std::sin(phi) * std::sin(theta)); | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:184:26: warning: no header providing "Layout" is directly included [misc-include-cleaner] 20 | if(dimensionality == Layout::Dimensionality::TwoDee) | ^ /home/runner/work/graphia/graphia/source/app/layout/fastinitiallayout.cpp:184:50: warning: no header providing "Layout::Dimensionality::TwoDee" is directly included [misc-include-cleaner] 20 | if(dimensionality == Layout::Dimensionality::TwoDee) | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 11767 warnings generated. [103/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:26:1: warning: included header preferences.h is not used directly [misc-include-cleaner] 26 | #include "app/preferences.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:39:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | static const float MINIMUM_STDDEV_THRESHOLD = 0.008f; 36 | static const float FINETUNE_STDDEV_DELTA = 0.000005f; 37 | static const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; 38 | static const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; 39 | static const size_t OSCILLATE_RUN_COUNT = 5; | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:40:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | static const float MINIMUM_STDDEV_THRESHOLD = 0.008f; 36 | static const float FINETUNE_STDDEV_DELTA = 0.000005f; 37 | static const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; 38 | static const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; 39 | static const size_t OSCILLATE_RUN_COUNT = 5; 40 | static const size_t STDDEV_INCREASES_BEFORE_SWITCH_TO_OSCILLATE = 500; | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:41:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | static const float MINIMUM_STDDEV_THRESHOLD = 0.008f; 36 | static const float FINETUNE_STDDEV_DELTA = 0.000005f; 37 | static const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; 38 | static const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; 39 | static const size_t OSCILLATE_RUN_COUNT = 5; 40 | static const size_t STDDEV_INCREASES_BEFORE_SWITCH_TO_OSCILLATE = 500; 41 | static const size_t FINETUNE_SMOOTHING_SIZE = 10; | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:42:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | static const float MINIMUM_STDDEV_THRESHOLD = 0.008f; 36 | static const float FINETUNE_STDDEV_DELTA = 0.000005f; 37 | static const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; 38 | static const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; 39 | static const size_t OSCILLATE_RUN_COUNT = 5; 40 | static const size_t STDDEV_INCREASES_BEFORE_SWITCH_TO_OSCILLATE = 500; 41 | static const size_t FINETUNE_SMOOTHING_SIZE = 10; 42 | static const size_t INITIAL_SMOOTHING_SIZE = 50; | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:44:50: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | static const float MINIMUM_STDDEV_THRESHOLD = 0.008f; 36 | static const float FINETUNE_STDDEV_DELTA = 0.000005f; 37 | static const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; 38 | static const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; 39 | static const size_t OSCILLATE_RUN_COUNT = 5; 40 | static const size_t STDDEV_INCREASES_BEFORE_SWITCH_TO_OSCILLATE = 500; 41 | static const size_t FINETUNE_SMOOTHING_SIZE = 10; 42 | static const size_t INITIAL_SMOOTHING_SIZE = 50; 43 | 44 | template float meanWeightedAvgBuffer(size_t start, size_t end, const T& buffer) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:44:64: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | static const float MINIMUM_STDDEV_THRESHOLD = 0.008f; 36 | static const float FINETUNE_STDDEV_DELTA = 0.000005f; 37 | static const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; 38 | static const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; 39 | static const size_t OSCILLATE_RUN_COUNT = 5; 40 | static const size_t STDDEV_INCREASES_BEFORE_SWITCH_TO_OSCILLATE = 500; 41 | static const size_t FINETUNE_SMOOTHING_SIZE = 10; 42 | static const size_t INITIAL_SMOOTHING_SIZE = 50; 43 | 44 | template float meanWeightedAvgBuffer(size_t start, size_t end, const T& buffer) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:50:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | for(size_t i = start; i < end; ++i) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:56:8: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | static QVector3D normalized(const QVector3D& v) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:56:35: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | static QVector3D normalized(const QVector3D& v) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:59:8: warning: no header providing "qFuzzyIsNull" is directly included [misc-include-cleaner] 32 | if(qFuzzyIsNull(lengthSq - 1.0f)) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:62:9: warning: no header providing "qIsNull" is directly included [misc-include-cleaner] 32 | if(!qIsNull(lengthSq)) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:91:34: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | const float dotProduct = QVector3D::dotProduct(_previous / _previousLength, _next / _nextLength); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:125:19: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | for(const NodeId nodeId : nodeIds()) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:129:10: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 32 | std::unique_ptr barnesHutTree; | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:131:42: warning: no header providing "Layout::Dimensionality::ThreeDee" is directly included [misc-include-cleaner] 28 | if(dimensionality == Dimensionality::ThreeDee) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:154:30: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 32 | barnesHutTree = std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:156:47: warning: no header providing "Layout::Dimensionality::TwoDee" is directly included [misc-include-cleaner] 28 | else if(dimensionality == Dimensionality::TwoDee) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:159:30: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 32 | barnesHutTree = std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:164:72: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | const float SHORT_RANGE = _settings->value(u"ShortRangeRepulseTerm"_s); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:165:78: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | const float LONG_RANGE = 0.01f + _settings->value(u"LongRangeRepulseTerm"_s); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:169:53: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | [this, &barnesHutTree, SHORT_RANGE, LONG_RANGE](NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:175:51: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | [SHORT_RANGE, LONG_RANGE](int mass, const QVector3D& difference, float distanceSq) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:183:12: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 28 | [this](EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:191:19: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | const QVector3D difference = positions().get(edge.targetId()) - positions().get(edge.sourceId()); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:213:12: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | [this](NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:375:5: warning: no header providing "LayoutFactory" is directly included [misc-include-cleaner] 28 | LayoutFactory(graphModel), _displacements(graphModel->graph()), _attractiveForces(graphModel->graph()) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:377:62: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | _layoutSettings.registerSetting("ShortRangeRepulseTerm", QObject::tr("Local"), | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:378:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | QObject::tr("The repulsive force between nodes that are near each other"), | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:379:45: warning: no header providing "LayoutSettingScaleType" is directly included [misc-include-cleaner] 28 | 1000.0f, 1000000000.0f, 1000000.0f, LayoutSettingScaleType::Log); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:379:69: warning: no header providing "LayoutSettingScaleType::Log" is directly included [misc-include-cleaner] 28 | 1000.0f, 1000000000.0f, 1000000.0f, LayoutSettingScaleType::Log); | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:381:61: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | _layoutSettings.registerSetting("LongRangeRepulseTerm", QObject::tr("Global"), | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:382:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | QObject::tr("The repulsive force between nodes that are far apart"), | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:386:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 32 | std::unique_ptr ForceDirectedLayoutFactory::create(ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:386:17: warning: no header providing "Layout" is directly included [misc-include-cleaner] 28 | std::unique_ptr ForceDirectedLayoutFactory::create(ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:386:60: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | std::unique_ptr ForceDirectedLayoutFactory::create(ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:387:5: warning: no header providing "NodeLayoutPositions" is directly included [misc-include-cleaner] 28 | NodeLayoutPositions& nodePositions, Layout::Dimensionality dimensionalityMode) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:387:41: warning: no header providing "Layout" is directly included [misc-include-cleaner] 28 | NodeLayoutPositions& nodePositions, Layout::Dimensionality dimensionalityMode) | ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:390:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 32 | return std::make_unique(*component, | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 23523 warnings generated. [104/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:27:1: warning: included header QDebug is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:31:27: warning: no header providing "EnableBitMaskOperators" is directly included [misc-include-cleaner] 20 | #include "shared/utils/thread.h" 21 | #include "shared/utils/container.h" 22 | 23 | #include "graph/graph.h" 24 | #include "graph/graphmodel.h" 25 | #include "graph/componentmanager.h" 26 | 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | template<> constexpr bool EnableBitMaskOperators = true; | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:39:33: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | template<> constexpr bool EnableBitMaskOperators = true; 32 | 33 | static bool layoutIsFinished(const Layout& layout) 34 | { 35 | return layout.finished() || layout.graphComponent().numNodes() == 1; 36 | } 37 | 38 | LayoutThread::LayoutThread(GraphModel& graphModel, 39 | std::unique_ptr&& layoutFactory, | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:43:25: warning: no header providing "std::move" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | template<> constexpr bool EnableBitMaskOperators = true; 32 | 33 | static bool layoutIsFinished(const Layout& layout) 34 | { 35 | return layout.finished() || layout.graphComponent().numNodes() == 1; 36 | } 37 | 38 | LayoutThread::LayoutThread(GraphModel& graphModel, 39 | std::unique_ptr&& layoutFactory, 40 | bool repeating) : 41 | _graphModel(&graphModel), 42 | _repeating(repeating), 43 | _layoutFactory(std::move(layoutFactory)), | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:46:38: warning: no header providing "std::chrono::seconds" is directly included [misc-include-cleaner] 28 | _performanceCounter(std::chrono::seconds(1)), | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:47:12: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 28 | _debug(qEnvironmentVariableIntValue("LAYOUT_DEBUG")) | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:53:39: warning: no header providing "std::count_if" is directly included [misc-include-cleaner] 28 | auto activeLayouts = std::count_if(_layouts.begin(), _layouts.end(), | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:55:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | qDebug() << activeLayouts << "layouts\t" << ticksPerSecond << "ips"; | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:62:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:62:37: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:66:101: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 28 | connect(&graphModel.graph(), &Graph::componentSplit, this, &LayoutThread::onComponentSplit, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:67:101: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 28 | connect(&graphModel.graph(), &Graph::componentAdded, this, &LayoutThread::onComponentAdded, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:68:117: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 28 | connect(&graphModel.graph(), &Graph::componentWillBeRemoved, this, &LayoutThread::onComponentWillBeRemoved, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:69:91: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 28 | connect(this, &LayoutThread::executed, &graphModel, &GraphModel::onLayoutChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:71:43: warning: no header providing "LayoutSettings" is directly included [misc-include-cleaner] 20 | connect(&_layoutFactory->settings(), &LayoutSettings::settingChanged, | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:74:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:74:37: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:80:43: warning: no header providing "LayoutSettings" is directly included [misc-include-cleaner] 20 | connect(&_layoutFactory->settings(), &LayoutSettings::settingChanged, | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:86:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:86:27: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:100:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:100:27: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:116:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:116:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:128:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:128:27: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:153:20: warning: no header providing "std::thread" is directly included [misc-include-cleaner] 28 | _thread = std::thread(&LayoutThread::run, this); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:158:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:158:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:170:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:170:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:177:17: warning: no header providing "std::any_of" is directly included [misc-include-cleaner] 28 | return std::any_of(_layouts.begin(), _layouts.end(), | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:198:17: warning: no header providing "std::all_of" is directly included [misc-include-cleaner] 28 | return std::all_of(_layouts.begin(), _layouts.end(), | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:212:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 28 | emit pausedChanged(); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:216:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | u::setCurrentThreadName(u"Layout >"_s); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:235:24: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_graphModel->nodePositions()); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:239:22: warning: no header providing "std::any_of" is directly included [misc-include-cleaner] 28 | std::any_of(_layouts.begin(), _layouts.end(), | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:249:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 28 | emit executed(); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:254:14: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:254:31: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:264:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 28 | emit pausedChanged(); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:271:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | qDebug() << "Layout paused" << reason; | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:274:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | u::setCurrentThreadName(u"Layout ||"_s); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:280:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 28 | emit pausedChanged(); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:282:29: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | if(_debug != 0) qDebug() << "Layout resumed"; | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:285:27: warning: no header providing "std::this_thread::yield" is directly included [misc-include-cleaner] 28 | std::this_thread::yield(); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:289:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:289:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:295:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 28 | if(_debug != 0) qDebug() << "Layout stopped"; | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:298:33: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 20 | void LayoutThread::addComponent(ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:302:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:302:37: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:309:44: warning: no header providing "std::move" is directly included [misc-include-cleaner] 28 | _layouts.emplace(componentId, std::move(layout)); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:315:15: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 20 | for(const ComponentId componentId : _graphModel->graph().componentIds()) | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:319:43: warning: no header providing "ExactNodePositions" is directly included [misc-include-cleaner] 20 | void LayoutThread::setNodePositions(const ExactNodePositions& nodePositions) | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:335:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 28 | Q_ASSERT(dimensionalityMode != Layout::Dimensionality::TwoOrThreeDee); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:354:36: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 20 | void LayoutThread::removeComponent(ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:366:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:366:37: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 28 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:385:51: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 20 | void LayoutThread::onComponentAdded(const Graph*, ComponentId componentId, bool) | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:390:59: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 20 | void LayoutThread::onComponentWillBeRemoved(const Graph*, ComponentId componentId, bool) | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:395:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | std::vector& LayoutThread::settings() | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:395:13: warning: no header providing "LayoutSetting" is directly included [misc-include-cleaner] 20 | std::vector& LayoutThread::settings() | ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:400:7: warning: no header providing "LayoutSetting" is directly included [misc-include-cleaner] 20 | const LayoutSetting* LayoutThread::setting(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 21916 warnings generated. [105/195] /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:23:1: warning: included header QDebug is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:27:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | float LayoutSettings::value(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:36:45: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | float LayoutSettings::value(const QString& name) const 28 | { 29 | const auto* v = setting(name); 30 | if(v != nullptr) 31 | return v->value(); 32 | 33 | return 0.0f; 34 | } 35 | 36 | float LayoutSettings::normalisedValue(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:45:37: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void LayoutSettings::setValue(const QString& name, float value) | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:51:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit settingChanged(name, v->value()); | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:55:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void LayoutSettings::setNormalisedValue(const QString& name, float normalisedValue) | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:61:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit settingChanged(name, v->value()); | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:65:39: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | void LayoutSettings::resetValue(const QString& name) | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:71:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit settingChanged(name, v->value()); | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:75:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | const LayoutSetting* LayoutSettings::setting(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:81:46: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | LayoutSetting* LayoutSettings::setting(const QString& name) | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:83:25: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 21 | auto setting = std::find_if(_settings.begin(), _settings.end(), | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:92:5: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 24 | qDebug() << u"Setting"_s << name << "not found!"; | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:92:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 20 | qDebug() << u"Setting"_s << name << "not found!"; | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.cpp:117:26: warning: no header providing "std::clamp" is directly included [misc-include-cleaner] 21 | auto newValue = std::clamp(value, _minimumValue, _maximumValue); | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ 10118 warnings generated. [106/195] /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:24:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | 24 | QVector3D NodePositions::getNoLocking(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:24:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | #include 23 | 24 | QVector3D NodePositions::getNoLocking(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:29:7: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | 24 | QVector3D NodePositions::getNoLocking(NodeId nodeId) const 25 | { 26 | return elementFor(nodeId).mean(_smoothing) * _scale; 27 | } 28 | 29 | const QVector3D& NodePositions::getNewestNoLocking(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:29:52: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | #include 23 | 24 | QVector3D NodePositions::getNoLocking(NodeId nodeId) const 25 | { 26 | return elementFor(nodeId).mean(_smoothing) * _scale; 27 | } 28 | 29 | const QVector3D& NodePositions::getNewestNoLocking(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:37:35: warning: no header providing "std::this_thread::get_id" is directly included [misc-include-cleaner] 23 | 24 | QVector3D NodePositions::getNoLocking(NodeId nodeId) const 25 | { 26 | return elementFor(nodeId).mean(_smoothing) * _scale; 27 | } 28 | 29 | const QVector3D& NodePositions::getNewestNoLocking(NodeId nodeId) const 30 | { 31 | return elementFor(nodeId).newest(); 32 | } 33 | 34 | void NodePositions::lock() const 35 | { 36 | _mutex.lock(); 37 | _threadId = std::this_thread::get_id(); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:48:30: warning: no header providing "std::thread" is directly included [misc-include-cleaner] 23 | return _threadId == std::thread::id{}; | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:51:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | QVector3D NodePositions::get(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:51:30: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | QVector3D NodePositions::get(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:53:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | const std::unique_lock lock(*this); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:58:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | std::vector NodePositions::get(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:58:13: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | std::vector NodePositions::get(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:58:54: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | std::vector NodePositions::get(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:58:61: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | std::vector NodePositions::get(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:60:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | const std::unique_lock lock(*this); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:62:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | std::vector positions; | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:62:17: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | std::vector positions; | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:73:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:73:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 22 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:75:21: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | generate([this](NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:79:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t i = 0; i < positions.size(); i++) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:88:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | const std::unique_lock lock(*this); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:94:8: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | static QVector3D centreOfMassWithFn(const std::vector& nodeIds, GetFn&& getFn) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:94:48: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | static QVector3D centreOfMassWithFn(const std::vector& nodeIds, GetFn&& getFn) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:94:55: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | static QVector3D centreOfMassWithFn(const std::vector& nodeIds, GetFn&& getFn) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:94:81: warning: forwarding reference parameter 'getFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 94 | static QVector3D centreOfMassWithFn(const std::vector& nodeIds, GetFn&& getFn) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:98:60: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | return std::accumulate(nodeIds.begin(), nodeIds.end(), QVector3D(), | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:105:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | QVector3D NodePositions::centreOfMass(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:105:50: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | QVector3D NodePositions::centreOfMass(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:105:57: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | QVector3D NodePositions::centreOfMass(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:107:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | const std::unique_lock lock(*this); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:109:47: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | return centreOfMassWithFn(nodeIds, [this](NodeId nodeId) { return getNoLocking(nodeId); }); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:112:7: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | const QVector3D& NodePositions::at(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:112:36: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | const QVector3D& NodePositions::at(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:114:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 22 | const std::unique_lock lock(*this); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:119:7: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | const QVector3D& NodeLayoutPositions::get(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:119:43: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | const QVector3D& NodeLayoutPositions::get(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:121:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(unlocked()); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:126:31: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | void NodeLayoutPositions::set(NodeId nodeId, const QVector3D& position) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:126:52: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | void NodeLayoutPositions::set(NodeId nodeId, const QVector3D& position) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:128:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(unlocked()); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:129:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(!std::isnan(position.x()) && !std::isnan(position.y()) && !std::isnan(position.z())); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:134:42: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | void NodeLayoutPositions::set(const std::vector& nodeIds, const ExactNodePositions& nodePositions) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:134:49: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | void NodeLayoutPositions::set(const std::vector& nodeIds, const ExactNodePositions& nodePositions) | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:136:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(unlocked()); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:142:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(!std::isnan(position.x()) && !std::isnan(position.y()) && !std::isnan(position.z())); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:147:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | QVector3D NodeLayoutPositions::centreOfMass(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:147:56: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | QVector3D NodeLayoutPositions::centreOfMass(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:147:63: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | QVector3D NodeLayoutPositions::centreOfMass(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:149:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(unlocked()); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:151:47: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | return centreOfMassWithFn(nodeIds, [this](NodeId nodeId) { return getNewestNoLocking(nodeId); }); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:154:1: warning: no header providing "BoundingBox3D" is directly included [misc-include-cleaner] 20 | BoundingBox3D NodeLayoutPositions::boundingBox(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:154:59: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | BoundingBox3D NodeLayoutPositions::boundingBox(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:154:66: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | BoundingBox3D NodeLayoutPositions::boundingBox(const std::vector& nodeIds) const | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:156:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(unlocked()); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:161:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 23 | Q_ASSERT(!nodeIds.empty()); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:164:5: warning: no header providing "BoundingBox3D" is directly included [misc-include-cleaner] 20 | BoundingBox3D boundingBox(firstPosition, firstPosition); | ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:166:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | for(const NodeId nodeId : nodeIds) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v 8075 warnings generated. [107/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:22:1: warning: included header graphcomponent.h is not used directly [misc-include-cleaner] 22 | #include "graph/graphcomponent.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include "graph/componentmanager.h" /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:30:1: warning: included header QPointF is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:32:85: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | #include "shared/utils/utils.h" 25 | 26 | #include 27 | #include 28 | #include 29 | 30 | #include 31 | 32 | void PowerOf2GridComponentLayout::executeReal(const Graph& graph, const std::vector &componentIds, | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:33:47: warning: no header providing "ComponentLayoutData" is directly included [misc-include-cleaner] 24 | #include "shared/utils/utils.h" 25 | 26 | #include 27 | #include 28 | #include 29 | 30 | #include 31 | 32 | void PowerOf2GridComponentLayout::executeReal(const Graph& graph, const std::vector &componentIds, 33 | ComponentLayoutData& componentLayoutData) | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:40:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | #include 27 | #include 28 | #include 29 | 30 | #include 31 | 32 | void PowerOf2GridComponentLayout::executeReal(const Graph& graph, const std::vector &componentIds, 33 | ComponentLayoutData& componentLayoutData) 34 | { 35 | if(graph.numComponents() == 0) 36 | return; 37 | 38 | // Find the number of nodes in the largest component 39 | auto largestComponentId = graph.componentIdOfLargestComponent(); 40 | const size_t maxNumNodes = graph.componentById(largestComponentId)->numNodes(); | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:42:20: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | ComponentArray renderSizeDivisors(graph); | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:47:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const size_t divisor = maxNumNodes / component->numNodes(); | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:48:55: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | renderSizeDivisors[componentId] = static_cast( | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:54:43: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | [&renderSizeDivisors](const ComponentId& a, const ComponentId& b) | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:54:65: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | [&renderSizeDivisors](const ComponentId& a, const ComponentId& b) | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:59:16: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 26 | std::stack coords; | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:66:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const size_t MAX_SIZE = 1024; | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:67:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | const size_t MINIMUM_SIZE = 32; | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:68:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t divisor = renderSizeDivisors[componentId]; | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:69:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t dividedSize = MAX_SIZE / (divisor * 2); | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:77:56: warning: no header providing "qreal" is directly included [misc-include-cleaner] 26 | if(!coords.empty() && (coord.x() + static_cast(dividedSize) > coords.top().x() || | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:78:37: warning: no header providing "qreal" is directly included [misc-include-cleaner] 26 | coord.y() + static_cast(dividedSize) > MAX_SIZE)) | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:88:15: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 26 | const QPointF right(coord.x() + static_cast(dividedSize), coord.y()); | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:88:53: warning: no header providing "qreal" is directly included [misc-include-cleaner] 26 | const QPointF right(coord.x() + static_cast(dividedSize), coord.y()); | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:89:15: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 26 | const QPointF down(coord.x(), coord.y() + static_cast(dividedSize)); | ^ /home/runner/work/graphia/graphia/source/app/layout/powerof2gridcomponentlayout.cpp:89:63: warning: no header providing "qreal" is directly included [misc-include-cleaner] 26 | const QPointF down(coord.x(), coord.y() + static_cast(dividedSize)); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ 10532 warnings generated. [108/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 11155 warnings generated. [109/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 11089 warnings generated. [110/195] /home/runner/work/graphia/graphia/source/app/limitconstants.cpp:23:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/limitconstants.cpp:27:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 24 | 25 | static_block 26 | { 27 | qmlRegisterType( | ^ 10797 warnings generated. [111/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:21:1: warning: included header imutablegraph.h is not used directly [misc-include-cleaner] 21 | #include "shared/graph/imutablegraph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include "ui/document.h" /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:22:1: warning: included header document.h is not used directly [misc-include-cleaner] 22 | #include "ui/document.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:25:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:26:1: warning: included header QTextStream is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:33:15: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | bool GMLSaver::save() 31 | { 32 | QFile file(_url.toLocalFile()); 33 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:33:38: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | bool GMLSaver::save() 31 | { 32 | QFile file(_url.toLocalFile()); 33 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:33:60: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | bool GMLSaver::save() 31 | { 32 | QFile file(_url.toLocalFile()); 33 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:36:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | bool GMLSaver::save() 31 | { 32 | QFile file(_url.toLocalFile()); 33 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); 34 | int level = 0; 35 | 36 | const size_t numElements = _graphModel->attributeNames().size() + | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:39:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | bool GMLSaver::save() 31 | { 32 | QFile file(_url.toLocalFile()); 33 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); 34 | int level = 0; 35 | 36 | const size_t numElements = _graphModel->attributeNames().size() + 37 | _graphModel->graph().numNodes() + 38 | _graphModel->graph().numEdges(); 39 | size_t runningCount = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:41:28: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | bool GMLSaver::save() 31 | { 32 | QFile file(_url.toLocalFile()); 33 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); 34 | int level = 0; 35 | 36 | const size_t numElements = _graphModel->attributeNames().size() + 37 | _graphModel->graph().numNodes() + 38 | _graphModel->graph().numEdges(); 39 | size_t runningCount = 0; 40 | 41 | auto escape = [](const QString& string) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:46:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 27 | std::map alphanumAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:46:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | std::map alphanumAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:46:23: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | std::map alphanumAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:47:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | setPhase(QObject::tr("Attributes")); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:51:22: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 27 | static const QRegularExpression re(uR"([^a-zA-Z\d])"_s); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:51:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | static const QRegularExpression re(uR"([^a-zA-Z\d])"_s); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:54:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | cleanName = u"Attribute"_s; | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:63:40: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | uniqueCleanName.append(QString::number(suffix++)); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:73:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | cleanName = u"Attribute"_s + cleanName; | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:81:5: warning: no header providing "QTextStream" is directly included [misc-include-cleaner] 27 | QTextStream stream(&file); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:85:54: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | auto attributes = [&](auto elementId, const std::vector& attributeNames) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:85:61: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | auto attributes = [&](auto elementId, const std::vector& attributeNames) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:93:42: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | if(attribute->valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:93:53: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 21 | if(attribute->valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:95:23: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | const QString escapedValue = escape(attribute->stringValueOf(elementId)); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:97:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | << u"\"%1\""_s.arg(escapedValue) << "\n"; | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:99:46: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | else if(attribute->valueType() & ValueType::Numerical) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:99:57: warning: no header providing "ValueType_reflector::Enum::Numerical" is directly included [misc-include-cleaner] 21 | else if(attribute->valueType() & ValueType::Numerical) | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:111:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | setPhase(QObject::tr("Nodes")); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:114:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | const QString nodeName = escape(_graphModel->nodeName(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:119:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 27 | const QString labelString = u"\"%1\""_s.arg(nodeName); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:119:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | const QString labelString = u"\"%1\""_s.arg(nodeName); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:121:56: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | attributes(nodeId, _graphModel->attributeNames(ElementType::Node)); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:121:69: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | attributes(nodeId, _graphModel->attributeNames(ElementType::Node)); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:128:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | setPhase(QObject::tr("Edges")); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:138:56: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | attributes(edgeId, _graphModel->attributeNames(ElementType::Edge)); | ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.cpp:138:69: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | attributes(edgeId, _graphModel->attributeNames(ElementType::Edge)); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23421 warnings generated. [112/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:21:1: warning: included header graph.h is not used directly [misc-include-cleaner] 21 | #include "graph/graph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include "graph/graphmodel.h" /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:25:1: warning: included header imutablegraph.h is not used directly [misc-include-cleaner] 25 | #include "shared/graph/imutablegraph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include "ui/document.h" /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:30:1: warning: included header QUrl is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:31:1: warning: included header QXmlStreamWriter is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:39:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | bool GraphMLSaver::save() 36 | { 37 | auto* graphModel = dynamic_cast(_graphModel); 38 | 39 | Q_ASSERT(graphModel != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:44:15: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | bool GraphMLSaver::save() 36 | { 37 | auto* graphModel = dynamic_cast(_graphModel); 38 | 39 | Q_ASSERT(graphModel != nullptr); 40 | if(graphModel == nullptr) 41 | return false; 42 | 43 | QFile file(_url.toLocalFile()); 44 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:44:38: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | bool GraphMLSaver::save() 36 | { 37 | auto* graphModel = dynamic_cast(_graphModel); 38 | 39 | Q_ASSERT(graphModel != nullptr); 40 | if(graphModel == nullptr) 41 | return false; 42 | 43 | QFile file(_url.toLocalFile()); 44 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:44:60: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | bool GraphMLSaver::save() 36 | { 37 | auto* graphModel = dynamic_cast(_graphModel); 38 | 39 | Q_ASSERT(graphModel != nullptr); 40 | if(graphModel == nullptr) 41 | return false; 42 | 43 | QFile file(_url.toLocalFile()); 44 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:46:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | bool GraphMLSaver::save() 36 | { 37 | auto* graphModel = dynamic_cast(_graphModel); 38 | 39 | Q_ASSERT(graphModel != nullptr); 40 | if(graphModel == nullptr) 41 | return false; 42 | 43 | QFile file(_url.toLocalFile()); 44 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); 45 | 46 | const size_t numElements = _graphModel->attributeNames().size() + | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:49:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | size_t runningCount = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:51:5: warning: no header providing "QXmlStreamWriter" is directly included [misc-include-cleaner] 32 | QXmlStreamWriter stream(&file); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:92:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | setPhase(QObject::tr("Attributes")); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:94:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 32 | std::map idToAttribute; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:95:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 32 | std::map attributeToId; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:110:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:110:53: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:112:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:112:53: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:114:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | if(attribute->elementType() == ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:114:53: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 25 | if(attribute->elementType() == ElementType::Component) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:122:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | case ValueType::Int: valueTypeToString = u"int"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:122:25: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 25 | case ValueType::Int: valueTypeToString = u"int"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:123:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | case ValueType::Float: valueTypeToString = u"float"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:123:25: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 25 | case ValueType::Float: valueTypeToString = u"float"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:124:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | case ValueType::String: valueTypeToString = u"string"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:124:25: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 25 | case ValueType::String: valueTypeToString = u"string"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:125:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | case ValueType::Numerical: valueTypeToString = u"float"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:125:25: warning: no header providing "ValueType_reflector::Enum::Numerical" is directly included [misc-include-cleaner] 25 | case ValueType::Numerical: valueTypeToString = u"float"_s; break; | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:136:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | setPhase(QObject::tr("Nodes")); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:144:73: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | for(const auto& nodeAttributeName : _graphModel->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:144:86: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | for(const auto& nodeAttributeName : _graphModel->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:178:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | setPhase(QObject::tr("Edges")); | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:192:73: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | for(const auto& edgeAttributeName : _graphModel->attributeNames(ElementType::Edge)) | ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.cpp:192:86: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 25 | for(const auto& edgeAttributeName : _graphModel->attributeNames(ElementType::Edge)) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23551 warnings generated. [113/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:21:1: warning: included header QFuture is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:22:1: warning: included header QtConcurrentRun is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:23:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:31:25: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 24 | 25 | #include "shared/utils/static_block.h" 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | ImportAttributesKeyDetection::ImportAttributesKeyDetection() // NOLINT modernize-use-equals-default 30 | { 31 | connect(&_watcher, &QFutureWatcher::started, this, &ImportAttributesKeyDetection::busyChanged); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:32:25: warning: no header providing "QFutureWatcher" is directly included [misc-include-cleaner] 24 | 25 | #include "shared/utils/static_block.h" 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | ImportAttributesKeyDetection::ImportAttributesKeyDetection() // NOLINT modernize-use-equals-default 30 | { 31 | connect(&_watcher, &QFutureWatcher::started, this, &ImportAttributesKeyDetection::busyChanged); 32 | connect(&_watcher, &QFutureWatcher::finished, this, &ImportAttributesKeyDetection::busyChanged); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:44:11: warning: no header providing "QFuture" is directly included [misc-include-cleaner] 24 | const QFuture future = QtConcurrent::run([this] | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:44:48: warning: no header providing "QtConcurrent::run" is directly included [misc-include-cleaner] 24 | const QFuture future = QtConcurrent::run([this] | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:46:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 24 | QString bestAttributeName; | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:47:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | size_t bestColumnIndex = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:51:30: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | static_cast(ElementType::NodeAndEdge), static_cast(ValueType::Identifier)); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:51:43: warning: no header providing "ElementType_reflector::Enum::NodeAndEdge" is directly included [misc-include-cleaner] 25 | static_cast(ElementType::NodeAndEdge), static_cast(ValueType::Identifier)); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:51:74: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 25 | static_cast(ElementType::NodeAndEdge), static_cast(ValueType::Identifier)); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:51:85: warning: no header providing "ValueType_reflector::Enum::Identifier" is directly included [misc-include-cleaner] 25 | static_cast(ElementType::NodeAndEdge), static_cast(ValueType::Identifier)); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:55:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | for(size_t columnIndex = 0; columnIndex < _tabularData->numColumns(); columnIndex++) | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:58:24: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 26 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:58:44: warning: no header providing "TypeIdentity::Type::String" is directly included [misc-include-cleaner] 26 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:58:62: warning: no header providing "TypeIdentity" is directly included [misc-include-cleaner] 26 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:58:82: warning: no header providing "TypeIdentity::Type::Int" is directly included [misc-include-cleaner] 26 | if(type != TypeIdentity::Type::String && type != TypeIdentity::Type::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:64:77: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | if(!_document->attribute(attributeName).value(u"userDefined"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:102:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | _result.insert(u"attributeName"_s, bestAttributeName); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:103:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | _result.insert(u"column"_s, static_cast(bestColumnIndex)); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:104:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | _result.insert(u"percent"_s, bestPercent); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:107:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit resultChanged(); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:116:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 24 | emit resultChanged(); | ^ /home/runner/work/graphia/graphia/source/app/loading/importattributeskeydetection.cpp:121:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 24 | qmlRegisterType(APP_URI, APP_MAJOR_VERSION, | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 15669 warnings generated. [114/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:25:1: warning: included header imutablegraph.h is not used directly [misc-include-cleaner] 25 | #include "shared/graph/imutablegraph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include "ui/document.h" /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:26:1: warning: included header document.h is not used directly [misc-include-cleaner] 26 | #include "ui/document.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:30:1: warning: included header QDebug is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:39:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | #include 31 | #include 32 | 33 | bool JSONGraphSaver::save() 34 | { 35 | json fileObject; 36 | fileObject["graph"] = graphAsJson(_graphModel->graph(), *this); 37 | setProgress(-1); 38 | 39 | const size_t numElements = _graphModel->graph().numNodes() + _graphModel->graph().numEdges(); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:40:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | #include 29 | 30 | #include 31 | #include 32 | 33 | bool JSONGraphSaver::save() 34 | { 35 | json fileObject; 36 | fileObject["graph"] = graphAsJson(_graphModel->graph(), *this); 37 | setProgress(-1); 38 | 39 | const size_t numElements = _graphModel->graph().numNodes() + _graphModel->graph().numEdges(); 40 | size_t runningCount = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:43:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | 33 | bool JSONGraphSaver::save() 34 | { 35 | json fileObject; 36 | fileObject["graph"] = graphAsJson(_graphModel->graph(), *this); 37 | setProgress(-1); 38 | 39 | const size_t numElements = _graphModel->graph().numNodes() + _graphModel->graph().numEdges(); 40 | size_t runningCount = 0; 41 | 42 | // Node Attributes 43 | setPhase(QObject::tr("Node Attributes")); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:46:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | const NodeId nodeId = std::stoi(node["id"].get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:46:36: warning: no header providing "std::stoi" is directly included [misc-include-cleaner] 32 | 33 | bool JSONGraphSaver::save() 34 | { 35 | json fileObject; 36 | fileObject["graph"] = graphAsJson(_graphModel->graph(), *this); 37 | setProgress(-1); 38 | 39 | const size_t numElements = _graphModel->graph().numNodes() + _graphModel->graph().numEdges(); 40 | size_t runningCount = 0; 41 | 42 | // Node Attributes 43 | setPhase(QObject::tr("Node Attributes")); 44 | for(auto& node : fileObject["graph"]["nodes"]) 45 | { 46 | const NodeId nodeId = std::stoi(node["id"].get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:46:61: warning: no header providing "std::string" is directly included [misc-include-cleaner] 32 | 33 | bool JSONGraphSaver::save() 34 | { 35 | json fileObject; 36 | fileObject["graph"] = graphAsJson(_graphModel->graph(), *this); 37 | setProgress(-1); 38 | 39 | const size_t numElements = _graphModel->graph().numNodes() + _graphModel->graph().numEdges(); 40 | size_t runningCount = 0; 41 | 42 | // Node Attributes 43 | setPhase(QObject::tr("Node Attributes")); 44 | for(auto& node : fileObject["graph"]["nodes"]) 45 | { 46 | const NodeId nodeId = std::stoi(node["id"].get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:47:73: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | for(const auto& nodeAttributeName : _graphModel->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:47:86: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 23 | for(const auto& nodeAttributeName : _graphModel->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:56:42: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 23 | if(attribute->valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:56:53: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 23 | if(attribute->valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:58:47: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:58:58: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:60:47: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Float) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:60:58: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Float) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:69:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | setPhase(QObject::tr("Edge Attributes")); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:72:15: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 23 | const EdgeId edgeId = std::stoi(edge["id"].get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:72:36: warning: no header providing "std::stoi" is directly included [misc-include-cleaner] 32 | const EdgeId edgeId = std::stoi(edge["id"].get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:72:61: warning: no header providing "std::string" is directly included [misc-include-cleaner] 32 | const EdgeId edgeId = std::stoi(edge["id"].get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:73:73: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 23 | for(const auto& edgeAttributeName : _graphModel->attributeNames(ElementType::Edge)) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:73:86: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 23 | for(const auto& edgeAttributeName : _graphModel->attributeNames(ElementType::Edge)) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:82:42: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 23 | if(attribute->valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:82:53: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 23 | if(attribute->valueType() == ValueType::String) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:84:47: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:84:58: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:86:47: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Float) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:86:58: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 23 | else if(attribute->valueType() == ValueType::Float) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:95:15: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 32 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:95:38: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 32 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:95:60: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 32 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:96:16: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 32 | file.write(QByteArray::fromStdString(fileObject.dump())); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:101:55: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 26 | json JSONGraphSaver::graphAsJson(const IGraph& graph, Progressable& progressable) | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:109:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | progressable.setPhase(QObject::tr("Nodes")); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:115:27: warning: no header providing "std::to_string" is directly included [misc-include-cleaner] 32 | node["id"] = std::to_string(static_cast(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:126:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 32 | progressable.setPhase(QObject::tr("Edges")); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:134:31: warning: no header providing "std::to_string" is directly included [misc-include-cleaner] 32 | jsonEdge["id"] = std::to_string(static_cast(edgeId)); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:135:35: warning: no header providing "std::to_string" is directly included [misc-include-cleaner] 32 | jsonEdge["source"] = std::to_string(static_cast(edge.sourceId())); | ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.cpp:136:35: warning: no header providing "std::to_string" is directly included [misc-include-cleaner] 32 | jsonEdge["target"] = std::to_string(static_cast(edge.targetId())); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23777 warnings generated. [115/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:25:1: warning: included header imutablegraph.h is not used directly [misc-include-cleaner] 25 | #include "shared/graph/imutablegraph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include "shared/graph/grapharray_json.h" /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:35:1: warning: included header progress_iterator.h is not used directly [misc-include-cleaner] 35 | #include "shared/loading/progress_iterator.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | #include "shared/loading/jsongraphparser.h" /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:39:1: warning: included header QDataStream is not used directly [misc-include-cleaner] 39 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 40 | #include /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:40:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 40 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 | /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:44:1: warning: included header chrono is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~ 45 | /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:55:19: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 42 | #include 43 | #include 44 | #include 45 | 46 | #include 47 | 48 | #include 49 | 50 | static bool isCompressed(const QString& filePath) 51 | { 52 | QFile file(filePath); 53 | 54 | const int GzipHeaderSize = 10; 55 | if(!file.open(QIODevice::ReadOnly) || file.size() < GzipHeaderSize) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:67:49: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | static bool decompress(const QString& filePath, QByteArray& byteArray, | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:72:19: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 42 | if(!file.open(QIODevice::ReadOnly)) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:75:35: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 42 | auto totalBytes = static_cast(file.size()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:80:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 42 | uint64_t bytesRead = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:81:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 42 | uint64_t bytesDecompressed = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:82:5: warning: no header providing "QDataStream" is directly included [misc-include-cleaner] 42 | QDataStream input(&file); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:85:39: warning: no header providing "MAX_WBITS" is directly included [misc-include-cleaner] 48 | auto ret = inflateInit2(&zstream, MAX_WBITS + 32); // 32 means read gzip header/trailer | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:93:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 42 | Q_UNUSED(atExit); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:102:34: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 42 | bytesRead += static_cast(numBytes); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:107:40: warning: no header providing "uInt" is directly included [misc-include-cleaner] 48 | zstream.avail_in = static_cast(numBytes); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:111:39: warning: no header providing "z_const" is directly included [misc-include-cleaner] 48 | zstream.next_in = static_cast(inBuffer.data()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:111:47: warning: no header providing "Bytef" is directly included [misc-include-cleaner] 48 | zstream.next_in = static_cast(inBuffer.data()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:117:44: warning: no header providing "Bytef" is directly included [misc-include-cleaner] 48 | zstream.next_out = static_cast(outBuffer.data()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:120:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(ret != Z_STREAM_ERROR); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:122:13: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case] 122 | switch(ret) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:131:46: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 42 | bytesDecompressed += static_cast(numBytes); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:135:69: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 42 | if(maxReadSize >= 0 && bytesDecompressed >= static_cast(maxReadSize)) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:144:43: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | static bool load(const QString& filePath, QByteArray& byteArray, | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:157:19: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 42 | if(!file.open(QIODevice::ReadOnly)) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:166:5: warning: no header providing "QDataStream" is directly included [misc-include-cleaner] 42 | QDataStream input(&file); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:202:5: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | QByteArray byteArray; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:270:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(graphModel != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:291:5: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | QByteArray byteArray; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:319:28: warning: no header providing "std::all_of" is directly included [misc-include-cleaner] 42 | auto allObjects = std::all_of(jsonArray.begin(), jsonArray.end(), | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:338:45: warning: no header providing "std::operator""ms" is directly included [misc-include-cleaner] 42 | std::this_thread::sleep_for(1000ms); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:361:74: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | u::forEachJsonGraphArray(jsonBody["nodeNames"], [graphModel](NodeId nodeId, const QString& nodeName) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:363:17: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(graphModel->mutableGraph().containsNodeId(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:369:13: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId nodeId(0); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:456:17: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 24 | NodeIdSet nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:482:25: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 42 | qDebug() << "null dataRow in enrichment table"; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:492:61: warning: no header providing "std::double_t" is directly included [misc-include-cleaner] 42 | row.emplace_back(value.get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:494:84: warning: no header providing "std::string" is directly included [misc-include-cleaner] 42 | row.emplace_back(QString::fromStdString(value.get())); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:529:35: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 42 | _nodePositions = std::make_unique(graphModel->mutableGraph()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:529:47: warning: no header providing "ExactNodePositions" is directly included [misc-include-cleaner] 20 | _nodePositions = std::make_unique(graphModel->mutableGraph()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:533:86: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | u::forEachJsonGraphArray(jsonLayout["positions"], [this, graphModel](NodeId nodeId, const json& position) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:535:21: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(graphModel->mutableGraph().containsNodeId(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:537:49: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 42 | _nodePositions->set(nodeId, QVector3D( | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:545:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | NodeId nodeId(0); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:552:53: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 42 | _nodePositions->set(nodeId, QVector3D( | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:580:23: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | _uiData = QByteArray::fromStdString(jsonUiDataJsonValue.dump()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:596:5: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | QByteArray pluginData; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:599:22: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | pluginData = QByteArray::fromStdString(pluginDataJsonValue.dump()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:601:22: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | pluginData = QByteArray::fromHex(QByteArray::fromStdString(pluginDataJsonValue)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:601:42: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | pluginData = QByteArray::fromHex(QByteArray::fromStdString(pluginDataJsonValue)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:631:29: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | _pluginUiData = QByteArray::fromStdString(pluginUiDataJsonValue.dump()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:633:29: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | _pluginUiData = QByteArray::fromHex(QByteArray::fromStdString(pluginUiDataJsonValue)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:633:49: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 42 | _pluginUiData = QByteArray::fromHex(QByteArray::fromStdString(pluginUiDataJsonValue)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:651:7: warning: no header providing "ExactNodePositions" is directly included [misc-include-cleaner] 20 | const ExactNodePositions* Loader::nodePositions() const | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 24276 warnings generated. [116/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:26:1: warning: included header atomic is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:28:1: warning: included header QDebug is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:32:58: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | ParserThread::ParserThread(GraphModel& graphModel, const QUrl& url) : | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:43:31: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | ParserThread::ParserThread(GraphModel& graphModel, const QUrl& url) : 33 | _graphModel(&graphModel), 34 | _url(url) 35 | {} 36 | 37 | ParserThread::~ParserThread() 38 | { 39 | cancel(); 40 | wait(); 41 | } 42 | 43 | void ParserThread::start(std::unique_ptr parser) | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:43:42: warning: no header providing "IParser" is directly included [misc-include-cleaner] 24 | void ParserThread::start(std::unique_ptr parser) | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:46:20: warning: no header providing "std::move" is directly included [misc-include-cleaner] 29 | _parser = std::move(parser); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:47:20: warning: no header providing "std::thread" is directly included [misc-include-cleaner] 29 | _thread = std::thread(&ParserThread::run, this); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:55:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit cancelledChanged(); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:84:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | u::setCurrentThreadName(u"Parser"_s); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:88:68: warning: no header providing "IMutableGraph" is directly included [misc-include-cleaner] 24 | _graphModel->mutableGraph().performTransaction([this, &result](IMutableGraph& graph) | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:94:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 29 | qDebug() << "progress called with unusual percentage" << newPercentage; | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:101:21: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit progressChanged(percentage); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:107:17: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit progressChanged(percentage); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:111:44: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | _parser->setPhaseFn([this, phase = QString()](const QString& newPhase) mutable | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:111:61: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | _parser->setPhaseFn([this, phase = QString()](const QString& newPhase) mutable | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:116:17: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit phaseChanged(phase); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:133:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit progressChanged(-1); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:134:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit phaseChanged({}); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:138:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit success(_parser.get()); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:143:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit cancelledChanged(); | ^ /home/runner/work/graphia/graphia/source/app/loading/parserthread.cpp:146:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit complete(_url, result); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20943 warnings generated. [117/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:24:1: warning: included header imutablegraph.h is not used directly [misc-include-cleaner] 24 | #include "shared/graph/imutablegraph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include "ui/document.h" /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:25:1: warning: included header document.h is not used directly [misc-include-cleaner] 25 | #include "ui/document.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:27:1: warning: included header QFile is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:28:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:30:1: warning: included header QTextStream is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:41:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 22 | attribute.elementType() == ElementType::Edge && | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:41:53: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 22 | attribute.elementType() == ElementType::Edge && | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:42:37: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | attribute.valueType() & ValueType::Numerical; | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:42:48: warning: no header providing "ValueType_reflector::Enum::Numerical" is directly included [misc-include-cleaner] 22 | attribute.valueType() & ValueType::Numerical; | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:45:103: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | // Find an attribute that looks like an edge weight 35 | static QString findEdgeWeightAttributeName(const IGraphModel* graphModel) 36 | { 37 | auto edgeAttributeNames = graphModel->attributeNamesMatching( 38 | [](const IAttribute& attribute) 39 | { 40 | return !attribute.hasParameter() && 41 | attribute.elementType() == ElementType::Edge && 42 | attribute.valueType() & ValueType::Numerical; 43 | }); 44 | 45 | auto isWeight = [](const QString& attributeName) { return attributeName.contains(u"weight"_s, Qt::CaseInsensitive); }; | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:46:101: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | // Find an attribute that looks like an edge weight 35 | static QString findEdgeWeightAttributeName(const IGraphModel* graphModel) 36 | { 37 | auto edgeAttributeNames = graphModel->attributeNamesMatching( 38 | [](const IAttribute& attribute) 39 | { 40 | return !attribute.hasParameter() && 41 | attribute.elementType() == ElementType::Edge && 42 | attribute.valueType() & ValueType::Numerical; 43 | }); 44 | 45 | auto isWeight = [](const QString& attributeName) { return attributeName.contains(u"weight"_s, Qt::CaseInsensitive); }; 46 | auto isValue = [](const QString& attributeName) { return attributeName.contains(u"value"_s, Qt::CaseInsensitive); }; | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:48:35: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 31 | edgeAttributeNames.erase(std::remove_if(edgeAttributeNames.begin(), edgeAttributeNames.end(), | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:54:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 31 | std::sort(edgeAttributeNames.begin(), edgeAttributeNames.end(), | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:82:5: warning: no header providing "QFile" is directly included [misc-include-cleaner] 31 | QFile file(_url.toLocalFile()); | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:83:15: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 31 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:83:38: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 31 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:83:60: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 31 | file.open(QIODevice::ReadWrite | QIODevice::Truncate | QIODevice::Text); | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:85:5: warning: no header providing "QTextStream" is directly included [misc-include-cleaner] 31 | QTextStream stream(&file); | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:86:11: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | const size_t edgeCount = _graphModel->graph().numEdges(); | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:87:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t runningCount = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:97:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 31 | setPhase(QObject::tr("Edges")); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 14703 warnings generated. [118/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:25:1: warning: included header iterator_range.h is not used directly [misc-include-cleaner] 25 | #include "shared/utils/iterator_range.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include "shared/utils/scope_exit.h" /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:35:1: warning: included header QDataStream is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 36 | #include /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:37:1: warning: included header QStringList is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 38 | /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:46:28: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 39 | #include 40 | 41 | #include 42 | 43 | const int NativeSaver::Version = 8; 44 | const int NativeSaver::MaxHeaderSize = 1 << 12; 45 | 46 | static bool compress(const QByteArray& byteArray, const QString& filePath, Progressable& progressable) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:46:57: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | #include 40 | 41 | #include 42 | 43 | const int NativeSaver::Version = 8; 44 | const int NativeSaver::MaxHeaderSize = 1 << 12; 45 | 46 | static bool compress(const QByteArray& byteArray, const QString& filePath, Progressable& progressable) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:46:76: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 26 | static bool compress(const QByteArray& byteArray, const QString& filePath, Progressable& progressable) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:50:19: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 39 | #include 40 | 41 | #include 42 | 43 | const int NativeSaver::Version = 8; 44 | const int NativeSaver::MaxHeaderSize = 1 << 12; 45 | 46 | static bool compress(const QByteArray& byteArray, const QString& filePath, Progressable& progressable) 47 | { 48 | QFile file(filePath); 49 | 50 | if(!file.open(QIODevice::WriteOnly)) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:53:35: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 39 | #include 40 | 41 | #include 42 | 43 | const int NativeSaver::Version = 8; 44 | const int NativeSaver::MaxHeaderSize = 1 << 12; 45 | 46 | static bool compress(const QByteArray& byteArray, const QString& filePath, Progressable& progressable) 47 | { 48 | QFile file(filePath); 49 | 50 | if(!file.open(QIODevice::WriteOnly)) 51 | return false; 52 | 53 | auto totalBytes = static_cast(byteArray.size()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:54:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 39 | #include 40 | 41 | #include 42 | 43 | const int NativeSaver::Version = 8; 44 | const int NativeSaver::MaxHeaderSize = 1 << 12; 45 | 46 | static bool compress(const QByteArray& byteArray, const QString& filePath, Progressable& progressable) 47 | { 48 | QFile file(filePath); 49 | 50 | if(!file.open(QIODevice::WriteOnly)) 51 | return false; 52 | 53 | auto totalBytes = static_cast(byteArray.size()); 54 | uint64_t bytePosition = 0; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:55:5: warning: no header providing "QDataStream" is directly included [misc-include-cleaner] 39 | QDataStream input(byteArray); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:56:5: warning: no header providing "QDataStream" is directly included [misc-include-cleaner] 39 | QDataStream output(&file); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:60:29: warning: no header providing "MAX_WBITS" is directly included [misc-include-cleaner] 41 | MAX_WBITS + 16, // 16 means write gzip header/trailer | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:66:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 39 | Q_UNUSED(atExit); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:77:37: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 39 | bytePosition += static_cast(numBytes); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:80:40: warning: no header providing "uInt" is directly included [misc-include-cleaner] 41 | zstream.avail_in = static_cast(numBytes); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:81:39: warning: no header providing "z_const" is directly included [misc-include-cleaner] 41 | zstream.next_in = static_cast(inBuffer.data()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:81:47: warning: no header providing "Bytef" is directly included [misc-include-cleaner] 41 | zstream.next_in = static_cast(inBuffer.data()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:88:44: warning: no header providing "Bytef" is directly included [misc-include-cleaner] 41 | zstream.next_out = static_cast(outBuffer.data()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:100:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 39 | Q_ASSERT(zstream.avail_in == 0); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:103:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 39 | Q_ASSERT(ret == Z_STREAM_END); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:108:8: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | static json bookmarksAsJson(const Document& document) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:110:5: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json jsonObject = json::object(); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:110:23: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json jsonObject = json::object(); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:115:9: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:118:14: warning: no header providing "std::copy" is directly included [misc-include-cleaner] 39 | std::copy(bookmarkedNodeIds.begin(), bookmarkedNodeIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:119:18: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 39 | std::back_inserter(nodeIds)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:129:8: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | static json layoutSettingsAsJson(const Document& document) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:131:5: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json jsonObject; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:144:8: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | static json enrichmentTableModelAsJson(const EnrichmentTableModel& table) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:144:46: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 20 | static json enrichmentTableModelAsJson(const EnrichmentTableModel& table) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:146:5: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json jsonObject; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:152:57: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 20 | const auto& v = table.data(row, static_cast(column)); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:154:30: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 39 | if(v.typeId() == QMetaType::QString) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:155:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 39 | jsonObject["data"][static_cast(row - 1)].push_back(v.toString().toStdString()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:156:35: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 39 | else if(v.typeId() == QMetaType::Double || v.typeId() == QMetaType::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:156:70: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 39 | else if(v.typeId() == QMetaType::Double || v.typeId() == QMetaType::Int) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:157:48: warning: no header providing "size_t" is directly included [misc-include-cleaner] 39 | jsonObject["data"][static_cast(row - 1)].push_back(v.toDouble()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:169:5: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json jsonArray; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:173:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 39 | Q_ASSERT(graphModel != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:179:5: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json header; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:187:8: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | if(json({header}).dump().size() > MaxHeaderSize) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:190:5: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json content; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:198:5: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | json layout; | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:206:16: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | return json({v.x(), v.y(), v.z()}); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:229:37: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 20 | auto* table = variant.value(); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:233:23: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | auto uiDataJson = json::parse(_uiData.begin(), _uiData.end(), nullptr, false); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:243:27: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | auto pluginDataJson = json::parse(pluginData.begin(), pluginData.end(), nullptr, false); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:250:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | content["pluginData"] = QString(pluginData.toHex()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:252:29: warning: no header providing "json" is directly included [misc-include-cleaner] 39 | auto pluginUiDataJson = json::parse(_pluginUiData.begin(), _pluginUiData.end(), nullptr, false); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:257:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 39 | content["pluginUiData"] = QString(_pluginUiData.toHex()); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:262:21: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 39 | return compress(QByteArray::fromStdString(jsonArray.dump()), _fileUrl.toLocalFile(), *this); | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:265:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 39 | std::unique_ptr NativeSaverFactory::create(const QUrl& url, Document* document, | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:265:17: warning: no header providing "ISaver" is directly included [misc-include-cleaner] 22 | std::unique_ptr NativeSaverFactory::create(const QUrl& url, Document* document, | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:266:91: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 39 | const IPluginInstance* pluginInstance, const QByteArray& uiData, | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:267:52: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 39 | const QByteArray& pluginUiData) | ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:269:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 39 | return std::make_unique(url, document, pluginInstance, uiData, pluginUiData); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:31:34: warning: use c++14 style type templates [modernize-type-traits] 31 | std::is_const_v::type>; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:36: warning: forwarding reference parameter 'begin' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | auto make_iterator_range(BeginIt&& begin, EndIt&& end) | ^ /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:51: warning: forwarding reference parameter 'end' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | auto make_iterator_range(BeginIt&& begin, EndIt&& end) | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 24335 warnings generated. [119/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 14667 warnings generated. [120/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtQuick/qsgnode.h:33:11: warning: no definition found for 'Updater', but a definition with the same name 'Updater' found in another namespace '(global)' [bugprone-forward-declaration-namespace] 33 | class Updater; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:35:7: note: a definition of 'Updater' is found here 35 | class Updater : public QObject | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:21:1: warning: included header QObject is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:22:1: warning: included header QQmlComponent is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:23:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:24:1: warning: included header QQmlApplicationEngine is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:25:1: warning: included header QQuickWindow is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:26:1: warning: included header QQuickStyle is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:27:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:28:1: warning: included header QIcon is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:29:1: warning: included header QMessageBox is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:30:1: warning: included header QStyleHints is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:31:1: warning: included header QGuiApplication is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:32:1: warning: included header QWidget is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~ 33 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:33:1: warning: included header QWindow is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~ 34 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:34:1: warning: included header QScreen is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:35:1: warning: included header QDir is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~ 36 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:36:1: warning: included header QFile is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~~ 37 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:37:1: warning: included header QFileDevice is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 38 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:38:1: warning: included header QFileInfo is not used directly [misc-include-cleaner] 38 | #include | ^~~~~~~~~~~~~~~~~~~~ 39 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:39:1: warning: included header QStandardPaths is not used directly [misc-include-cleaner] 39 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 40 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:40:1: warning: included header QTimer is not used directly [misc-include-cleaner] 40 | #include | ^~~~~~~~~~~~~~~~~ 41 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:41:1: warning: included header QCommandLineParser is not used directly [misc-include-cleaner] 41 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 42 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:42:1: warning: included header QProcess is not used directly [misc-include-cleaner] 42 | #include | ^~~~~~~~~~~~~~~~~~~ 43 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:43:1: warning: included header QSettings is not used directly [misc-include-cleaner] 43 | #include | ^~~~~~~~~~~~~~~~~~~~ 44 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:44:1: warning: included header QNetworkProxy is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 45 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:45:1: warning: included header QQmlFileSelector is not used directly [misc-include-cleaner] 45 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 | /home/runner/work/graphia/graphia/source/app/main.cpp:48:1: warning: included header QtWebEngineQuick is not used directly [misc-include-cleaner] 48 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | #endif /home/runner/work/graphia/graphia/source/app/main.cpp:52:1: warning: included header fstream is not used directly [misc-include-cleaner] 52 | #include | ^~~~~~~~~~~~~~~~~~ 53 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:54:1: warning: included header memory is not used directly [misc-include-cleaner] 54 | #include | ^~~~~~~~~~~~~~~~~ 55 | /home/runner/work/graphia/graphia/source/app/main.cpp:80:1: warning: included header crashhandler.h is not used directly [misc-include-cleaner] 80 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | #include /home/runner/work/graphia/graphia/source/app/main.cpp:81:1: warning: included header register.h is not used directly [misc-include-cleaner] 81 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 | /home/runner/work/graphia/graphia/source/app/main.cpp:91:8: warning: no header providing "qEnvironmentVariableIsSet" is directly included [misc-include-cleaner] 46 | if(qEnvironmentVariableIsSet("APPIMAGE")) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:92:16: warning: no header providing "qgetenv" is directly included [misc-include-cleaner] 46 | return qgetenv("APPIMAGE"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:100:51: warning: no header providing "QT_CONFIG" is directly included [misc-include-cleaner] 46 | #if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) && QT_CONFIG(process) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:101:34: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 46 | auto dotDesktopFileContent = QStringLiteral( | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:117:32: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | auto applicationsDirname = QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:117:65: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | auto applicationsDirname = QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:118:27: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | auto genericDirname = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:118:60: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | auto genericDirname = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:125:31: warning: no header providing "QDir" is directly included [misc-include-cleaner] 46 | auto dotDesktopFilename = QDir(applicationsDirname) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:126:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | .filePath(u"%1.desktop"_s.arg(Application::name())); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:127:27: warning: no header providing "QFile" is directly included [misc-include-cleaner] 46 | auto dotDesktopFile = QFile(dotDesktopFilename); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:129:25: warning: no header providing "QDir" is directly included [misc-include-cleaner] 46 | auto iconsDirname = QDir(genericDirname).filePath(u"icons"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:129:63: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto iconsDirname = QDir(genericDirname).filePath(u"icons"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:130:21: warning: no header providing "QDir" is directly included [misc-include-cleaner] 46 | auto iconsDir = QDir(iconsDirname); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:131:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto iconFilename = iconsDir.filePath(u"%1.svg"_s.arg(Application::name())); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:132:28: warning: no header providing "QFileDevice" is directly included [misc-include-cleaner] 46 | auto iconPermissions = QFileDevice::ReadOwner|QFileDevice::WriteOwner| | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:132:51: warning: no header providing "QFileDevice" is directly included [misc-include-cleaner] 46 | auto iconPermissions = QFileDevice::ReadOwner|QFileDevice::WriteOwner| | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:133:9: warning: no header providing "QFileDevice" is directly included [misc-include-cleaner] 46 | QFileDevice::ReadGroup|QFileDevice::WriteGroup|QFileDevice::ReadOther; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:133:32: warning: no header providing "QFileDevice" is directly included [misc-include-cleaner] 46 | QFileDevice::ReadGroup|QFileDevice::WriteGroup|QFileDevice::ReadOther; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:133:56: warning: no header providing "QFileDevice" is directly included [misc-include-cleaner] 46 | QFileDevice::ReadGroup|QFileDevice::WriteGroup|QFileDevice::ReadOther; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:135:29: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 46 | auto xdgMimeArguments = QStringList | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:137:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u"default"_s, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:138:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u"%1.desktop"_s.arg(Application::name()), | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:139:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u"x-scheme-handler/%1"_s.arg(Application::nativeExtension()) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:143:29: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 46 | dotDesktopFile.open(QIODevice::WriteOnly) && dotDesktopFile.write(dotDesktopFileContent.toUtf8()) >= 0 && | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:144:10: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 46 | (QFileInfo::exists(iconFilename) || | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:145:14: warning: no header providing "QFile" is directly included [misc-include-cleaner] 46 | (QFile::copy(u":/icon/Icon.svg"_s, iconFilename) && | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:145:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | (QFile::copy(u":/icon/Icon.svg"_s, iconFilename) && | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:146:13: warning: no header providing "QFile" is directly included [misc-include-cleaner] 46 | QFile::setPermissions(iconFilename, iconPermissions))) && | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:147:9: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 46 | QProcess::startDetached(u"xdg-mime"_s, xdgMimeArguments)) || false; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:147:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | QProcess::startDetached(u"xdg-mime"_s, xdgMimeArguments)) || false; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:156:5: warning: no header providing "QNetworkProxy" is directly included [misc-include-cleaner] 46 | QNetworkProxy::ProxyType type = QNetworkProxy::DefaultProxy; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:156:37: warning: no header providing "QNetworkProxy" is directly included [misc-include-cleaner] 46 | QNetworkProxy::ProxyType type = QNetworkProxy::DefaultProxy; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:157:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto typePref = u::pref(u"proxy/type"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:159:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(typePref == u"http"_s) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:160:16: warning: no header providing "QNetworkProxy" is directly included [misc-include-cleaner] 46 | type = QNetworkProxy::HttpProxy; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:161:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | else if(typePref == u"socks5"_s) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:162:16: warning: no header providing "QNetworkProxy" is directly included [misc-include-cleaner] 46 | type = QNetworkProxy::Socks5Proxy; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:164:5: warning: no header providing "QNetworkProxy" is directly included [misc-include-cleaner] 46 | QNetworkProxy proxy; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:167:16: warning: no header providing "QNetworkProxy" is directly included [misc-include-cleaner] 46 | if(type != QNetworkProxy::DefaultProxy) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:169:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | proxy.setHostName(u::pref(u"proxy/host"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:170:35: warning: no header providing "quint16" is directly included [misc-include-cleaner] 46 | proxy.setPort(static_cast(u::pref(u"proxy/port"_s).toUInt())); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:170:65: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | proxy.setPort(static_cast(u::pref(u"proxy/port"_s).toUInt())); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:171:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | proxy.setUser(u::pref(u"proxy/username"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:172:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | proxy.setPassword(u::pref(u"proxy/password"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:175:5: warning: no header providing "QNetworkProxy" is directly included [misc-include-cleaner] 46 | QNetworkProxy::setApplicationProxy(proxy); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:183:33: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 46 | u::setCurrentThreadName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:186:56: warning: no header providing "Qt::AA_UseDesktopOpenGL" is directly included [misc-include-cleaner] 46 | SharedTools::QtSingleApplication::setAttribute(Qt::AA_UseDesktopOpenGL); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:187:56: warning: no header providing "Qt::AA_ShareOpenGLContexts" is directly included [misc-include-cleaner] 46 | SharedTools::QtSingleApplication::setAttribute(Qt::AA_ShareOpenGLContexts); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:190:5: warning: no header providing "QQuickWindow" is directly included [misc-include-cleaner] 46 | QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:190:34: warning: no header providing "QSGRendererInterface" is directly included [misc-include-cleaner] 46 | QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:191:5: warning: no header providing "QQuickWindow" is directly included [misc-include-cleaner] 46 | QQuickWindow::setDefaultAlphaBuffer(true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:195:23: warning: no header providing "QtWebEngineQuick::initialize" is directly included [misc-include-cleaner] 46 | QtWebEngineQuick::initialize(); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:198:42: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 46 | SharedTools::QtSingleApplication app(QStringLiteral(PRODUCT_NAME), argc, argv); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:200:28: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | Application::setAppDir(QCoreApplication::applicationDirPath()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:204:28: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | if(app.sendMessage(QCoreApplication::arguments().join(u"\n"_s))) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:204:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(app.sendMessage(QCoreApplication::arguments().join(u"\n"_s))) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:209:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(&app, &SharedTools::QtSingleApplication::applicationStateChanged, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:213:37: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 46 | app.setActivationWindow(QApplication::focusWindow()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:216:5: warning: no header providing "QCommandLineParser" is directly included [misc-include-cleaner] 46 | QCommandLineParser commandLineParser; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:218:51: warning: no header providing "QCommandLineParser" is directly included [misc-include-cleaner] 46 | commandLineParser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:222:31: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | {{"u", "dontUpdate"}, QObject::tr("Don't update now, but remind later.")}, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:223:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | {{"m", "startMaximised"}, QObject::tr("Put the application window in maximised state.")}, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:224:32: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | {{"w", "skipWelcome"}, QObject::tr("Don't show the welcome screen on first start.")}, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:225:31: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | {{"p", "parameters"}, QObject::tr("Run in headless mode, using parameters from ."), "file"}, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:228:31: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | commandLineParser.process(QCoreApplication::arguments()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:230:5: warning: no header providing "Q_INIT_RESOURCE" is directly included [misc-include-cleaner] 46 | Q_INIT_RESOURCE(update_keys); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:232:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto dontUpdate = commandLineParser.isSet(u"dontUpdate"_s) || | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:233:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | commandLineParser.isSet(u"parameters"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:237:9: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 46 | QStringList restartArguments = QCoreApplication::arguments(); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:237:40: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QStringList restartArguments = QCoreApplication::arguments(); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:247:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(commandLineParser.isSet(u"startMaximised"_s)) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:248:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::setPref(u"window/maximised"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:250:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(commandLineParser.isSet(u"skipWelcome"_s) && !u::prefExists(u"tracking/permission"_s)) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:250:90: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(commandLineParser.isSet(u"skipWelcome"_s) && !u::prefExists(u"tracking/permission"_s)) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:251:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::setPref(u"tracking/permission"_s, u"anonymous"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:251:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::setPref(u"tracking/permission"_s, u"anonymous"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:253:5: warning: no header providing "QGuiApplication" is directly included [misc-include-cleaner] 46 | QGuiApplication::styleHints()->setMousePressAndHoldInterval(500); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:255:5: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 46 | QIcon mainIcon; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:256:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | mainIcon.addFile(u":/icon/Icon512x512.png"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:257:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | mainIcon.addFile(u":/icon/Icon256x256.png"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:258:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | mainIcon.addFile(u":/icon/Icon128x128.png"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:259:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | mainIcon.addFile(u":/icon/Icon64x64.png"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:260:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | mainIcon.addFile(u":/icon/Icon32x32.png"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:261:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | mainIcon.addFile(u":/icon/Icon16x16.png"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:262:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 46 | QApplication::setWindowIcon(mainIcon); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:264:5: warning: no header providing "QIcon" is directly included [misc-include-cleaner] 46 | QIcon::setThemeName(u"Tango"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:264:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | QIcon::setThemeName(u"Tango"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:268:8: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 46 | if(qEnvironmentVariableIntValue("OPENGL_DEBUG") > 0) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:269:9: warning: no header providing "qputenv" is directly included [misc-include-cleaner] 46 | qputenv("QSG_OPENGL_DEBUG", "1"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:278:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | vendor.replace(u" "_s, u"+"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:278:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | vendor.replace(u" "_s, u"+"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:279:107: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | const QString driversUrl = uR"(https://www.google.com/search?q=%1+video+driver+download&btnI)"_s.arg(vendor); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:280:23: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | message = QObject::tr("The installed version of OpenGL is insufficient to run %1. " | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:285:23: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | message = QObject::tr("OpenGL is not available. %1 will not run.").arg(Application::name()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:287:9: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 46 | QMessageBox messageBox(QMessageBox::Critical, QObject::tr("OpenGL support"), message, QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:287:32: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 46 | QMessageBox messageBox(QMessageBox::Critical, QObject::tr("OpenGL support"), message, QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:287:55: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QMessageBox messageBox(QMessageBox::Critical, QObject::tr("OpenGL support"), message, QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:287:95: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 46 | QMessageBox messageBox(QMessageBox::Critical, QObject::tr("OpenGL support"), message, QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:289:38: warning: no header providing "Qt::RichText" is directly included [misc-include-cleaner] 46 | messageBox.setTextFormat(Qt::RichText); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:297:5: warning: no header providing "qRegisterMetaType" is directly included [misc-include-cleaner] 46 | qRegisterMetaType("size_t"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:297:23: warning: no header providing "size_t" is directly included [misc-include-cleaner] 46 | qRegisterMetaType("size_t"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:304:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(commandLineParser.isSet(u"parameters"_s)) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:308:72: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto parametersFilename = commandLineParser.value(u"parameters"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:311:9: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 46 | QTimer::singleShot(0, &headless, &Headless::run); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:312:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(&headless, &Headless::done, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:313:13: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QCoreApplication::instance(), &QCoreApplication::quit); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:313:44: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QCoreApplication::instance(), &QCoreApplication::quit); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:314:9: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:314:26: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QObject::connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:314:57: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QObject::connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:317:16: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | return QCoreApplication::exec(); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:320:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/defaultNodeColor"_s, "#0000FF"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:321:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/defaultEdgeColor"_s, "#FFFFFF"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:322:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/multiElementColor"_s, "#FF0000"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:323:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/backgroundColor"_s, "#C0C0C0"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:324:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/highlightColor"_s, "#FFFFFF"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:326:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/defaultNormalNodeSize"_s, 0.333); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:327:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/defaultNormalEdgeSize"_s, 0.25); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:329:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/showNodeText"_s, QVariant::fromValue(static_cast(TextState::Selected))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:329:65: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/showNodeText"_s, QVariant::fromValue(static_cast(TextState::Selected))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:330:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/showEdgeText"_s, QVariant::fromValue(static_cast(TextState::Selected))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:330:65: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/showEdgeText"_s, QVariant::fromValue(static_cast(TextState::Selected))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:331:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/textFont"_s, SharedTools::QtSingleApplication::font().family()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:332:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/textSize"_s, 24.0f); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:333:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/edgeVisualType"_s, QVariant::fromValue(static_cast(EdgeVisualType::Cylinder))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:333:65: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/edgeVisualType"_s, QVariant::fromValue(static_cast(EdgeVisualType::Cylinder))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:334:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/textAlignment"_s, QVariant::fromValue(static_cast(TextAlignment::Right))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:334:65: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/textAlignment"_s, QVariant::fromValue(static_cast(TextAlignment::Right))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:335:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/showMultiElementIndicators"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:336:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/showEdges"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:337:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/savedGradients"_s, Defaults::GRADIENT_PRESETS); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:338:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/defaultGradient"_s, Defaults::GRADIENT); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:339:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/savedPalettes"_s, Defaults::PALETTE_PRESETS); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:340:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/defaultPalette"_s, Defaults::PALETTE); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:342:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/projection"_s, QVariant::fromValue(static_cast(Projection::Perspective))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:342:65: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/projection"_s, QVariant::fromValue(static_cast(Projection::Perspective))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:342:102: warning: no header providing "Projection" is directly included [misc-include-cleaner] 20 | u::definePref(u"visuals/projection"_s, QVariant::fromValue(static_cast(Projection::Perspective))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:342:114: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 20 | u::definePref(u"visuals/projection"_s, QVariant::fromValue(static_cast(Projection::Perspective))); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:344:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/minimumComponentRadius"_s, 2.0); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:345:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/transitionTime"_s, 1.0); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:347:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"visuals/disableMultisampling"_s, false); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:349:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/maxUndoLevels"_s, 25); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:351:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/showGraphMetrics"_s, false); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:352:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/showLayoutSettings"_s, false); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:354:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/focusFoundNodes"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:355:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/focusFoundComponents"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:356:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/stayInComponentMode"_s, false); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:358:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/disableHubbles"_s, false); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:360:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/hasSeenTutorial"_s, false); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:362:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"misc/autoBackgroundUpdateCheck"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:364:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"find/findByAttributeSortLexically"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:366:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"screenshot/width"_s, 1920); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:367:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"screenshot/height"_s, 1080); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:368:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"screenshot/path"_s, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:369:9: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 46 | QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::PicturesLocation)).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:369:29: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::PicturesLocation)).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:369:62: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::PicturesLocation)).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:371:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"servers/redirects"_s, "https://redirects.graphia.app"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:372:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"servers/updates"_s, "https://updates.graphia.app"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:373:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"servers/crashreports"_s, "https://crashreports.graphia.app"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:374:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"servers/tracking"_s, "https://tracking.graphia.app"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:376:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"proxy/type"_s, "disabled"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:378:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::definePref(u"system/uiTheme"_s, "Default"); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:384:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(&preferencesWatcher, &PreferencesWatcher::preferenceChanged, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:385:38: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | [](const QString& key, const QVariant&) { if(key.startsWith(u"proxy"_s)) configureProxy(); }); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:385:77: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | [](const QString& key, const QVariant&) { if(key.startsWith(u"proxy"_s)) configureProxy(); }); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:389:5: warning: no header providing "QQuickStyle" is directly included [misc-include-cleaner] 46 | QQuickStyle::setStyle(u::pref(u"system/uiTheme"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:389:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | QQuickStyle::setStyle(u::pref(u"system/uiTheme"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:397:5: warning: no header providing "QQmlApplicationEngine" is directly included [misc-include-cleaner] 46 | QQmlApplicationEngine engine; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:398:33: warning: no header providing "QQmlFileSelector" is directly included [misc-include-cleaner] 46 | auto* qmlFileSelector = new QQmlFileSelector(&engine); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:403:5: warning: no header providing "qInstallMessageHandler" is directly included [misc-include-cleaner] 46 | qInstallMessageHandler([](QtMsgType, const QMessageLogContext&, const QString& msg) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:403:31: warning: no header providing "QtMsgType" is directly included [misc-include-cleaner] 46 | qInstallMessageHandler([](QtMsgType, const QMessageLogContext&, const QString& msg) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:403:48: warning: no header providing "QMessageLogContext" is directly included [misc-include-cleaner] 46 | qInstallMessageHandler([](QtMsgType, const QMessageLogContext&, const QString& msg) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:405:23: warning: no header providing "fprintf" is directly included [misc-include-cleaner] 46 | const int r = fprintf(stderr, "%s\n", msg.toLocal8Bit().constData()); Q_ASSERT(r >= 0); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:405:31: warning: no header providing "stderr" is directly included [misc-include-cleaner] 46 | const int r = fprintf(stderr, "%s\n", msg.toLocal8Bit().constData()); Q_ASSERT(r >= 0); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:405:79: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 46 | const int r = fprintf(stderr, "%s\n", msg.toLocal8Bit().constData()); Q_ASSERT(r >= 0); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:406:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | qmlError += u"%1\n"_s.arg(msg); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:409:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | engine.addImportPath(u"qrc:///qml"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:410:17: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 46 | engine.load(QUrl(u"qrc:///qml/main.qml"_s)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:410:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | engine.load(QUrl(u"qrc:///qml/main.qml"_s)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:412:5: warning: no header providing "qInstallMessageHandler" is directly included [misc-include-cleaner] 46 | qInstallMessageHandler(nullptr); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:416:9: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 46 | QMessageBox::critical(nullptr, QObject::tr("Error"), | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:416:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QMessageBox::critical(nullptr, QObject::tr("Error"), | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:417:13: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::tr("The user interface failed to load:\n\n%1").arg(qmlError), | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:418:13: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 46 | QMessageBox::Close); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:423:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject* mainWindow = rootObjects.first(); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:424:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(&app, &SharedTools::QtSingleApplication::messageReceived, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:425:54: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | mainWindow, [mainWindow](const QString& message, QObject*) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:427:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto arguments = message.split(u"\n"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:430:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 46 | QMetaObject::invokeMethod(mainWindow, "processArguments", Q_ARG(QVariant, arguments)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:430:67: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 46 | QMetaObject::invokeMethod(mainWindow, "processArguments", Q_ARG(QVariant, arguments)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:430:73: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | QMetaObject::invokeMethod(mainWindow, "processArguments", Q_ARG(QVariant, arguments)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:435:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(&macOsfileOpenEventFilter, &MacOsFileOpenEventFilter::externalOpen, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:438:9: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 46 | QMetaObject::invokeMethod(mainWindow, "processArguments", Q_ARG(QVariant, QStringList{argument})); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:438:67: warning: no header providing "Q_ARG" is directly included [misc-include-cleaner] 46 | QMetaObject::invokeMethod(mainWindow, "processArguments", Q_ARG(QVariant, QStringList{argument})); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:438:73: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | QMetaObject::invokeMethod(mainWindow, "processArguments", Q_ARG(QVariant, QStringList{argument})); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:438:83: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 46 | QMetaObject::invokeMethod(mainWindow, "processArguments", Q_ARG(QVariant, QStringList{argument})); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:442:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(&engine, &QQmlApplicationEngine::exit, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:442:32: warning: no header providing "QQmlApplicationEngine" is directly included [misc-include-cleaner] 46 | QObject::connect(&engine, &QQmlApplicationEngine::exit, | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:448:5: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 46 | QTimer keepAliveTimer; | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:449:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(&keepAliveTimer, &QTimer::timeout, &watchDog, &Watchdog::reset); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:449:40: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 46 | QObject::connect(&keepAliveTimer, &QTimer::timeout, &watchDog, &Watchdog::reset); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:450:27: warning: no header providing "std::chrono_literals::operator""s" is directly included [misc-include-cleaner] 46 | keepAliveTimer.start(1s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:495:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 46 | Q_UNUSED(consoleOutputFiles); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:498:21: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | auto exitCode = QCoreApplication::exec(); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:506:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QCoreApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:506:53: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | QCoreApplication::setOrganizationName(u"Graphia"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:507:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:507:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | QCoreApplication::setOrganizationDomain(u"graphia.app"_s); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:508:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:508:42: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 46 | QCoreApplication::setApplicationName(QStringLiteral(PRODUCT_NAME)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:509:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 46 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:509:45: warning: no header providing "QStringLiteral" is directly included [misc-include-cleaner] 46 | QCoreApplication::setApplicationVersion(QStringLiteral(VERSION)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:514:9: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:514:42: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)); | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:534:5: warning: no header providing "QT_CONFIG" is directly included [misc-include-cleaner] 46 | #if QT_CONFIG(process) | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:536:17: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 46 | if(!QProcess::startDetached(exeName, {})) | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: warning: 'I' is confusable with 'l' [misc-confusable-identifiers] 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: note: other declaration found here 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 30546 warnings generated. [121/195] /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:26:36: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | 26 | BoundingBox2D::BoundingBox2D(const QVector2D& min, const QVector2D& max) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:26:58: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | 26 | BoundingBox2D::BoundingBox2D(const QVector2D& min, const QVector2D& max) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:30:41: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | 26 | BoundingBox2D::BoundingBox2D(const QVector2D& min, const QVector2D& max) : 27 | _min(min), _max(max) 28 | {} 29 | 30 | BoundingBox2D::BoundingBox2D(const std::vector& points) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:30:48: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | 26 | BoundingBox2D::BoundingBox2D(const QVector2D& min, const QVector2D& max) : 27 | _min(min), _max(max) 28 | {} 29 | 30 | BoundingBox2D::BoundingBox2D(const std::vector& points) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:42:31: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | void BoundingBox2D::set(const QVector2D& min, const QVector2D& max) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:42:53: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | void BoundingBox2D::set(const QVector2D& min, const QVector2D& max) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:48:8: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | static QVector2D minQVector2D(const QVector2D& a, const QVector2D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:48:37: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | static QVector2D minQVector2D(const QVector2D& a, const QVector2D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:48:57: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | static QVector2D minQVector2D(const QVector2D& a, const QVector2D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:50:5: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | QVector2D v; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:58:8: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | static QVector2D maxQVector2D(const QVector2D& a, const QVector2D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:58:37: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | static QVector2D maxQVector2D(const QVector2D& a, const QVector2D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:58:57: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | static QVector2D maxQVector2D(const QVector2D& a, const QVector2D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:60:5: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | QVector2D v; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:68:43: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | void BoundingBox2D::expandToInclude(const QVector2D& point) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:80:41: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | bool BoundingBox2D::containsPoint(const QVector2D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:86:40: warning: no header providing "Line2D" is directly included [misc-include-cleaner] 20 | bool BoundingBox2D::containsLine(const Line2D& line) const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:91:1: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 25 | QVector2D BoundingBox2D::centre() const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:105:36: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | BoundingBox3D::BoundingBox3D(const QVector3D& min, const QVector3D& max) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:105:58: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | BoundingBox3D::BoundingBox3D(const QVector3D& min, const QVector3D& max) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:109:41: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | BoundingBox3D::BoundingBox3D(const std::vector& points) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:109:48: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | BoundingBox3D::BoundingBox3D(const std::vector& points) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:123:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | const QVector3D newMin = ((_min - centre()) * s) + centre(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:124:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | const QVector3D newMax = ((_max - centre()) * s) + centre(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:137:31: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | void BoundingBox3D::set(const QVector3D& min, const QVector3D& max) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:137:53: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | void BoundingBox3D::set(const QVector3D& min, const QVector3D& max) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:143:8: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | static QVector3D minQVector3D(const QVector3D& a, const QVector3D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:143:37: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | static QVector3D minQVector3D(const QVector3D& a, const QVector3D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:143:57: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | static QVector3D minQVector3D(const QVector3D& a, const QVector3D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:145:5: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D v; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:154:8: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | static QVector3D maxQVector3D(const QVector3D& a, const QVector3D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:154:37: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | static QVector3D maxQVector3D(const QVector3D& a, const QVector3D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:154:57: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | static QVector3D maxQVector3D(const QVector3D& a, const QVector3D& b) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:156:5: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D v; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:165:43: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | void BoundingBox3D::expandToInclude(const QVector3D& point) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:177:41: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | bool BoundingBox3D::containsPoint(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:184:40: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 20 | bool BoundingBox3D::containsLine(const Line3D& line) const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:194:16: warning: no header providing "std::array" is directly included [misc-include-cleaner] 23 | const std::array bounds{{this->min(), this->max()}}; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:194:22: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | const std::array bounds{{this->min(), this->max()}}; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:196:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | tmin = (bounds.at(static_cast( ray.sign().at(0))).x() - ray.origin().x()) * ray.invDir().x(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:197:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | tmax = (bounds.at(static_cast(1 - ray.sign().at(0))).x() - ray.origin().x()) * ray.invDir().x(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:198:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | tymin = (bounds.at(static_cast( ray.sign().at(1))).y() - ray.origin().y()) * ray.invDir().y(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:199:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | tymax = (bounds.at(static_cast(1 - ray.sign().at(1))).y() - ray.origin().y()) * ray.invDir().y(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:210:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | tzmin = (bounds.at(static_cast( ray.sign().at(2))).z() - ray.origin().z()) * ray.invDir().z(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:211:36: warning: no header providing "size_t" is directly included [misc-include-cleaner] 24 | tzmax = (bounds.at(static_cast(1 - ray.sign().at(2))).z() - ray.origin().z()) * ray.invDir().z(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:230:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D BoundingBox3D::centre() const | ^ 7629 warnings generated. [122/195] /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:27:32: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | #include 25 | #include 26 | 27 | BoundingSphere::BoundingSphere(QVector3D centre, float radius) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:32:42: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | #include 25 | #include 26 | 27 | BoundingSphere::BoundingSphere(QVector3D centre, float radius) : 28 | _centre(centre), _radius(radius) 29 | { 30 | } 31 | 32 | static float maxDistanceFromCentre(const QVector3D& centre, const std::vector& points) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:32:79: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | #include 25 | #include 26 | 27 | BoundingSphere::BoundingSphere(QVector3D centre, float radius) : 28 | _centre(centre), _radius(radius) 29 | { 30 | } 31 | 32 | static float maxDistanceFromCentre(const QVector3D& centre, const std::vector& points) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:46:50: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | BoundingSphere::BoundingSphere(const std::vector& points) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:49:59: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | _centre(std::accumulate(points.begin(), points.end(), QVector3D(), | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:56:32: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | BoundingSphere::BoundingSphere(QVector3D centre, const std::vector& points) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:56:68: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | BoundingSphere::BoundingSphere(QVector3D centre, const std::vector& points) : | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:70:26: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | void BoundingSphere::set(QVector3D centre, float radius) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:76:44: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | void BoundingSphere::expandToInclude(const QVector3D& point) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:79:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] 23 | _radius = std::max(d, _radius); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:85:20: warning: no header providing "std::max" is directly included [misc-include-cleaner] 23 | _radius = std::max(d, _radius); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:88:42: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | bool BoundingSphere::containsPoint(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:94:41: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 21 | bool BoundingSphere::containsLine(const Line3D& line) const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:105:13: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | std::vector BoundingSphere::rayIntersection(const Ray& ray) const | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:107:17: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | std::vector result; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:108:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | const QVector3D& origin = ray.origin(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:109:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | const QVector3D& dir = ray.dir(); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:110:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | const QVector3D oc = _centre - origin; | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:112:8: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | if(QVector3D::dotProduct(oc, dir) < 0.0f) | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:121:19: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | const QVector3D centreProjectedOnRay = ray.closestPointTo(_centre); | ^ /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:131:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 24 | const QVector3D centreProjectedOnRay = ray.closestPointTo(_centre); | ^ 7614 warnings generated. [123/195] /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:23:38: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:23:64: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:26:18: warning: no header providing "Plane" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : 24 | _centreLine(centreLine) 25 | { 26 | _nearPlane = Plane(_centreLine.start(), -_centreLine.dir()); | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:27:17: warning: no header providing "Plane" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : 24 | _centreLine(centreLine) 25 | { 26 | _nearPlane = Plane(_centreLine.start(), -_centreLine.dir()); 27 | _farPlane = Plane(_centreLine.end(), _centreLine.dir()); | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:33:42: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : 24 | _centreLine(centreLine) 25 | { 26 | _nearPlane = Plane(_centreLine.start(), -_centreLine.dir()); 27 | _farPlane = Plane(_centreLine.end(), _centreLine.dir()); 28 | 29 | _nearRadius = (_centreLine.start() - surfaceLine.start()).length(); 30 | _farRadius = (_centreLine.end() - surfaceLine.end()).length(); 31 | } 32 | 33 | bool ConicalFrustum::containsPoint(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:35:42: warning: no header providing "Plane" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : 24 | _centreLine(centreLine) 25 | { 26 | _nearPlane = Plane(_centreLine.start(), -_centreLine.dir()); 27 | _farPlane = Plane(_centreLine.end(), _centreLine.dir()); 28 | 29 | _nearRadius = (_centreLine.start() - surfaceLine.start()).length(); 30 | _farRadius = (_centreLine.end() - surfaceLine.end()).length(); 31 | } 32 | 33 | bool ConicalFrustum::containsPoint(const QVector3D& point) const 34 | { 35 | if(_nearPlane.sideForPoint(point) == Plane::Side::Front || | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:35:55: warning: no header providing "Plane::Side::Front" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : 24 | _centreLine(centreLine) 25 | { 26 | _nearPlane = Plane(_centreLine.start(), -_centreLine.dir()); 27 | _farPlane = Plane(_centreLine.end(), _centreLine.dir()); 28 | 29 | _nearRadius = (_centreLine.start() - surfaceLine.start()).length(); 30 | _farRadius = (_centreLine.end() - surfaceLine.end()).length(); 31 | } 32 | 33 | bool ConicalFrustum::containsPoint(const QVector3D& point) const 34 | { 35 | if(_nearPlane.sideForPoint(point) == Plane::Side::Front || | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:36:41: warning: no header providing "Plane" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : 24 | _centreLine(centreLine) 25 | { 26 | _nearPlane = Plane(_centreLine.start(), -_centreLine.dir()); 27 | _farPlane = Plane(_centreLine.end(), _centreLine.dir()); 28 | 29 | _nearRadius = (_centreLine.start() - surfaceLine.start()).length(); 30 | _farRadius = (_centreLine.end() - surfaceLine.end()).length(); 31 | } 32 | 33 | bool ConicalFrustum::containsPoint(const QVector3D& point) const 34 | { 35 | if(_nearPlane.sideForPoint(point) == Plane::Side::Front || 36 | _farPlane.sideForPoint(point) == Plane::Side::Front) | ^ /home/runner/work/graphia/graphia/source/app/maths/conicalfrustum.cpp:36:54: warning: no header providing "Plane::Side::Front" is directly included [misc-include-cleaner] 21 | #include "shared/utils/utils.h" 22 | 23 | ConicalFrustum::ConicalFrustum(const Line3D& centreLine, const Line3D& surfaceLine) : 24 | _centreLine(centreLine) 25 | { 26 | _nearPlane = Plane(_centreLine.start(), -_centreLine.dir()); 27 | _farPlane = Plane(_centreLine.end(), _centreLine.dir()); 28 | 29 | _nearRadius = (_centreLine.start() - surfaceLine.start()).length(); 30 | _farRadius = (_centreLine.end() - surfaceLine.end()).length(); 31 | } 32 | 33 | bool ConicalFrustum::containsPoint(const QVector3D& point) const 34 | { 35 | if(_nearPlane.sideForPoint(point) == Plane::Side::Front || 36 | _farPlane.sideForPoint(point) == Plane::Side::Front) | ^ 7586 warnings generated. [124/195] /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:23:24: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:23:45: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:23:66: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:23:87: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:25:18: warning: no header providing "Plane" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:26:18: warning: no header providing "Plane" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); 26 | _planes[1] = Plane(line1.start(), line2.start(), line1.end()); | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:27:18: warning: no header providing "Plane" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); 26 | _planes[1] = Plane(line1.start(), line2.start(), line1.end()); 27 | _planes[2] = Plane(line2.start(), line3.start(), line2.end()); | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:28:18: warning: no header providing "Plane" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); 26 | _planes[1] = Plane(line1.start(), line2.start(), line1.end()); 27 | _planes[2] = Plane(line2.start(), line3.start(), line2.end()); 28 | _planes[3] = Plane(line3.start(), line4.start(), line3.end()); | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:29:18: warning: no header providing "Plane" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); 26 | _planes[1] = Plane(line1.start(), line2.start(), line1.end()); 27 | _planes[2] = Plane(line2.start(), line3.start(), line2.end()); 28 | _planes[3] = Plane(line3.start(), line4.start(), line3.end()); 29 | _planes[4] = Plane(line4.start(), line1.start(), line4.end()); | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:30:18: warning: no header providing "Plane" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); 26 | _planes[1] = Plane(line1.start(), line2.start(), line1.end()); 27 | _planes[2] = Plane(line2.start(), line3.start(), line2.end()); 28 | _planes[3] = Plane(line3.start(), line4.start(), line3.end()); 29 | _planes[4] = Plane(line4.start(), line1.start(), line4.end()); 30 | _planes[5] = Plane(line2.end(), line3.end(), line1.end()); | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:32:19: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); 26 | _planes[1] = Plane(line1.start(), line2.start(), line1.end()); 27 | _planes[2] = Plane(line2.start(), line3.start(), line2.end()); 28 | _planes[3] = Plane(line3.start(), line4.start(), line3.end()); 29 | _planes[4] = Plane(line4.start(), line1.start(), line4.end()); 30 | _planes[5] = Plane(line2.end(), line3.end(), line1.end()); 31 | 32 | _centreLine = Line3D(0.5f * (line1.start() + line3.start()), | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:36:35: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 22 | 23 | Frustum::Frustum(const Line3D& line1, const Line3D& line2, const Line3D& line3, const Line3D& line4) 24 | { 25 | _planes[0] = Plane(line1.start(), line4.start(), line2.start()); 26 | _planes[1] = Plane(line1.start(), line2.start(), line1.end()); 27 | _planes[2] = Plane(line2.start(), line3.start(), line2.end()); 28 | _planes[3] = Plane(line3.start(), line4.start(), line3.end()); 29 | _planes[4] = Plane(line4.start(), line1.start(), line4.end()); 30 | _planes[5] = Plane(line2.end(), line3.end(), line1.end()); 31 | 32 | _centreLine = Line3D(0.5f * (line1.start() + line3.start()), 33 | 0.5f * (line1.end() + line3.end())); 34 | } 35 | 36 | bool Frustum::containsPoint(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:40:45: warning: no header providing "Plane" is directly included [misc-include-cleaner] 20 | return plane.sideForPoint(point) == Plane::Side::Back; | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:40:58: warning: no header providing "Plane::Side::Back" is directly included [misc-include-cleaner] 20 | return plane.sideForPoint(point) == Plane::Side::Back; | ^ /home/runner/work/graphia/graphia/source/app/maths/frustum.cpp:44:38: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 20 | bool BaseFrustum::containsLine(const Line3D& line) const | ^ 7595 warnings generated. [125/195] /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:21:1: warning: included header utility is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:23:20: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | #include 22 | 23 | Plane::Plane(const QVector3D& point, const QVector3D& normal) : | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:23:44: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | #include 22 | 23 | Plane::Plane(const QVector3D& point, const QVector3D& normal) : | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:34:20: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | #include 22 | 23 | Plane::Plane(const QVector3D& point, const QVector3D& normal) : 24 | _normal(normal) 25 | { 26 | const float negDistance = 27 | _normal.x() * point.x() + 28 | _normal.y() * point.y() + 29 | _normal.z() * point.z(); 30 | 31 | _distance = -negDistance; 32 | } 33 | 34 | Plane::Plane(const QVector3D& pointA, const QVector3D& pointB, const QVector3D& pointC) | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:34:45: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | #include 22 | 23 | Plane::Plane(const QVector3D& point, const QVector3D& normal) : 24 | _normal(normal) 25 | { 26 | const float negDistance = 27 | _normal.x() * point.x() + 28 | _normal.y() * point.y() + 29 | _normal.z() * point.z(); 30 | 31 | _distance = -negDistance; 32 | } 33 | 34 | Plane::Plane(const QVector3D& pointA, const QVector3D& pointB, const QVector3D& pointC) | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:34:70: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | #include 22 | 23 | Plane::Plane(const QVector3D& point, const QVector3D& normal) : 24 | _normal(normal) 25 | { 26 | const float negDistance = 27 | _normal.x() * point.x() + 28 | _normal.y() * point.y() + 29 | _normal.z() * point.z(); 30 | 31 | _distance = -negDistance; 32 | } 33 | 34 | Plane::Plane(const QVector3D& pointA, const QVector3D& pointB, const QVector3D& pointC) | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:36:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | #include 22 | 23 | Plane::Plane(const QVector3D& point, const QVector3D& normal) : 24 | _normal(normal) 25 | { 26 | const float negDistance = 27 | _normal.x() * point.x() + 28 | _normal.y() * point.y() + 29 | _normal.z() * point.z(); 30 | 31 | _distance = -negDistance; 32 | } 33 | 34 | Plane::Plane(const QVector3D& pointA, const QVector3D& pointB, const QVector3D& pointC) 35 | { 36 | const QVector3D a = pointB - pointA; | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:37:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | const QVector3D b = pointC - pointA; | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:39:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | _normal = QVector3D::crossProduct(a, b).normalized(); | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:40:18: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | _distance = -QVector3D::dotProduct(_normal, pointA); | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:43:39: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | Plane::Side Plane::sideForPoint(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:56:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | QVector3D Plane::rayIntersection(const Ray& ray) const | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:56:40: warning: no header providing "Ray" is directly included [misc-include-cleaner] 20 | QVector3D Plane::rayIntersection(const Ray& ray) const | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:58:23: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | const float o_n = QVector3D::dotProduct(ray.origin(), _normal); | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:59:23: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | const float d_n = QVector3D::dotProduct(ray.dir(), _normal); | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:65:36: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | float Plane::distanceToPoint(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:75:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | QVector3D Plane::project(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:75:32: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | QVector3D Plane::project(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/plane.cpp:77:16: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 21 | auto dot = QVector3D::dotProduct(point, _normal); | ^ 7596 warnings generated. [126/195] /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:21:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:21:37: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:23:21: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:27:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); 24 | return _origin + (_dir * t); 25 | } 26 | 27 | QVector3D Ray::closestPointTo(const Ray& other) const | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:29:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); 24 | return _origin + (_dir * t); 25 | } 26 | 27 | QVector3D Ray::closestPointTo(const Ray& other) const 28 | { 29 | const QVector3D u = _origin - other._origin; | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:30:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); 24 | return _origin + (_dir * t); 25 | } 26 | 27 | QVector3D Ray::closestPointTo(const Ray& other) const 28 | { 29 | const QVector3D u = _origin - other._origin; 30 | const QVector3D v = other._dir; | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:31:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); 24 | return _origin + (_dir * t); 25 | } 26 | 27 | QVector3D Ray::closestPointTo(const Ray& other) const 28 | { 29 | const QVector3D u = _origin - other._origin; 30 | const QVector3D v = other._dir; 31 | const QVector3D w = _dir; | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:33:21: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); 24 | return _origin + (_dir * t); 25 | } 26 | 27 | QVector3D Ray::closestPointTo(const Ray& other) const 28 | { 29 | const QVector3D u = _origin - other._origin; 30 | const QVector3D v = other._dir; 31 | const QVector3D w = _dir; 32 | 33 | const float a = QVector3D::dotProduct(u, v); | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:34:21: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); 24 | return _origin + (_dir * t); 25 | } 26 | 27 | QVector3D Ray::closestPointTo(const Ray& other) const 28 | { 29 | const QVector3D u = _origin - other._origin; 30 | const QVector3D v = other._dir; 31 | const QVector3D w = _dir; 32 | 33 | const float a = QVector3D::dotProduct(u, v); 34 | const float b = QVector3D::dotProduct(v, w); | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:35:21: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | 21 | QVector3D Ray::closestPointTo(const QVector3D& point) const 22 | { 23 | const float t = QVector3D::dotProduct(point - _origin, _dir); 24 | return _origin + (_dir * t); 25 | } 26 | 27 | QVector3D Ray::closestPointTo(const Ray& other) const 28 | { 29 | const QVector3D u = _origin - other._origin; 30 | const QVector3D v = other._dir; 31 | const QVector3D w = _dir; 32 | 33 | const float a = QVector3D::dotProduct(u, v); 34 | const float b = QVector3D::dotProduct(v, w); 35 | const float c = QVector3D::dotProduct(v, v); | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:36:21: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | const float d = QVector3D::dotProduct(u, w); | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:37:21: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | const float e = QVector3D::dotProduct(w, w); | ^ /home/runner/work/graphia/graphia/source/app/maths/ray.cpp:43:29: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 20 | float Ray::distanceTo(const QVector3D& point) const | ^ 7590 warnings generated. [127/195] /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:25:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 20 | 21 | PreferencesWatcher::Watchers PreferencesWatcher::_watchers; 22 | 23 | PreferencesWatcher::PreferencesWatcher() 24 | { 25 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:25:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 20 | 21 | PreferencesWatcher::Watchers PreferencesWatcher::_watchers; 22 | 23 | PreferencesWatcher::PreferencesWatcher() 24 | { 25 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:31:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 20 | 21 | PreferencesWatcher::Watchers PreferencesWatcher::_watchers; 22 | 23 | PreferencesWatcher::PreferencesWatcher() 24 | { 25 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); 26 | PreferencesWatcher::_watchers._set.insert(this); 27 | } 28 | 29 | PreferencesWatcher::~PreferencesWatcher() 30 | { 31 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:31:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 20 | 21 | PreferencesWatcher::Watchers PreferencesWatcher::_watchers; 22 | 23 | PreferencesWatcher::PreferencesWatcher() 24 | { 25 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); 26 | PreferencesWatcher::_watchers._set.insert(this); 27 | } 28 | 29 | PreferencesWatcher::~PreferencesWatcher() 30 | { 31 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:35:40: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | 21 | PreferencesWatcher::Watchers PreferencesWatcher::_watchers; 22 | 23 | PreferencesWatcher::PreferencesWatcher() 24 | { 25 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); 26 | PreferencesWatcher::_watchers._set.insert(this); 27 | } 28 | 29 | PreferencesWatcher::~PreferencesWatcher() 30 | { 31 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); 32 | PreferencesWatcher::_watchers._set.erase(this); 33 | } 34 | 35 | void PreferencesWatcher::setPref(const QString& key, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:35:60: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 20 | 21 | PreferencesWatcher::Watchers PreferencesWatcher::_watchers; 22 | 23 | PreferencesWatcher::PreferencesWatcher() 24 | { 25 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); 26 | PreferencesWatcher::_watchers._set.insert(this); 27 | } 28 | 29 | PreferencesWatcher::~PreferencesWatcher() 30 | { 31 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); 32 | PreferencesWatcher::_watchers._set.erase(this); 33 | } 34 | 35 | void PreferencesWatcher::setPref(const QString& key, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:37:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 20 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:37:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 20 | const std::unique_lock lock(PreferencesWatcher::_watchers._mutex); | ^ /home/runner/work/graphia/graphia/source/app/preferenceswatcher.cpp:40:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 20 | emit watcher->preferenceChanged(key, value); | ^ 10630 warnings generated. [128/195] /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:25:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:26:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:30:32: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | QmlPreferences::QmlPreferences(QObject* parent) : | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:31:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | QmlPreferences::QmlPreferences(QObject* parent) : 31 | QObject(parent) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:33:25: warning: no header providing "PreferencesWatcher" is directly included [misc-include-cleaner] 23 | #include "shared/utils/static_block.h" 24 | 25 | #include 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | QmlPreferences::QmlPreferences(QObject* parent) : 31 | QObject(parent) 32 | { 33 | connect(&_watcher, &PreferencesWatcher::preferenceChanged, this, &QmlPreferences::onPreferenceChanged); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:50:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit sectionChanged(); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:54:57: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | template static void forEachProperty(const QObject* o, Fn fn) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:56:11: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 27 | const QMetaObject *mo = o->metaObject(); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:71:22: warning: no header providing "QMetaProperty" is directly included [misc-include-cleaner] 27 | [this](const QMetaProperty& property) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:77:17: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | QObject::connect(this, property.notifySignal(), this, slot); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:87:20: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | return u"%1/%2"_s.arg(_section, propertyName); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:90:1: warning: no header providing "QMetaProperty" is directly included [misc-include-cleaner] 27 | QMetaProperty QmlPreferences::propertyByName(const QString& propertyName) const | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:104:18: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 27 | static const QRegularExpression sepRegex(uR"(\/)"_s); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:104:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | static const QRegularExpression sepRegex(uR"(\/)"_s); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:115:1: warning: no header providing "QMetaProperty" is directly included [misc-include-cleaner] 27 | QMetaProperty QmlPreferences::propertyFrom(const QString& preferenceName) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:120:34: warning: no header providing "QMetaProperty" is directly included [misc-include-cleaner] 27 | void QmlPreferences::setProperty(QMetaProperty property, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:120:64: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 27 | void QmlPreferences::setProperty(QMetaProperty property, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:125:11: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 27 | const QVariant previousValue = property.read(this); | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:127:35: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 27 | if((previousValue != value && QMetaType::canConvert(value.metaType(), previousValue.metaType())) || | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:137:18: warning: no header providing "QMetaProperty" is directly included [misc-include-cleaner] 27 | [this](const QMetaProperty& property) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:143:68: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 27 | void QmlPreferences::onPreferenceChanged(const QString& key, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:151:5: warning: no header providing "QMetaProperty" is directly included [misc-include-cleaner] 27 | QMetaProperty changedProperty; | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:154:47: warning: no header providing "QMetaProperty" is directly included [misc-include-cleaner] 27 | [&metaMethodName, &changedProperty](const QMetaProperty& property) | ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:169:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 27 | qmlRegisterType( | ^ 11245 warnings generated. [129/195] /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:21:1: warning: included header interpolation.h is not used directly [misc-include-cleaner] 21 | #include "maths/interpolation.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:23:1: warning: included header QOpenGLShaderProgram is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:24:1: warning: included header QDebug is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:64:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D Camera::viewVector() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:66:13: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | return -QVector3D(viewMatrix().row(2)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:69:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D Camera::position() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:74:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D Camera::focus() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:79:1: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 25 | QQuaternion Camera::rotation() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:89:29: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | void Camera::setFocus(const QVector3D& focus) | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:107:32: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 25 | void Camera::setRotation(const QQuaternion& rotation) | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:146:1: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 25 | QMatrix4x4 Camera::viewMatrix() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:153:28: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | auto viewVector = -QVector3D(_viewMatrix.row(2)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:155:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | const QVector3D eye = _focus - (viewVector * _distance); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:164:1: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 25 | QMatrix4x4 Camera::projectionMatrix() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:169:40: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 25 | void Camera::setProjectionMatrix(const QMatrix4x4& projectionMatrix) | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:175:1: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 25 | QMatrix4x4 Camera::viewProjectionMatrix() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:186:45: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | bool Camera::unproject(int x, int y, int z, QVector3D& result) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:188:11: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 25 | const QMatrix4x4 A = projectionMatrix() * viewMatrix(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:191:11: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 25 | const QMatrix4x4 m = A.inverted(&invertable); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:197:5: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 25 | QVector4D normalisedCoordinates; | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:205:5: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 25 | QVector4D o = m * normalisedCoordinates; | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:238:1: warning: no header providing "Ray" is directly included [misc-include-cleaner] 22 | Ray Camera::rayForViewportCoordinates(int x, int y) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:240:11: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | const Line3D line = lineForViewportCoordinates(x, y); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:245:1: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | Line3D Camera::lineForViewportCoordinates(int x, int y) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:247:5: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D start; | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:248:5: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D end; | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:256:1: warning: no header providing "Frustum" is directly included [misc-include-cleaner] 21 | Frustum Camera::frustumForViewportCoordinates(int x1, int y1, int x2, int y2) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:283:11: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | const Line3D line1 = lineForViewportCoordinates(minX, minY); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:284:11: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | const Line3D line2 = lineForViewportCoordinates(maxX, minY); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:285:11: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | const Line3D line3 = lineForViewportCoordinates(maxX, maxY); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:286:11: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | const Line3D line4 = lineForViewportCoordinates(minX, maxY); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:291:1: warning: no header providing "ConicalFrustum" is directly included [misc-include-cleaner] 21 | ConicalFrustum Camera::conicalFrustumForViewportCoordinates(int x, int y, int radius) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:293:11: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | const Line3D centreLine = lineForViewportCoordinates(x, y); | ^ /home/runner/work/graphia/graphia/source/app/rendering/camera.cpp:294:11: warning: no header providing "Line3D" is directly included [misc-include-cleaner] 22 | const Line3D surfaceLine = lineForViewportCoordinates(x + radius, y); | ^ 18913 warnings generated. [130/195] /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:24:31: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] 20 | 21 | DoubleBufferedTexture::DoubleBufferedTexture() 22 | { 23 | resolveOpenGLFunctions(); 24 | glGenTextures(static_cast(_textures.size()), _textures.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:31:38: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] 20 | 21 | DoubleBufferedTexture::DoubleBufferedTexture() 22 | { 23 | resolveOpenGLFunctions(); 24 | glGenTextures(static_cast(_textures.size()), _textures.data()); 25 | } 26 | 27 | DoubleBufferedTexture::~DoubleBufferedTexture() 28 | { 29 | if(_textures[0] != 0) 30 | { 31 | glDeleteTextures(static_cast(_textures.size()), _textures.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:36:1: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 20 | GLuint DoubleBufferedTexture::front() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:41:1: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 20 | GLuint DoubleBufferedTexture::back() | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:43:10: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 20 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:43:27: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 20 | std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:52:1: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 20 | GLuint DoubleBufferedTexture::swap() | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:52:31: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 52 | GLuint DoubleBufferedTexture::swap() | ^ | noexcept /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:54:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 20 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.cpp:54:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 20 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept 19188 warnings generated. [131/195] /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:24:1: warning: included header QTextLayout is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:25:1: warning: included header QPainter is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:26:1: warning: included header QDebug is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:27:1: warning: included header QGuiApplication is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:28:1: warning: included header QDir is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:29:1: warning: included header QPainterPath is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:31:1: warning: included header memory is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:39:20: warning: no header providing "std::move" is directly included [misc-include-cleaner] 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const int TextureSize = 2048; 37 | 38 | GlyphMap::GlyphMap(QString fontName) : 39 | _fontName(std::move(fontName)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:44:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const int TextureSize = 2048; 37 | 38 | GlyphMap::GlyphMap(QString fontName) : 39 | _fontName(std::move(fontName)) 40 | {} 41 | 42 | void GlyphMap::addText(const QString& text) 43 | { 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:44:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const int TextureSize = 2048; 37 | 38 | GlyphMap::GlyphMap(QString fontName) : 39 | _fontName(std::move(fontName)) 40 | {} 41 | 42 | void GlyphMap::addText(const QString& text) 43 | { 44 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:57:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:57:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:63:5: warning: no header providing "QFont" is directly included [misc-include-cleaner] 33 | QFont font(_fontName, FontSize); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:69:32: warning: no header providing "QGuiApplication" is directly included [misc-include-cleaner] 33 | auto defaultFontName = QGuiApplication::font().family(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:71:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 33 | qWarning() << "Font" << _fontName << "is not renderable; " | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:74:16: warning: no header providing "QFont" is directly included [misc-include-cleaner] 33 | font = QFont(defaultFontName, FontSize); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:86:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:86:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:96:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | const std::vector& GlyphMap::images() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:96:19: warning: no header providing "QImage" is directly included [misc-include-cleaner] 33 | const std::vector& GlyphMap::images() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:103:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:103:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 33 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:111:36: warning: no header providing "QFont" is directly included [misc-include-cleaner] 33 | void GlyphMap::layoutStrings(const QFont& font) | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:113:11: warning: no header providing "QFontMetrics" is directly included [misc-include-cleaner] 33 | const QFontMetrics fontMetrics(font); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:127:9: warning: no header providing "QTextLayout" is directly included [misc-include-cleaner] 33 | QTextLayout qTextLayout(text, font); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:128:9: warning: no header providing "QTextOption" is directly included [misc-include-cleaner] 33 | QTextOption qTextOption; | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:129:33: warning: no header providing "QTextOption" is directly included [misc-include-cleaner] 33 | qTextOption.setWrapMode(QTextOption::NoWrap); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:133:9: warning: no header providing "QTextLine" is directly included [misc-include-cleaner] 33 | QTextLine line = qTextLayout.createLine(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:135:26: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 33 | line.setPosition(QPointF(0.0f, 0.0f)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:138:9: warning: no header providing "QList" is directly included [misc-include-cleaner] 33 | QList glyphRuns = line.glyphRuns(0, static_cast(text.length())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:138:15: warning: no header providing "QGlyphRun" is directly included [misc-include-cleaner] 33 | QList glyphRuns = line.glyphRuns(0, static_cast(text.length())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:146:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(glyphRuns[0].glyphIndexes().size() == glyphRuns[0].positions().size()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:175:43: warning: no header providing "QFont" is directly included [misc-include-cleaner] 33 | bool GlyphMap::stringsAreRenderable(const QFont &font) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:177:20: warning: no header providing "QRawFont" is directly included [misc-include-cleaner] 33 | auto rawFont = QRawFont::fromFont(font); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:191:35: warning: no header providing "QFont" is directly included [misc-include-cleaner] 33 | void GlyphMap::renderImages(const QFont &font) | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:196:20: warning: no header providing "QRawFont" is directly included [misc-include-cleaner] 33 | auto rawFont = QRawFont::fromFont(font); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:202:55: warning: no header providing "QFontMetrics" is directly included [misc-include-cleaner] 33 | const float padding = std::max(static_cast(QFontMetrics(font).height()) * 0.1f, 1.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:207:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector debugImages; | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:207:17: warning: no header providing "QImage" is directly included [misc-include-cleaner] 33 | std::vector debugImages; | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:219:33: warning: no header providing "QImage" is directly included [misc-include-cleaner] 33 | auto paintGlyphTo = [&](QImage& image) | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:221:13: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 33 | QPainter painter(&image); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:224:32: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] 33 | painter.setPen(Qt::white); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:225:34: warning: no header providing "Qt::FillRule" is directly included [misc-include-cleaner] 33 | path.setFillRule(Qt::FillRule::WindingFill); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:225:44: warning: no header providing "Qt::WindingFill" is directly included [misc-include-cleaner] 33 | path.setFillRule(Qt::FillRule::WindingFill); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:226:67: warning: no header providing "QBrush" is directly included [misc-include-cleaner] 33 | painter.fillPath(path.translated(x, y - glyphAscent), QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:226:78: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] 33 | painter.fillPath(path.translated(x, y - glyphAscent), QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:249:74: warning: no header providing "QImage" is directly included [misc-include-cleaner] 33 | auto& image = _images.emplace_back(TextureSize, TextureSize, QImage::Format_ARGB32); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:250:28: warning: no header providing "Qt::transparent" is directly included [misc-include-cleaner] 33 | image.fill(Qt::transparent); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:252:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(u::pref(u"debug/saveGlyphMaps"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:262:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(u::pref(u"debug/saveGlyphMaps"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:267:13: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 33 | QPainter debugPainter(&debugImage); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:275:37: warning: no header providing "Qt::red" is directly included [misc-include-cleaner] 33 | debugPainter.setPen(Qt::red); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:279:37: warning: no header providing "Qt::green" is directly included [misc-include-cleaner] 33 | debugPainter.setPen(Qt::green); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:282:37: warning: no header providing "Qt::yellow" is directly included [misc-include-cleaner] 33 | debugPainter.setPen(Qt::yellow); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:305:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | if(u::pref(u"debug/saveGlyphMaps"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:310:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | debugImage.save(u"%1/%2%3.png"_s.arg(QDir::tempPath(), outFilePrefix, QString::number(i++))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:310:50: warning: no header providing "QDir" is directly included [misc-include-cleaner] 33 | debugImage.save(u"%1/%2%3.png"_s.arg(QDir::tempPath(), outFilePrefix, QString::number(i++))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:312:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 33 | qDebug() << u"Glyph images saved to: %1/%2*.png"_s.arg(QDir::tempPath(), outFilePrefix); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:312:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | qDebug() << u"Glyph images saved to: %1/%2*.png"_s.arg(QDir::tempPath(), outFilePrefix); | ^ /home/runner/work/graphia/graphia/source/app/rendering/glyphmap.cpp:312:64: warning: no header providing "QDir" is directly included [misc-include-cleaner] 33 | qDebug() << u"Glyph images saved to: %1/%2*.png"_s.arg(QDir::tempPath(), outFilePrefix); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11999 warnings generated. [132/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:32:1: warning: included header frustum.h is not used directly [misc-include-cleaner] 32 | #include "maths/frustum.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | #include "maths/plane.h" /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:40:1: warning: included header preferences.h is not used directly [misc-include-cleaner] 40 | #include "app/preferences.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 41 | /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:42:1: warning: included header QObject is not used directly [misc-include-cleaner] 42 | #include | ^~~~~~~~~~~~~~~~~~ 43 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:43:1: warning: included header QKeyEvent is not used directly [misc-include-cleaner] 43 | #include | ^~~~~~~~~~~~~~~~~~~~ 44 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:44:1: warning: included header QMouseEvent is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 45 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:45:1: warning: included header QtMath is not used directly [misc-include-cleaner] 45 | #include | ^~~~~~~~~~~~~~~~~ 46 | /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:48:1: warning: included header mutex is not used directly [misc-include-cleaner] 48 | #include | ^~~~~~~~~~~~~~~~ 49 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:51:65: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 35 | void GraphComponentRenderer::initialise(GraphModel* graphModel, ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:73:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 50 | QObject::connect(&_zoomTransition, &Transition::started, graphRenderer, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:73:41: warning: no header providing "Transition" is directly included [misc-include-cleaner] 35 | QObject::connect(&_zoomTransition, &Transition::started, graphRenderer, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:74:69: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 50 | &GraphRenderer::rendererStartedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:75:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 50 | QObject::connect(&_zoomTransition, &Transition::finished, graphRenderer, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:75:41: warning: no header providing "Transition" is directly included [misc-include-cleaner] 35 | QObject::connect(&_zoomTransition, &Transition::finished, graphRenderer, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:76:70: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 50 | &GraphRenderer::rendererFinishedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:129:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(component != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:135:41: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 35 | if(!_savedViewData.isReset() && !u::contains(_nodeIds, _savedViewData._focusNodeId)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:139:57: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 48 | std::transform(edgeIds.begin(), edgeIds.end(), std::back_inserter(_edges), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:156:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(_viewData._focusNodeId.isNull() || u::contains(_nodeIds, _viewData._focusNodeId)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:156:52: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 35 | Q_ASSERT(_viewData._focusNodeId.isNull() || u::contains(_nodeIds, _viewData._focusNodeId)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:196:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | const QVector3D& centre, const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:196:41: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 50 | const QVector3D& centre, const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:196:48: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | const QVector3D& centre, const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:198:30: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 48 | float maxDistance = std::numeric_limits::lowest(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:201:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(nodePositions.size() == nodeVisuals.size()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:203:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 48 | for(size_t i = 0; i < nodeIds.size(); i++) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:205:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | const QVector3D nodePosition = nodePositions.at(i); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:220:1: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 50 | QMatrix4x4 GraphComponentRenderer::subViewportMatrix(QRectF sub, QRect viewport) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:220:54: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 50 | QMatrix4x4 GraphComponentRenderer::subViewportMatrix(QRectF sub, QRect viewport) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:220:66: warning: no header providing "QRect" is directly included [misc-include-cleaner] 50 | QMatrix4x4 GraphComponentRenderer::subViewportMatrix(QRectF sub, QRect viewport) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:223:22: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 50 | auto viewportF = QRectF(viewport); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:232:5: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 50 | QMatrix4x4 m; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:242:67: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | float GraphComponentRenderer::zoomDistanceForRadius(float radius, Projection projection) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:244:22: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | if(projection == Projection::Unset) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:244:34: warning: no header providing "Projection_reflector::Enum::Unset" is directly included [misc-include-cleaner] 35 | if(projection == Projection::Unset) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:247:22: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | if(projection == Projection::Perspective) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:247:34: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 35 | if(projection == Projection::Perspective) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:249:34: warning: no header providing "qDegreesToRadians" is directly included [misc-include-cleaner] 50 | const float minHalfFov = qDegreesToRadians(std::min(_fovx, _fovy) * 0.5f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:254:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 50 | qDebug() << "WARNING: ComponentId" << _componentId << "GraphComponentRenderer fov not set"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:261:46: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | float GraphComponentRenderer::maxDistanceFor(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:266:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(!_frozen); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:269:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | const QVector3D position = !nodeId.isNull() ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:276:62: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | float GraphComponentRenderer::entireComponentZoomDistanceFor(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:287:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(!_frozen); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:296:67: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | _orthoCameraDistance = zoomDistanceForRadius(maxDistance, Projection::Perspective); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:296:79: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 35 | _orthoCameraDistance = zoomDistanceForRadius(maxDistance, Projection::Perspective); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:303:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(_initialised); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:307:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(_graphRenderer != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:357:23: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | if(_projection == Projection::Perspective) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:357:35: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 35 | if(_projection == Projection::Perspective) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:371:1: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 50 | QMatrix4x4 GraphComponentRenderer::modelViewMatrix() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:376:1: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 50 | QMatrix4x4 GraphComponentRenderer::projectionMatrix() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:391:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 50 | qWarning() << "GraphComponentRenderer::resize(" << viewportWidth << "," << viewportHeight << | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:396:50: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 50 | void GraphComponentRenderer::setDimensions(const QRectF& dimensions) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:418:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(_graphRenderer != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:425:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(_graphRenderer != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:461:8: warning: no header providing "qFuzzyCompare" is directly included [misc-include-cleaner] 50 | if(qFuzzyCompare(startZoomDistance, _targetZoomDistance)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:466:37: warning: no header providing "Transition" is directly included [misc-include-cleaner] 35 | _zoomTransition.start(0.1f, Transition::Type::Linear, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:466:55: warning: no header providing "Transition::Type::Linear" is directly included [misc-include-cleaner] 35 | _zoomTransition.start(0.1f, Transition::Type::Linear, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:482:51: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | void GraphComponentRenderer::centreNodeInViewport(NodeId nodeId, float zoomDistance, QQuaternion rotation) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:482:86: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 50 | void GraphComponentRenderer::centreNodeInViewport(NodeId nodeId, float zoomDistance, QQuaternion rotation) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:490:61: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | void GraphComponentRenderer::centrePositionInViewport(const QVector3D& focus, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:491:25: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 50 | float zoomDistance, QQuaternion rotation) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:495:27: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | if(_projection == Projection::Perspective) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:495:39: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 35 | if(_projection == Projection::Perspective) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:504:23: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | const QVector3D& oldPosition = _viewData.camera().position(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:505:17: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | QVector3D newPosition; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:511:27: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | const QVector3D cameraPlaneIntersection = translationPlane.rayIntersection( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:513:27: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | const QVector3D translation = focus - cameraPlaneIntersection; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:541:42: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | auto cameraDistance = _projection == Projection::Perspective ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:541:54: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 35 | auto cameraDistance = _projection == Projection::Perspective ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:547:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(_graphRenderer != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:579:46: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | void GraphComponentRenderer::moveFocusToNode(NodeId nodeId, float radius) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:584:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(u::contains(_nodeIds, nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:584:17: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 35 | Q_ASSERT(u::contains(_nodeIds, nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:597:51: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | void GraphComponentRenderer::moveSavedFocusToNode(NodeId nodeId, float radius) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:602:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(u::contains(_nodeIds, nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:602:17: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 35 | Q_ASSERT(u::contains(_nodeIds, nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:644:11: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | const NodeId closestNodeId = collision.nodeClosestToLine(_viewData.camera().position(), _viewData.camera().viewVector()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:649:48: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | void GraphComponentRenderer::moveFocusTo(const QVector3D& position, float radius, const QQuaternion& rotation) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:649:89: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 50 | void GraphComponentRenderer::moveFocusTo(const QVector3D& position, float radius, const QQuaternion& rotation) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:655:58: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | _orthoCameraDistance = zoomDistanceForRadius(radius, Projection::Perspective); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:655:70: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 35 | _orthoCameraDistance = zoomDistanceForRadius(radius, Projection::Perspective); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:669:5: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 50 | QQuaternion rotation = nullQuaternion(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:671:23: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | if(_projection == Projection::TwoDee) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:671:35: warning: no header providing "Projection_reflector::Enum::TwoDee" is directly included [misc-include-cleaner] 35 | if(_projection == Projection::TwoDee) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:675:22: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 50 | auto delta = QQuaternion::rotationTo(camera()->viewVector(), {0.0f, 0.0f, -1.0f}); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:690:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 50 | Q_ASSERT(!_viewData._focusNodeId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:705:8: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 50 | static QMatrix4x4 interpolateProjectionMatrices(const QMatrix4x4& a, const QMatrix4x4& b, float f) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:705:55: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 50 | static QMatrix4x4 interpolateProjectionMatrices(const QMatrix4x4& a, const QMatrix4x4& b, float f) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:705:76: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 50 | static QMatrix4x4 interpolateProjectionMatrices(const QMatrix4x4& a, const QMatrix4x4& b, float f) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:707:17: warning: no header providing "u::interpolate" is directly included [misc-include-cleaner] 35 | auto m = u::interpolate(a, b, f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:723:30: warning: no header providing "u::interpolate" is directly included [misc-include-cleaner] 35 | auto mi = u::interpolate(ai, bi, f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:734:39: warning: no header providing "u::interpolate" is directly included [misc-include-cleaner] 35 | _viewData.camera().setDistance(u::interpolate( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:739:36: warning: no header providing "u::interpolate" is directly included [misc-include-cleaner] 35 | _viewData.camera().setFocus(u::interpolate( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:744:36: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 50 | _viewData.camera().setRotation(QQuaternion::slerp( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:754:51: warning: no header providing "u::interpolate" is directly included [misc-include-cleaner] 35 | _viewData._cameraAndLighting._lightScale = u::interpolate( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:760:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | NodeId GraphComponentRenderer::focusNodeId() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:767:58: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 20 | return _graphModel->graph().typeOf(focusNodeId()) != MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:767:76: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 20 | return _graphModel->graph().typeOf(focusNodeId()) != MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:770:1: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 50 | QVector3D GraphComponentRenderer::focusPosition() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:778:52: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 35 | bool GraphComponentRenderer::focusedOnNodeAtRadius(NodeId nodeId, float radius) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:780:36: warning: no header providing "qFuzzyCompare" is directly included [misc-include-cleaner] 50 | const bool zoomMatchesRadius = qFuzzyCompare(zoomDistanceForRadius(radius), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:781:24: warning: no header providing "Projection" is directly included [misc-include-cleaner] 35 | _projection == Projection::Perspective ? camera()->distance() : _viewData._zoomDistance); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:781:36: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 35 | _projection == Projection::Perspective ? camera()->distance() : _viewData._zoomDistance); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32064 warnings generated. [133/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:39:127: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | GraphComponentScene::GraphComponentScene(GraphRenderer* graphRenderer) : 36 | Scene(graphRenderer), 37 | _graphRenderer(graphRenderer) 38 | { 39 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentSplit, this, &GraphComponentScene::onComponentSplit, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:40:137: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | GraphComponentScene::GraphComponentScene(GraphRenderer* graphRenderer) : 36 | Scene(graphRenderer), 37 | _graphRenderer(graphRenderer) 38 | { 39 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentSplit, this, &GraphComponentScene::onComponentSplit, Qt::DirectConnection); 40 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentsWillMerge, this, &GraphComponentScene::onComponentsWillMerge, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:41:127: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | GraphComponentScene::GraphComponentScene(GraphRenderer* graphRenderer) : 36 | Scene(graphRenderer), 37 | _graphRenderer(graphRenderer) 38 | { 39 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentSplit, this, &GraphComponentScene::onComponentSplit, Qt::DirectConnection); 40 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentsWillMerge, this, &GraphComponentScene::onComponentsWillMerge, Qt::DirectConnection); 41 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentAdded, this, &GraphComponentScene::onComponentAdded, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:42:143: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | GraphComponentScene::GraphComponentScene(GraphRenderer* graphRenderer) : 36 | Scene(graphRenderer), 37 | _graphRenderer(graphRenderer) 38 | { 39 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentSplit, this, &GraphComponentScene::onComponentSplit, Qt::DirectConnection); 40 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentsWillMerge, this, &GraphComponentScene::onComponentsWillMerge, Qt::DirectConnection); 41 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentAdded, this, &GraphComponentScene::onComponentAdded, Qt::DirectConnection); 42 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentWillBeRemoved, this, &GraphComponentScene::onComponentWillBeRemoved, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:43:129: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | GraphComponentScene::GraphComponentScene(GraphRenderer* graphRenderer) : 36 | Scene(graphRenderer), 37 | _graphRenderer(graphRenderer) 38 | { 39 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentSplit, this, &GraphComponentScene::onComponentSplit, Qt::DirectConnection); 40 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentsWillMerge, this, &GraphComponentScene::onComponentsWillMerge, Qt::DirectConnection); 41 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentAdded, this, &GraphComponentScene::onComponentAdded, Qt::DirectConnection); 42 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentWillBeRemoved, this, &GraphComponentScene::onComponentWillBeRemoved, Qt::DirectConnection); 43 | connect(&_graphRenderer->graphModel()->graph(), &Graph::graphWillChange, this, &GraphComponentScene::onGraphWillChange, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:44:123: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | GraphComponentScene::GraphComponentScene(GraphRenderer* graphRenderer) : 36 | Scene(graphRenderer), 37 | _graphRenderer(graphRenderer) 38 | { 39 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentSplit, this, &GraphComponentScene::onComponentSplit, Qt::DirectConnection); 40 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentsWillMerge, this, &GraphComponentScene::onComponentsWillMerge, Qt::DirectConnection); 41 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentAdded, this, &GraphComponentScene::onComponentAdded, Qt::DirectConnection); 42 | connect(&_graphRenderer->graphModel()->graph(), &Graph::componentWillBeRemoved, this, &GraphComponentScene::onComponentWillBeRemoved, Qt::DirectConnection); 43 | connect(&_graphRenderer->graphModel()->graph(), &Graph::graphWillChange, this, &GraphComponentScene::onGraphWillChange, Qt::DirectConnection); 44 | connect(&_graphRenderer->graphModel()->graph(), &Graph::graphChanged, this, &GraphComponentScene::onGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:48:134: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 32 | connect(&_graphRenderer->graphModel()->graph(), &Graph::nodeRemovedFromComponent, this, &GraphComponentScene::onNodeRemoved, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:77:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(componentRenderer()->initialised()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:80:13: warning: no header providing "QRect" is directly included [misc-include-cleaner] 32 | QRect(static_cast(offset), 0, _width, _height)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:96:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(transitioningComponentRenderer()->initialised()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:99:13: warning: no header providing "QRect" is directly included [misc-include-cleaner] 32 | QRect(static_cast(outOffset), 0, _width, _height)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:121:33: warning: no header providing "QRect" is directly included [misc-include-cleaner] 32 | renderer->setDimensions(QRect(0, 0, width, height)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:145:53: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::finishComponentTransition(ComponentId componentId, bool doTransition) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:151:27: warning: no header providing "Transition" is directly included [misc-include-cleaner] 24 | auto transitionType = Transition::Type::InversePower; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:151:45: warning: no header providing "Transition::Type::InversePower" is directly included [misc-include-cleaner] 24 | auto transitionType = Transition::Type::InversePower; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:185:26: warning: no header providing "Transition" is directly included [misc-include-cleaner] 24 | transitionType = Transition::Type::EaseInEaseOut; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:185:44: warning: no header providing "Transition::Type::EaseInEaseOut" is directly included [misc-include-cleaner] 24 | transitionType = Transition::Type::EaseInEaseOut; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:191:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(_graphRenderer->graphModel()->graph().containsComponentId(_componentId)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:224:87: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::finishComponentTransition (restoreViewData)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:234:69: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::finishComponentTransitionOnRendererThread(ComponentId componentId, bool doTransition) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:239:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::finishComponentTransition"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:256:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::performQueuedTransition"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:271:42: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::setComponentId(ComponentId componentId, bool doTransition) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:342:31: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::pan(NodeId clickedNodeId, const QPoint& start, const QPoint& end) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:342:59: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 32 | void GraphComponentScene::pan(NodeId clickedNodeId, const QPoint& start, const QPoint& end) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:342:80: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 32 | void GraphComponentScene::pan(NodeId clickedNodeId, const QPoint& start, const QPoint& end) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:345:5: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | QVector3D pointOnTranslationPlane; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:352:11: warning: no header providing "Plane" is directly included [misc-include-cleaner] 24 | const Plane translationPlane(pointOnTranslationPlane, camera->viewVector()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:354:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | const QVector3D prevPoint = translationPlane.rayIntersection( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:356:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | const QVector3D curPoint = translationPlane.rayIntersection( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:358:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | const QVector3D newFocus = camera->focus() + (prevPoint - curPoint); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:363:49: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | bool GraphComponentScene::focusedOnNodeAtRadius(NodeId nodeId, float radius) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:371:43: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::moveFocusToNode(NodeId nodeId, float radius) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:377:11: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | const ComponentId componentId = _graphRenderer->graphModel()->graph().componentIdOfNode(nodeId); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:378:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(!componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:417:1: warning: no header providing "Transition" is directly included [misc-include-cleaner] 24 | Transition& GraphComponentScene::startTransition(float duration, Transition::Type transitionType) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:417:66: warning: no header providing "Transition" is directly included [misc-include-cleaner] 24 | Transition& GraphComponentScene::startTransition(float duration, Transition::Type transitionType) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:447:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::updateRendererVisibility"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:464:13: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | ComponentId newComponentId; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:476:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(!newComponentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:483:90: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::onComponentSplit (clone camera data, set component ID)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:506:91: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::onComponentsWillMerge (clone camera data, set component ID)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:509:58: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::onComponentAdded(const Graph*, ComponentId componentId, bool) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:515:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::onComponentAdded"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:518:66: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::onComponentWillBeRemoved(const Graph*, ComponentId componentId, bool hasMerged) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:528:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::onComponentWillBeRemoved"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:591:85: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::onGraphChanged (setSize/moveFocusToCentreOfComponent)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:594:55: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::onNodeRemoved(const Graph*, NodeId nodeId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:594:70: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::onNodeRemoved(const Graph*, NodeId nodeId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:606:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::onNodeRemoved"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:610:41: warning: no header providing "Projection" is directly included [misc-include-cleaner] 24 | void GraphComponentScene::setProjection(Projection projection) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:630:49: warning: no header providing "Projection" is directly included [misc-include-cleaner] 24 | startTransition(0.3f, projection == Projection::Perspective ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:630:61: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 24 | startTransition(0.3f, projection == Projection::Perspective ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:631:17: warning: no header providing "Transition" is directly included [misc-include-cleaner] 24 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:631:35: warning: no header providing "Transition::Type::Power" is directly included [misc-include-cleaner] 24 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:631:43: warning: no header providing "Transition" is directly included [misc-include-cleaner] 24 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:631:61: warning: no header providing "Transition::Type::InversePower" is directly included [misc-include-cleaner] 24 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentscene.cpp:635:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | }, u"GraphComponentScene::setProjection"_s); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32492 warnings generated. [134/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:27:1: warning: included header powerof2gridcomponentlayout.h is not used directly [misc-include-cleaner] 27 | #include "layout/powerof2gridcomponentlayout.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | #include "layout/circlepackcomponentlayout.h" /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:40:1: warning: included header QPoint is not used directly [misc-include-cleaner] 40 | #include | ^~~~~~~~~~~~~~~~~ 41 | /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:42:1: warning: included header stack is not used directly [misc-include-cleaner] 42 | #include | ^~~~~~~~~~~~~~~~ 43 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:44:1: warning: included header functional is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~~~~~ 45 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:61:8: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 42 | static QPointF offsetFor(float sceneWidth, float sceneHeight, const QRectF& boundingBox, float zoomFactor) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:61:69: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 42 | static QPointF offsetFor(float sceneWidth, float sceneHeight, const QRectF& boundingBox, float zoomFactor) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:85:27: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 42 | _componentLayout(std::make_unique()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:87:109: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_graphModel->graph(), &Graph::componentAdded, this, &GraphOverviewScene::onComponentAdded, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:88:125: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_graphModel->graph(), &Graph::componentWillBeRemoved, this, &GraphOverviewScene::onComponentWillBeRemoved, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:89:109: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_graphModel->graph(), &Graph::componentSplit, this, &GraphOverviewScene::onComponentSplit, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:90:119: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_graphModel->graph(), &Graph::componentsWillMerge, this, &GraphOverviewScene::onComponentsWillMerge, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:91:111: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_graphModel->graph(), &Graph::graphWillChange, this, &GraphOverviewScene::onGraphWillChange, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:92:105: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_graphModel->graph(), &Graph::graphChanged, this, &GraphOverviewScene::onGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:94:104: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(_graphModel, &GraphModel::visualsChanged, this, &GraphOverviewScene::onVisualsChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:96:32: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | connect(&_zoomTransition, &Transition::started, _graphRenderer, &GraphRenderer::rendererStartedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:96:116: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_zoomTransition, &Transition::started, _graphRenderer, &GraphRenderer::rendererStartedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:97:32: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | connect(&_zoomTransition, &Transition::finished, _graphRenderer, &GraphRenderer::rendererFinishedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:97:118: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | connect(&_zoomTransition, &Transition::finished, _graphRenderer, &GraphRenderer::rendererFinishedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:99:36: warning: no header providing "PreferencesWatcher" is directly included [misc-include-cleaner] 32 | connect(&_preferencesWatcher, &PreferencesWatcher::preferenceChanged, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:100:61: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 42 | this, &GraphOverviewScene::onPreferenceChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:122:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(renderer->initialised()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:209:51: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | void GraphOverviewScene::zoomTo(const std::vector& componentIds, bool doTransition) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:211:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(!componentIds.empty()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:230:1: warning: no header providing "Circle" is directly included [misc-include-cleaner] 32 | Circle GraphOverviewScene::zoomedLayoutData(const Circle& data) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:230:51: warning: no header providing "Circle" is directly included [misc-include-cleaner] 32 | Circle GraphOverviewScene::zoomedLayoutData(const Circle& data) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:232:5: warning: no header providing "Circle" is directly included [misc-include-cleaner] 32 | Circle newData(data); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:256:1: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 42 | QPointF GraphOverviewScene::defaultOffset() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:262:36: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 42 | bool GraphOverviewScene::setOffset(QPointF offset) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:289:56: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 42 | bool GraphOverviewScene::setOffsetForBoundingBox(const QRectF& boundingBox) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:294:1: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | Transition& GraphOverviewScene::startTransitionFromComponentMode(ComponentId componentModeComponentId, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:294:66: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | Transition& GraphOverviewScene::startTransitionFromComponentMode(ComponentId componentModeComponentId, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:295:23: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | const std::vector& focusComponentIds, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:296:21: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | float duration, Transition::Type transitionType) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:298:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(!componentModeComponentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:302:11: warning: no header providing "Circle" is directly included [misc-include-cleaner] 32 | const Circle componentModeComponentLayout(halfWidth, halfHeight, std::min(halfWidth, halfHeight)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:336:1: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | Transition& GraphOverviewScene::startTransitionToComponentMode(ComponentId componentModeComponentId, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:336:64: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | Transition& GraphOverviewScene::startTransitionToComponentMode(ComponentId componentModeComponentId, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:337:21: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | float duration, Transition::Type transitionType) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:339:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 42 | Q_ASSERT(!componentModeComponentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:442:8: warning: no header providing "Circle" is directly included [misc-include-cleaner] 32 | static Circle interpolateCircle(const Circle& a, const Circle& b, float f) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:442:39: warning: no header providing "Circle" is directly included [misc-include-cleaner] 32 | static Circle interpolateCircle(const Circle& a, const Circle& b, float f) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:442:56: warning: no header providing "Circle" is directly included [misc-include-cleaner] 32 | static Circle interpolateCircle(const Circle& a, const Circle& b, float f) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:451:1: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | Transition& GraphOverviewScene::startTransition(float duration, Transition::Type transitionType) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:451:65: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | Transition& GraphOverviewScene::startTransition(float duration, Transition::Type transitionType) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:459:45: warning: no header providing "std::move" is directly included [misc-include-cleaner] 45 | [this, targetComponentLayoutData = std::move(targetComponentLayoutData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:460:40: warning: no header providing "std::move" is directly included [misc-include-cleaner] 45 | targetComponentAlpha = std::move(targetComponentAlpha)](float f) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:462:32: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | auto interpolate = [&](ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:496:21: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | std::vector postTransitionComponentIds; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:501:18: warning: no header providing "std::inserter" is directly included [misc-include-cleaner] 42 | std::inserter(postTransitionComponentIds, postTransitionComponentIds.begin())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:503:30: warning: no header providing "std::move" is directly included [misc-include-cleaner] 45 | _componentIds = std::move(postTransitionComponentIds); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:529:15: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 42 | const QQuaternion rotation = renderer->camera()->rotation(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:545:5: warning: no header providing "ComponentLayoutData" is directly included [misc-include-cleaner] 26 | ComponentLayoutData targetZoomedComponentLayoutData(_graphModel->graph()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:554:37: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | _zoomTransition.start(duration, Transition::Type::InversePower, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:554:55: warning: no header providing "Transition::Type::InversePower" is directly included [misc-include-cleaner] 32 | _zoomTransition.start(duration, Transition::Type::InversePower, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:576:57: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | void GraphOverviewScene::onComponentAdded(const Graph*, ComponentId componentId, bool hasSplit) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:584:75: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::onComponentAdded (set source alpha to 0)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:588:65: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 32 | void GraphOverviewScene::onComponentWillBeRemoved(const Graph*, ComponentId componentId, bool hasMerged) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:602:100: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::onComponentWillBeRemoved (freeze renderer, set target alpha to 0)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:626:87: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::onComponentSplit (cloneCameraDataFrom, component layout)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:646:71: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::onComponentsWillMerge (freeze renderers)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:649:43: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 32 | void GraphOverviewScene::onVisualsChanged(VisualChangeFlags nodeChange, VisualChangeFlags) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:649:73: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 32 | void GraphOverviewScene::onVisualsChanged(VisualChangeFlags nodeChange, VisualChangeFlags) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:651:15: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 32 | if(!Flags(nodeChange).test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:651:51: warning: no header providing "VisualChangeFlags" is directly included [misc-include-cleaner] 32 | if(!Flags(nodeChange).test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:651:70: warning: no header providing "VisualChangeFlags::Size" is directly included [misc-include-cleaner] 32 | if(!Flags(nodeChange).test(VisualChangeFlags::Size)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:661:65: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::onVisualsChanged (reset renderers)"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:675:102: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | const float duration = !componentLayoutDataChanged ? 0.0f : u::pref(u"visuals/transitionTime"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:680:35: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | startTransition(duration, Transition::Type::EaseInEaseOut).then( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:680:53: warning: no header providing "Transition::Type::EaseInEaseOut" is directly included [misc-include-cleaner] 32 | startTransition(duration, Transition::Type::EaseInEaseOut).then( | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:717:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::onGraphChanged"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:720:72: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 42 | void GraphOverviewScene::onPreferenceChanged(const QString& key, const QVariant&) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:722:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | if(visible() && key == u"visuals/minimumComponentRadius"_s) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:725:16: warning: no header providing "Command" is directly included [misc-include-cleaner] 32 | [this](Command&) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:739:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::onPreferenceChanged"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:745:40: warning: no header providing "Projection" is directly included [misc-include-cleaner] 32 | void GraphOverviewScene::setProjection(Projection projection) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:752:56: warning: no header providing "Projection" is directly included [misc-include-cleaner] 32 | startTransition(defaultDuration, projection == Projection::Perspective ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:752:68: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 32 | startTransition(defaultDuration, projection == Projection::Perspective ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:753:13: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:753:31: warning: no header providing "Transition::Type::Power" is directly included [misc-include-cleaner] 32 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:753:39: warning: no header providing "Transition" is directly included [misc-include-cleaner] 32 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:753:57: warning: no header providing "Transition::Type::InversePower" is directly included [misc-include-cleaner] 32 | Transition::Type::Power : Transition::Type::InversePower); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:760:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 42 | }, u"GraphOverviewScene::setProjection"_s); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32874 warnings generated. [135/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtQuick/qsgnode.h:33:11: warning: no definition found for 'Updater', but a definition with the same name 'Updater' found in another namespace '(global)' [bugprone-forward-declaration-namespace] 33 | class Updater; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:35:7: note: a definition of 'Updater' is found here 35 | class Updater : public QObject | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:44:1: warning: included header QObject is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~~ 45 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:45:1: warning: included header QCoreApplication is not used directly [misc-include-cleaner] 45 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:46:1: warning: included header QOpenGLFramebufferObjectFormat is not used directly [misc-include-cleaner] 46 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:47:1: warning: included header QQuickOpenGLUtils is not used directly [misc-include-cleaner] 47 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:48:1: warning: included header QOpenGLDebugLogger is not used directly [misc-include-cleaner] 48 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:49:1: warning: included header QColor is not used directly [misc-include-cleaner] 49 | #include | ^~~~~~~~~~~~~~~~~ 50 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:50:1: warning: included header QQuickWindow is not used directly [misc-include-cleaner] 50 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 51 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:51:1: warning: included header QEvent is not used directly [misc-include-cleaner] 51 | #include | ^~~~~~~~~~~~~~~~~ 52 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:52:1: warning: included header QNativeGestureEvent is not used directly [misc-include-cleaner] 52 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:53:1: warning: included header QTextLayout is not used directly [misc-include-cleaner] 53 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 54 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:54:1: warning: included header QBuffer is not used directly [misc-include-cleaner] 54 | #include | ^~~~~~~~~~~~~~~~~~ 55 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:55:1: warning: included header QFutureWatcher is not used directly [misc-include-cleaner] 55 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 56 | /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:81:38: warning: no header providing "std::chrono::seconds" is directly included [misc-include-cleaner] 57 | _performanceCounter(std::chrono::seconds(1)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:83:83: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | ShaderTools::loadShaderProgram(_debugLinesShader, u":/shaders/debuglines.vert"_s, u":/shaders/debuglines.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:83:115: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | ShaderTools::loadShaderProgram(_debugLinesShader, u":/shaders/debuglines.vert"_s, u":/shaders/debuglines.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:85:22: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 57 | _glyphMap = std::make_unique(u::pref(u"visuals/textFont"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:85:71: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | _glyphMap = std::make_unique(u::pref(u"visuals/textFont"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:89:78: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::nodeAdded, this, &GraphRenderer::onNodeAdded, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:90:78: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::edgeAdded, this, &GraphRenderer::onEdgeAdded, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:91:100: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::nodeAddedToComponent, this, &GraphRenderer::onNodeAddedToComponent, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:92:100: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::edgeAddedToComponent, this, &GraphRenderer::onEdgeAddedToComponent, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:93:112: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::nodeMovedBetweenComponents, this, &GraphRenderer::onNodeMovedBetweenComponents, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:94:112: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::edgeMovedBetweenComponents, this, &GraphRenderer::onEdgeMovedBetweenComponents, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:96:90: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::graphWillChange, this, &GraphRenderer::onGraphWillChange, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:97:84: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::graphChanged, this, &GraphRenderer::onGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:98:88: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::componentAdded, this, &GraphRenderer::onComponentAdded, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:100:28: warning: no header providing "Transition" is directly included [misc-include-cleaner] 28 | connect(&_transition, &Transition::started, this, &GraphRenderer::rendererStartedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:100:102: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(&_transition, &Transition::started, this, &GraphRenderer::rendererStartedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:101:28: warning: no header providing "Transition" is directly included [misc-include-cleaner] 28 | connect(&_transition, &Transition::finished, this, &GraphRenderer::rendererFinishedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:101:104: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(&_transition, &Transition::finished, this, &GraphRenderer::rendererFinishedTransition, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:103:104: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | connect(graph, &Graph::componentWillBeRemoved, this, &GraphRenderer::onComponentWillBeRemoved, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:105:32: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 57 | _screenshotRenderer = std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:109:36: warning: no header providing "PreferencesWatcher" is directly included [misc-include-cleaner] 28 | connect(&_preferencesWatcher, &PreferencesWatcher::preferenceChanged, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:110:56: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 57 | this, &GraphRenderer::onPreferenceChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:125:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::visualsChanged"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:132:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 57 | emit fpsChanged(ticksPerSecond); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:137:20: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_initialisationMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:137:37: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_initialisationMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:153:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 57 | emit initialised(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:163:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_initialisationMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:163:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_initialisationMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:166:5: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 57 | QCoreApplication::processEvents(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:171:67: warning: no header providing "QColor" is directly included [misc-include-cleaner] 57 | void GraphRenderer::createGPUGlyphData(const QString& text, const QColor& textColor, const TextAlignment& textAlignment, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:172:79: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | float textScale, float elementSize, const QVector3D& elementPosition, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:173:57: warning: no header providing "GPUGraphData" is directly included [misc-include-cleaner] 28 | int componentIndex, GPUGraphData* gpuGraphData) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:175:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 57 | Q_ASSERT(gpuGraphData != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:178:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 57 | Q_ASSERT(textLayout._initialised); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:188:10: warning: no header providing "std::array" is directly included [misc-include-cleaner] 57 | std::array baseOffset{{0.0f, 0.0f}}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:201:9: warning: no header providing "GPUGraphData" is directly included [misc-include-cleaner] 28 | GPUGraphData::GlyphData glyphData; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:236:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock nodePositionsLock(_graphModel->nodePositions()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:237:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock glyphMapLock(_glyphMap->mutex()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:237:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 57 | const std::unique_lock glyphMapLock(_glyphMap->mutex()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:245:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | NodeArray scaledAndSmoothedNodePositions(_graphModel->graph()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:247:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | const float textScale = u::pref(u"visuals/textSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:248:26: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 34 | auto textAlignment = normaliseQmlEnum(u::pref(u"visuals/textAlignment"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:248:90: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | auto textAlignment = normaliseQmlEnum(u::pref(u"visuals/textAlignment"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:249:25: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 34 | auto showNodeText = normaliseQmlEnum(u::pref(u"visuals/showNodeText"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:249:84: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | auto showNodeText = normaliseQmlEnum(u::pref(u"visuals/showNodeText"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:250:25: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 34 | auto showEdgeText = normaliseQmlEnum(u::pref(u"visuals/showEdgeText"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:250:84: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | auto showEdgeText = normaliseQmlEnum(u::pref(u"visuals/showEdgeText"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:251:27: warning: no header providing "normaliseQmlEnum" is directly included [misc-include-cleaner] 34 | auto edgeVisualType = normaliseQmlEnum(u::pref(u"visuals/edgeVisualType"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:251:93: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | auto edgeVisualType = normaliseQmlEnum(u::pref(u"visuals/edgeVisualType"_s).toInt()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:270:19: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | const QVector3D nodePosition = nodePositions.get(nodeId); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:276:13: warning: no header providing "GPUGraphData" is directly included [misc-include-cleaner] 28 | GPUGraphData::NodeData nodeData; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:288:57: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 28 | nodeData._selected = nodeVisual._state.test(VisualFlags::Selected) ? 1.0f : 0.0f; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:288:70: warning: no header providing "Selected" is directly included [misc-include-cleaner] 28 | nodeData._selected = nodeVisual._state.test(VisualFlags::Selected) ? 1.0f : 0.0f; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:291:40: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 28 | nodeVisual._state.test(VisualFlags::Unhighlighted) ? UnhighlightedAlpha : 1.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:291:53: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 28 | nodeVisual._state.test(VisualFlags::Unhighlighted) ? UnhighlightedAlpha : 1.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:303:77: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 28 | if(showNodeText == TextState::Off || nodeVisual._state.test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:303:90: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 28 | if(showNodeText == TextState::Off || nodeVisual._state.test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:306:83: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 28 | if(showNodeText == TextState::Selected && !nodeVisual._state.test(VisualFlags::Selected)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:306:96: warning: no header providing "Selected" is directly included [misc-include-cleaner] 28 | if(showNodeText == TextState::Selected && !nodeVisual._state.test(VisualFlags::Selected)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:325:19: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | const QVector3D& sourcePosition = scaledAndSmoothedNodePositions[edge->sourceId()]; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:326:19: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | const QVector3D& targetPosition = scaledAndSmoothedNodePositions[edge->targetId()]; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:356:13: warning: no header providing "GPUGraphData" is directly included [misc-include-cleaner] 28 | GPUGraphData::EdgeData edgeData; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:377:40: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 28 | edgeVisual._state.test(VisualFlags::Unhighlighted) ? UnhighlightedAlpha : 1.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:377:53: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 28 | edgeVisual._state.test(VisualFlags::Unhighlighted) ? UnhighlightedAlpha : 1.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:389:77: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 28 | if(showEdgeText == TextState::Off || edgeVisual._state.test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:389:90: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 28 | if(showEdgeText == TextState::Off || edgeVisual._state.test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:392:83: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 28 | if(showEdgeText == TextState::Selected && !edgeVisual._state.test(VisualFlags::Selected)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:392:96: warning: no header providing "Selected" is directly included [misc-include-cleaner] 28 | if(showEdgeText == TextState::Selected && !edgeVisual._state.test(VisualFlags::Selected)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:395:23: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | const QVector3D midPoint = (sourcePosition + targetPosition) * 0.5f; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:456:13: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 57 | qWarning() << "null component renderer"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:499:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 57 | emit modeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:503:1: warning: no header providing "Projection" is directly included [misc-include-cleaner] 28 | Projection GraphRenderer::projection() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:508:35: warning: no header providing "Projection" is directly included [misc-include-cleaner] 28 | void GraphRenderer::setProjection(Projection projection) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:539:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::moveFocusToNode(NodeId nodeId, float radius) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:549:45: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::moveFocusToNode"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:559:42: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::moveFocusToComponent(ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:570:54: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 58 | void GraphRenderer::moveFocusToComponents(const std::vector& componentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:570:61: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::moveFocusToComponents(const std::vector& componentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:582:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 57 | emit transitionStarted(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:597:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 57 | emit transitionFinished(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:606:45: warning: no header providing "DeferredExecutor" is directly included [misc-include-cleaner] 29 | void GraphRenderer::executeOnRendererThread(DeferredExecutor::TaskFn task, const QString& description) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:609:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 57 | emit taskAddedToExecutor(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:629:47: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onNodeAdded(const Graph*, NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:634:47: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onEdgeAdded(const Graph*, EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:639:58: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onNodeAddedToComponent(const Graph*, NodeId nodeId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:639:73: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onNodeAddedToComponent(const Graph*, NodeId nodeId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:644:58: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onEdgeAddedToComponent(const Graph*, EdgeId edgeId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:644:73: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onEdgeAddedToComponent(const Graph*, EdgeId edgeId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:649:64: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onNodeMovedBetweenComponents(const Graph*, NodeId nodeId, ComponentId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:649:79: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onNodeMovedBetweenComponents(const Graph*, NodeId nodeId, ComponentId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:649:92: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onNodeMovedBetweenComponents(const Graph*, NodeId nodeId, ComponentId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:654:64: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onEdgeMovedBetweenComponents(const Graph*, EdgeId edgeId, ComponentId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:654:79: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onEdgeMovedBetweenComponents(const Graph*, EdgeId edgeId, ComponentId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:654:92: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onEdgeMovedBetweenComponents(const Graph*, EdgeId edgeId, ComponentId, ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:660:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 58 | const std::vector& focusComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:660:23: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | const std::vector& focusComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:690:16: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 58 | const std::vector& focusComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:690:23: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | const std::vector& focusComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:695:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::finishTransitionToOverviewMode"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:719:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::finishTransitionToComponentMode"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:722:72: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 58 | void GraphRenderer::switchToOverviewMode(bool doTransition, const std::vector& focusComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:722:79: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::switchToOverviewMode(bool doTransition, const std::vector& focusComponentIds) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:767:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::switchToOverviewMode"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:770:62: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::switchToComponentMode(bool doTransition, ComponentId componentId, NodeId nodeId, float radius) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:770:87: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::switchToComponentMode(bool doTransition, ComponentId componentId, NodeId nodeId, float radius) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:788:21: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 57 | Q_ASSERT(_graphModel->graph().componentIdOfNode(nodeId) == componentId); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:804:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::switchToComponentMode"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:814:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | for(const NodeId nodeId : graph->nodeIds()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:816:37: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(graph->typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:816:55: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(graph->typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:820:15: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 28 | for(const EdgeId edgeId : graph->edgeIds()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:822:37: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(graph->typeOf(edgeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:822:55: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(graph->typeOf(edgeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:843:19: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | for(const ComponentId componentId : _graphModel->graph().componentIds()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:849:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::onGraphChanged update"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:852:52: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onComponentAdded(const Graph*, ComponentId componentId, bool) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:854:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 57 | Q_ASSERT(!componentId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:858:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | for(const NodeId nodeId : component->nodeIds()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:860:15: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 28 | for(const EdgeId edgeId : component->edgeIds()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:867:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::onComponentAdded"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:870:60: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onComponentWillBeRemoved(const Graph*, ComponentId componentId, bool) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:875:73: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::onComponentWillBeRemoved (cleanup) component %1"_s.arg(static_cast(componentId))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:878:67: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 57 | void GraphRenderer::onPreferenceChanged(const QString& key, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:880:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | if(key == u"visuals/textFont"_s) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:885:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | else if(key == u"visuals/backgroundColor"_s) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:905:45: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onComponentAlphaChanged(ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:910:40: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | void GraphRenderer::onComponentCleanup(ComponentId) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:920:1: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 44 | GLuint GraphRenderer::sdfTexture() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:925:1: warning: no header providing "QSize" is directly included [misc-include-cleaner] 57 | QSize GraphRenderer::sdfTextureSize() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:932:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_glyphMap->mutex()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:932:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_glyphMap->mutex()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:958:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | }, u"GraphRenderer::updateText"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:983:41: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 57 | auto* mouseEvent = dynamic_cast(e.get()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:984:41: warning: no header providing "QWheelEvent" is directly included [misc-include-cleaner] 57 | auto* wheelEvent = dynamic_cast(e.get()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:985:42: warning: no header providing "QNativeGestureEvent" is directly included [misc-include-cleaner] 57 | auto* nativeEvent = dynamic_cast(e.get()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:989:14: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 57 | case QEvent::Type::MouseButtonPress: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:995:14: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 57 | case QEvent::Type::MouseButtonRelease: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1001:14: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 57 | case QEvent::Type::MouseMove: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1007:14: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 57 | case QEvent::Type::MouseButtonDblClick: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1013:14: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 57 | case QEvent::Type::Wheel: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1016:18: warning: no header providing "QInputDevice" is directly included [misc-include-cleaner] 57 | case QInputDevice::DeviceType::Mouse: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1016:44: warning: no header providing "QInputDevice::DeviceType::Mouse" is directly included [misc-include-cleaner] 57 | case QInputDevice::DeviceType::Mouse: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1021:18: warning: no header providing "QInputDevice" is directly included [misc-include-cleaner] 57 | case QInputDevice::DeviceType::TouchScreen: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1021:44: warning: no header providing "QInputDevice::DeviceType::TouchScreen" is directly included [misc-include-cleaner] 57 | case QInputDevice::DeviceType::TouchScreen: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1022:18: warning: no header providing "QInputDevice" is directly included [misc-include-cleaner] 57 | case QInputDevice::DeviceType::TouchPad: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1022:44: warning: no header providing "QInputDevice::DeviceType::TouchPad" is directly included [misc-include-cleaner] 57 | case QInputDevice::DeviceType::TouchPad: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1024:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | if(u::pref(u"misc/panGestureZooms"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1043:14: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 57 | case QEvent::Type::NativeGesture: | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1044:50: warning: no header providing "Qt::ZoomNativeGesture" is directly included [misc-include-cleaner] 57 | if(nativeEvent->gestureType() == Qt::ZoomNativeGesture) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1101:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 57 | qWarning() << "Attempting to render without a complete FBO"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1107:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 28 | ComponentIdSet& componentIds, NodeId& focusNodeId, float& radius) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1107:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | ComponentIdSet& componentIds, NodeId& focusNodeId, float& radius) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1115:24: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 57 | nodeIds.erase(std::remove_if(nodeIds.begin(), nodeIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1118:55: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | return _graphModel->graph().typeOf(nodeId) == MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1118:73: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | return _graphModel->graph().typeOf(nodeId) == MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1137:76: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 57 | if(mode() == Mode::Component && u::pref(u"misc/stayInComponentMode"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1142:32: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 57 | nodeIds.erase(std::remove_if(nodeIds.begin(), nodeIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1158:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 58 | std::vector points; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1158:17: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | std::vector points; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1166:11: warning: no header providing "BoundingSphere" is directly included [misc-include-cleaner] 28 | const BoundingSphere boundingSphere(points); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1167:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 57 | const QVector3D centre = boundingSphere.centre(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1168:30: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 57 | float minDistance = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1169:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | NodeId closestToCentreNodeId; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1189:1: warning: no header providing "QOpenGLFramebufferObject" is directly included [misc-include-cleaner] 57 | QOpenGLFramebufferObject* GraphRenderer::createFramebufferObject(const QSize& size) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1189:72: warning: no header providing "QSize" is directly included [misc-include-cleaner] 57 | QOpenGLFramebufferObject* GraphRenderer::createFramebufferObject(const QSize& size) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1195:16: warning: no header providing "QOpenGLFramebufferObject" is directly included [misc-include-cleaner] 57 | return new QOpenGLFramebufferObject(size); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1202:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 57 | qWarning() << "Attempting to render incomplete FBO"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1206:24: warning: no header providing "QQuickOpenGLUtils::resetOpenGLState" is directly included [misc-include-cleaner] 57 | QQuickOpenGLUtils::resetOpenGLState(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1217:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 57 | qWarning() << "QQuickFrameBufferobject::Renderer FBO not bound"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1221:24: warning: no header providing "QQuickOpenGLUtils::resetOpenGLState" is directly included [misc-include-cleaner] 57 | QQuickOpenGLUtils::resetOpenGLState(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1226:33: warning: no header providing "QQuickFramebufferObject" is directly included [misc-include-cleaner] 57 | void GraphRenderer::synchronize(QQuickFramebufferObject* item) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1230:28: warning: no header providing "qobject_cast" is directly included [misc-include-cleaner] 57 | auto* graphQuickItem = qobject_cast(item); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1239:48: warning: no header providing "Projection" is directly included [misc-include-cleaner] 28 | setShading(graphQuickItem->projection() == Projection::TwoDee ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1239:60: warning: no header providing "Projection_reflector::Enum::TwoDee" is directly included [misc-include-cleaner] 28 | setShading(graphQuickItem->projection() == Projection::TwoDee ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1242:5: warning: no header providing "ComponentIdSet" is directly included [misc-include-cleaner] 28 | ComponentIdSet componentIds; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1243:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 28 | NodeId focusNodeId; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1246:11: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | const ComponentId focusComponentId = graphQuickItem->desiredFocusComponentId(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1277:11: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | const ComponentId focusedComponentId = mode() != Mode::Overview ? _graphComponentScene->componentId() : ComponentId(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1277:109: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | const ComponentId focusedComponentId = mode() != Mode::Overview ? _graphComponentScene->componentId() : ComponentId(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1280:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 57 | emit synchronizeComplete(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1283:63: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 28 | GraphComponentRenderer* GraphRenderer::componentRendererForId(ComponentId componentId) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1289:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 57 | Q_ASSERT(renderer != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1295:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_sceneUpdateMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1295:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_sceneUpdateMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1296:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 57 | Q_ASSERT(_sceneUpdateDisabled > 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1303:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_sceneUpdateMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1303:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_sceneUpdateMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1307:53: warning: no header providing "std::function" is directly included [misc-include-cleaner] 57 | void GraphRenderer::ifSceneUpdateEnabled(const std::function& f) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1309:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_sceneUpdateMutex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderer.cpp:1309:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 57 | const std::unique_lock lock(_sceneUpdateMutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: warning: 'I' is confusable with 'l' [misc-confusable-identifiers] 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: note: other declaration found here 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/doasyncthen.h:42:28: warning: forwarding reference parameter 'thenFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 42 | void then(ThenFn&& thenFn) | ^ /home/runner/work/graphia/graphia/source/shared/utils/doasyncthen.h:61:28: warning: forwarding reference parameter 'thisFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 61 | auto doAsync(AsyncFn&& thisFn) | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 33702 warnings generated. [136/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:29:1: warning: included header QColor is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:30:1: warning: included header QDir is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:31:1: warning: included header QOpenGLContext is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 32 | /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:38:36: warning: no header providing "GL_TEXTURE_2D_MULTISAMPLE" is directly included [misc-include-cleaner] 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | #ifdef OPENGL_ES 36 | static const auto GL_TEXTURE_2D_ = GL_TEXTURE_2D; 37 | #else 38 | static const auto GL_TEXTURE_2D_ = GL_TEXTURE_2D_MULTISAMPLE; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:67:19: warning: no header providing "OpenGLFunctions" is directly included [misc-include-cleaner] 22 | void setupTexture(OpenGLFunctions* t, GLuint& texture, int width, int height, GLint internalFormat, int numMultiSamples) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:67:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | void setupTexture(OpenGLFunctions* t, GLuint& texture, int width, int height, GLint internalFormat, int numMultiSamples) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:67:79: warning: no header providing "GLint" is directly included [misc-include-cleaner] 29 | void setupTexture(OpenGLFunctions* t, GLuint& texture, int width, int height, GLint internalFormat, int numMultiSamples) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:80:96: warning: no header providing "GL_FALSE" is directly included [misc-include-cleaner] 29 | t->glTexImage2DMultisample(GL_TEXTURE_2D_, numMultiSamples, internalFormat, width, height, GL_FALSE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:146:34: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 32 | _nodeVBO.setUsagePattern(QOpenGLBuffer::DynamicDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:152:34: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 32 | _textVBO.setUsagePattern(QOpenGLBuffer::DynamicDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:158:34: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 32 | _edgeVBO.setUsagePattern(QOpenGLBuffer::DynamicDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:177:40: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("component")), 1, GL_INT, sizeof(GlyphData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:177:104: warning: no header providing "GL_INT" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("component")), 1, GL_INT, sizeof(GlyphData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:179:50: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("textureCoord", GL_FLOAT, offsetof(GlyphData, _textureCoord), 2, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:179:60: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("textureCoord", GL_FLOAT, offsetof(GlyphData, _textureCoord), 2, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:180:40: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("textureLayer")), 1, GL_INT, sizeof(GlyphData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:180:104: warning: no header providing "GL_INT" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("textureLayer")), 1, GL_INT, sizeof(GlyphData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:182:50: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("basePosition", GL_FLOAT, offsetof(GlyphData, _basePosition), 3, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:182:60: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("basePosition", GL_FLOAT, offsetof(GlyphData, _basePosition), 3, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:183:50: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("glyphOffset", GL_FLOAT, offsetof(GlyphData, _glyphOffset), 2, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:183:60: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("glyphOffset", GL_FLOAT, offsetof(GlyphData, _glyphOffset), 2, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:184:50: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("glyphSize", GL_FLOAT, offsetof(GlyphData, _glyphSize), 2, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:184:60: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("glyphSize", GL_FLOAT, offsetof(GlyphData, _glyphSize), 2, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:185:50: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("glyphScale", GL_FLOAT, offsetof(GlyphData, _glyphScale), 1, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:185:60: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("glyphScale", GL_FLOAT, offsetof(GlyphData, _glyphScale), 1, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:186:50: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("color", GL_FLOAT, offsetof(GlyphData, _color), 3, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:186:60: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("color", GL_FLOAT, offsetof(GlyphData, _color), 3, sizeof(GlyphData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:187:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("component")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:188:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("textureCoord")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:189:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("textureLayer")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:190:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("basePosition")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:191:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("glyphOffset")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:192:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("glyphSize")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:193:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("glyphScale")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:194:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("color")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:213:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("nodePosition", GL_FLOAT, offsetof(NodeData, _position), 3, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:213:57: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("nodePosition", GL_FLOAT, offsetof(NodeData, _position), 3, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:214:40: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("component")), 1, GL_INT, sizeof(NodeData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:214:96: warning: no header providing "GL_INT" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("component")), 1, GL_INT, sizeof(NodeData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:216:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("size", GL_FLOAT, offsetof(NodeData, _size), 1, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:216:57: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("size", GL_FLOAT, offsetof(NodeData, _size), 1, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:217:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("outerColor", GL_FLOAT, offsetof(NodeData, _outerColor), 3, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:217:57: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("outerColor", GL_FLOAT, offsetof(NodeData, _outerColor), 3, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:218:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("innerColor", GL_FLOAT, offsetof(NodeData, _innerColor), 3, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:218:57: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("innerColor", GL_FLOAT, offsetof(NodeData, _innerColor), 3, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:219:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("selected", GL_FLOAT, offsetof(NodeData, _selected), 1, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:219:57: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("selected", GL_FLOAT, offsetof(NodeData, _selected), 1, sizeof(NodeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:220:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("nodePosition")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:221:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("component")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:222:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("size")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:223:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("innerColor")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:224:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("outerColor")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:225:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("selected")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:248:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("sourcePosition", GL_FLOAT, offsetof(EdgeData, _sourcePosition), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:248:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("sourcePosition", GL_FLOAT, offsetof(EdgeData, _sourcePosition), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:249:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("targetPosition", GL_FLOAT, offsetof(EdgeData, _targetPosition), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:249:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("targetPosition", GL_FLOAT, offsetof(EdgeData, _targetPosition), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:250:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("sourceSize", GL_FLOAT, offsetof(EdgeData, _sourceSize), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:250:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("sourceSize", GL_FLOAT, offsetof(EdgeData, _sourceSize), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:251:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("targetSize", GL_FLOAT, offsetof(EdgeData, _targetSize), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:251:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("targetSize", GL_FLOAT, offsetof(EdgeData, _targetSize), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:252:40: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("edgeType")), 1, GL_INT, sizeof(EdgeData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:252:100: warning: no header providing "GL_INT" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("edgeType")), 1, GL_INT, sizeof(EdgeData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:254:40: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("component")), 1, GL_INT, sizeof(EdgeData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:254:100: warning: no header providing "GL_INT" is directly included [misc-include-cleaner] 29 | glVertexAttribIPointer(static_cast(shader.attributeLocation("component")), 1, GL_INT, sizeof(EdgeData), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:256:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("size", GL_FLOAT, offsetof(EdgeData, _size), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:256:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("size", GL_FLOAT, offsetof(EdgeData, _size), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:257:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("outerColor", GL_FLOAT, offsetof(EdgeData, _outerColor), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:257:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("outerColor", GL_FLOAT, offsetof(EdgeData, _outerColor), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:258:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("innerColor", GL_FLOAT, offsetof(EdgeData, _innerColor), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:258:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("innerColor", GL_FLOAT, offsetof(EdgeData, _innerColor), 3, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:259:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader.setAttributeBuffer("selected", GL_FLOAT, offsetof(EdgeData, _selected), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:259:59: warning: no header providing "offsetof" is directly included [misc-include-cleaner] 32 | shader.setAttributeBuffer("selected", GL_FLOAT, offsetof(EdgeData, _selected), 1, sizeof(EdgeData)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:260:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("sourcePosition")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:261:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("targetPosition")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:262:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("sourceSize")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:263:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("targetSize")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:264:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("edgeType")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:265:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("component")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:266:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("size")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:267:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("outerColor")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:268:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("innerColor")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:269:39: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | glVertexAttribDivisor(static_cast(shader.attributeLocation("selected")), 1); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:276:64: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | bool GPUGraphData::prepareRenderBuffers(int width, int height, GLuint depthTexture, GLint numMultiSamples) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:276:85: warning: no header providing "GLint" is directly included [misc-include-cleaner] 29 | bool GPUGraphData::prepareRenderBuffers(int width, int height, GLuint depthTexture, GLint numMultiSamples) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:278:58: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 29 | setupTexture(this, _colorTexture, width, height, GL_RGBA, numMultiSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:279:58: warning: no header providing "GL_RG32F" is directly included [misc-include-cleaner] 32 | setupTexture(this, _elementTexture, width, height, GL_RG32F, numMultiSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:280:58: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 29 | setupTexture(this, _selectionTexture, width, height, GL_RGBA, numMultiSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:284:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, _fbo); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:285:28: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_, _colorTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:285:44: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_, _colorTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:286:28: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D_, _elementTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:286:44: warning: no header providing "GL_COLOR_ATTACHMENT1" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D_, _elementTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:287:28: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT2, GL_TEXTURE_2D_, _selectionTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:287:44: warning: no header providing "GL_COLOR_ATTACHMENT2" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT2, GL_TEXTURE_2D_, _selectionTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:288:28: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D_, depthTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:288:44: warning: no header providing "GL_DEPTH_ATTACHMENT" is directly included [misc-include-cleaner] 32 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D_, depthTexture, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:290:11: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | const GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:290:52: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | const GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:291:38: warning: no header providing "GL_FRAMEBUFFER_COMPLETE" is directly included [misc-include-cleaner] 32 | const bool fboValid = (status == GL_FRAMEBUFFER_COMPLETE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:292:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(fboValid); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:294:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:310:37: warning: no header providing "GLbitfield" is directly included [misc-include-cleaner] 29 | void GPUGraphData::clearFramebuffer(GLbitfield buffers) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:312:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, _fbo); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:314:5: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:314:29: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:314:51: warning: no header providing "GL_COLOR_ATTACHMENT1" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:314:73: warning: no header providing "GL_COLOR_ATTACHMENT2" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:315:34: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | glDrawBuffers(3, static_cast(drawBuffers)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:320:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:325:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, _fbo); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:327:5: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:327:29: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:327:51: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:327:60: warning: no header providing "GL_COLOR_ATTACHMENT2" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:328:34: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | glDrawBuffers(3, static_cast(drawBuffers)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:331:13: warning: no header providing "GL_DEPTH_BUFFER_BIT" is directly included [misc-include-cleaner] 29 | glClear(GL_DEPTH_BUFFER_BIT); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:333:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:338:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, _fbo); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:340:5: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:340:29: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:340:51: warning: no header providing "GL_COLOR_ATTACHMENT1" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:340:73: warning: no header providing "GL_COLOR_ATTACHMENT2" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:341:34: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | glDrawBuffers(3, static_cast(drawBuffers)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:359:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | size_t GPUGraphData::numNodes() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:364:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | size_t GPUGraphData::numEdges() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:369:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | size_t GPUGraphData::numGlyphs() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:452:5: warning: no header providing "GLint" is directly included [misc-include-cleaner] 29 | GLint maxSamples = 0; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:454:19: warning: no header providing "GL_MAX_COLOR_TEXTURE_SAMPLES" is directly included [misc-include-cleaner] 32 | glGetIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &maxSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:455:29: warning: no header providing "std::min" is directly included [misc-include-cleaner] 32 | _numMultiSamples = std::min(maxSamples, _numMultiSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:456:19: warning: no header providing "GL_MAX_DEPTH_TEXTURE_SAMPLES" is directly included [misc-include-cleaner] 32 | glGetIntegerv(GL_MAX_DEPTH_TEXTURE_SAMPLES, &maxSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:457:29: warning: no header providing "std::min" is directly included [misc-include-cleaner] 32 | _numMultiSamples = std::min(maxSamples, _numMultiSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:460:75: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_screenShader, u":/shaders/screen.vert"_s, u":/shaders/screen.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:460:103: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_screenShader, u":/shaders/screen.vert"_s, u":/shaders/screen.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:461:76: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_outlineShader, u":/shaders/screen.vert"_s, u":/shaders/outline.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:461:105: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_outlineShader, u":/shaders/screen.vert"_s, u":/shaders/outline.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:462:78: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_selectionShader, u":/shaders/screen.vert"_s, u":/shaders/selection.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:462:109: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_selectionShader, u":/shaders/screen.vert"_s, u":/shaders/selection.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:464:82: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_nodesShader, u":/shaders/instancednodes.vert"_s, u":/shaders/nodecolorads.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:464:116: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_nodesShader, u":/shaders/instancednodes.vert"_s, u":/shaders/nodecolorads.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:465:82: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_edgesShader, u":/shaders/instancededges.vert"_s, u":/shaders/edgecolorads.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:465:116: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_edgesShader, u":/shaders/instancededges.vert"_s, u":/shaders/edgecolorads.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:467:80: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_selectionMarkerShader, u":/shaders/2d.vert"_s, u":/shaders/selectionMarker.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:467:117: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_selectionMarkerShader, u":/shaders/2d.vert"_s, u":/shaders/selectionMarker.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:469:72: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_sdfShader, u":/shaders/screen.vert"_s, u":/shaders/sdf.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:469:97: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_sdfShader, u":/shaders/screen.vert"_s, u":/shaders/sdf.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:470:77: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_textShader, u":/shaders/textrender.vert"_s, u":/shaders/textrender.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:470:109: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | ShaderTools::loadShaderProgram(_textShader, u":/shaders/textrender.vert"_s, u":/shaders/textrender.frag"_s); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:500:21: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | Light(const QVector3D& _position, QColor _color) : | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:500:43: warning: no header providing "QColor" is directly included [misc-include-cleaner] 32 | Light(const QVector3D& _position, QColor _color) : | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:504:9: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | QVector3D position; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:505:9: warning: no header providing "QColor" is directly included [misc-include-cleaner] 32 | QColor color; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:508:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | std::vector lights; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:515:59: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | program.setUniformValue("numberOfLights", static_cast(numberOfLights)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:517:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | for(size_t i = 0; i < numberOfLights; i++) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:519:9: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 32 | QByteArray positionId = u"lights[%1].position"_s.arg(i).toLatin1(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:519:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | QByteArray positionId = u"lights[%1].position"_s.arg(i).toLatin1(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:522:9: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 32 | QByteArray colorId = u"lights[%1].color"_s.arg(i).toLatin1(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:522:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | QByteArray colorId = u"lights[%1].color"_s.arg(i).toLatin1(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:526:44: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | program.setUniformValue("material.ks", QVector3D(1.0f, 1.0f, 1.0f)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:527:44: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 32 | program.setUniformValue("material.ka", QVector3D(0.02f, 0.02f, 0.02f)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:531:50: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | void GraphRendererCore::bindComponentDataTexture(GLenum textureUnit, QOpenGLShaderProgram& shader) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:534:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, _componentDataTexture); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:539:59: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] 29 | shader.setUniformValue("componentData", textureUnit - GL_TEXTURE0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:557:30: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] 29 | bindComponentDataTexture(GL_TEXTURE0, _nodesShader); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:559:59: warning: no header providing "Shading" is directly included [misc-include-cleaner] 22 | _nodesShader.setUniformValue("flatness", shading() == Shading::Flat ? 1.0f : 0.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:559:68: warning: no header providing "Shading_reflector::Enum::Flat" is directly included [misc-include-cleaner] 22 | _nodesShader.setUniformValue("flatness", shading() == Shading::Flat ? 1.0f : 0.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:562:29: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] 29 | glDrawElementsInstanced(GL_TRIANGLES, gpuGraphData._sphere.glIndexCount(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:563:9: warning: no header providing "GL_UNSIGNED_INT" is directly included [misc-include-cleaner] 29 | GL_UNSIGNED_INT, nullptr, static_cast(gpuGraphData.numNodes())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:563:47: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] 29 | GL_UNSIGNED_INT, nullptr, static_cast(gpuGraphData.numNodes())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:566:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:581:30: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] 29 | bindComponentDataTexture(GL_TEXTURE0, _edgesShader); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:583:59: warning: no header providing "Shading" is directly included [misc-include-cleaner] 22 | _edgesShader.setUniformValue("flatness", shading() == Shading::Flat ? 1.0f : 0.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:583:68: warning: no header providing "Shading_reflector::Enum::Flat" is directly included [misc-include-cleaner] 22 | _edgesShader.setUniformValue("flatness", shading() == Shading::Flat ? 1.0f : 0.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:586:29: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] 29 | glDrawElementsInstanced(GL_TRIANGLES, gpuGraphData._arrow.glIndexCount(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:587:9: warning: no header providing "GL_UNSIGNED_INT" is directly included [misc-include-cleaner] 29 | GL_UNSIGNED_INT, nullptr, static_cast(gpuGraphData.numEdges())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:587:47: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] 29 | GL_UNSIGNED_INT, nullptr, static_cast(gpuGraphData.numEdges())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:590:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:600:17: warning: no header providing "GL_ONE" is directly included [misc-include-cleaner] 29 | glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:600:25: warning: no header providing "GL_ONE_MINUS_SRC_ALPHA" is directly included [misc-include-cleaner] 29 | glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:601:14: warning: no header providing "GL_BLEND" is directly included [misc-include-cleaner] 29 | glEnable(GL_BLEND); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:602:15: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] 29 | glDisable(GL_DEPTH_TEST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:603:17: warning: no header providing "GL_FALSE" is directly included [misc-include-cleaner] 29 | glDepthMask(GL_FALSE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:608:21: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] 29 | glActiveTexture(GL_TEXTURE0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:609:19: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glBindTexture(GL_TEXTURE_2D_ARRAY, sdfTexture()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:612:21: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:612:42: warning: no header providing "GL_TEXTURE_MIN_FILTER" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:612:65: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:613:21: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:613:42: warning: no header providing "GL_TEXTURE_MAG_FILTER" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:613:65: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:617:30: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] 29 | bindComponentDataTexture(GL_TEXTURE0 + 1, _textShader); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:620:29: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] 29 | glDrawElementsInstanced(GL_TRIANGLES, Primitive::Rectangle::glIndexCount(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:620:54: warning: no header providing "Primitive::Rectangle" is directly included [misc-include-cleaner] 22 | glDrawElementsInstanced(GL_TRIANGLES, Primitive::Rectangle::glIndexCount(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:621:9: warning: no header providing "GL_UNSIGNED_INT" is directly included [misc-include-cleaner] 29 | GL_UNSIGNED_INT, nullptr, static_cast(gpuGraphData.numGlyphs())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:621:47: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] 29 | GL_UNSIGNED_INT, nullptr, static_cast(gpuGraphData.numGlyphs())); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:624:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:628:15: warning: no header providing "GL_BLEND" is directly included [misc-include-cleaner] 29 | glDisable(GL_BLEND); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:629:14: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] 29 | glEnable(GL_DEPTH_TEST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:630:17: warning: no header providing "GL_TRUE" is directly included [misc-include-cleaner] 29 | glDepthMask(GL_TRUE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:637:12: warning: no header providing "qFuzzyCompare" is directly included [misc-include-cleaner] 32 | if(qFuzzyCompare(gpuGraphData._componentAlpha, componentAlpha) && qFuzzyCompare(gpuGraphData._unhighlightAlpha, unhighlightAlpha)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:637:75: warning: no header providing "qFuzzyCompare" is directly included [misc-include-cleaner] 32 | if(qFuzzyCompare(gpuGraphData._componentAlpha, componentAlpha) && qFuzzyCompare(gpuGraphData._unhighlightAlpha, unhighlightAlpha)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:651:5: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 32 | qWarning() << "Not enough gpuGraphData instances for" << componentAlpha << unhighlightAlpha; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:653:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 32 | qWarning() << " " << gpuGraphData._componentAlpha << gpuGraphData._unhighlightAlpha; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:662:39: warning: no header providing "qFuzzyCompare" is directly included [misc-include-cleaner] 32 | if(gpuGraphData._isOverlay && qFuzzyCompare(gpuGraphData._componentAlpha, alpha)) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:677:5: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 32 | qWarning() << "Not enough gpuGraphData instances for overlay" << alpha; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:680:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 32 | qWarning() << " " << gpuGraphData._componentAlpha << | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:708:54: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 32 | void GraphRendererCore::appendGPUComponentData(const QMatrix4x4& modelViewMatrix, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:709:11: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 32 | const QMatrix4x4& projectionMatrix, float distance, float lightScale) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:711:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | std::vector componentDataElement; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:725:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(_componentDataElementSize == 0 || _componentDataElementSize == componentDataElement.size()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:731:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, _componentDataTexture); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:732:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 32 | Q_ASSERT(_componentData.size() <= static_cast(_componentDataMaxTextureSize * _componentDataMaxTextureSize)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:732:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | Q_ASSERT(_componentData.size() <= static_cast(_componentDataMaxTextureSize * _componentDataMaxTextureSize)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:733:11: warning: no header providing "GLint" is directly included [misc-include-cleaner] 29 | const GLint textureHeight = (static_cast(_componentData.size()) / _componentDataMaxTextureSize) + 1; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:733:46: warning: no header providing "GLint" is directly included [misc-include-cleaner] 29 | const GLint textureHeight = (static_cast(_componentData.size()) / _componentDataMaxTextureSize) + 1; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:734:18: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:734:36: warning: no header providing "GL_R32F" is directly included [misc-include-cleaner] 32 | glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:735:57: warning: no header providing "GL_RED" is directly included [misc-include-cleaner] 29 | _componentDataMaxTextureSize, textureHeight, 0, GL_RED, GL_FLOAT, _componentData.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:735:65: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | _componentDataMaxTextureSize, textureHeight, 0, GL_RED, GL_FLOAT, _componentData.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:736:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:739:1: warning: no header providing "Shading" is directly included [misc-include-cleaner] 22 | Shading GraphRendererCore::shading() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:744:36: warning: no header providing "Shading" is directly included [misc-include-cleaner] 22 | void GraphRendererCore::setShading(Shading shading) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:752:26: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | auto w = static_cast(width); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:753:26: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | auto h = static_cast(height); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:754:5: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | GLfloat quadData[] = | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:779:58: warning: no header providing "GL_DEPTH_COMPONENT32F" is directly included [misc-include-cleaner] 32 | setupTexture(this, _depthTexture, width, height, GL_DEPTH_COMPONENT32F, _numMultiSamples); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:805:48: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 32 | _selectionMarkerDataBuffer.setUsagePattern(QOpenGLBuffer::DynamicDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:811:59: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | _selectionMarkerShader.setAttributeBuffer("position", GL_FLOAT, 0, 2, 5 * sizeof(GLfloat)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:811:86: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | _selectionMarkerShader.setAttributeBuffer("position", GL_FLOAT, 0, 2, 5 * sizeof(GLfloat)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:812:56: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | _selectionMarkerShader.setAttributeBuffer("color", GL_FLOAT, 2 * sizeof(GLfloat), 3, 5 * sizeof(GLfloat)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:812:77: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | _selectionMarkerShader.setAttributeBuffer("color", GL_FLOAT, 2 * sizeof(GLfloat), 3, 5 * sizeof(GLfloat)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:812:101: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | _selectionMarkerShader.setAttributeBuffer("color", GL_FLOAT, 2 * sizeof(GLfloat), 3, 5 * sizeof(GLfloat)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:830:43: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 32 | _screenQuadDataBuffer.setUsagePattern(QOpenGLBuffer::DynamicDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:837:48: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 29 | shader->setAttributeBuffer("position", GL_FLOAT, 0, 2, 2 * sizeof(GLfloat)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:837:75: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | shader->setAttributeBuffer("position", GL_FLOAT, 0, 2, 2 * sizeof(GLfloat)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:857:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, _componentDataTexture); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:858:21: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); // Effectively disable mipmaps | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:858:36: warning: no header providing "GL_TEXTURE_MIN_FILTER" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); // Effectively disable mipmaps | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:858:59: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); // Effectively disable mipmaps | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:859:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:861:19: warning: no header providing "GL_MAX_TEXTURE_SIZE" is directly included [misc-include-cleaner] 29 | glGetIntegerv(GL_MAX_TEXTURE_SIZE, &_componentDataMaxTextureSize); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:864:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | std::vector GraphRendererCore::gpuGraphDataRenderOrder() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:864:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | std::vector GraphRendererCore::gpuGraphDataRenderOrder() const | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:866:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | std::vector renderOrder; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:866:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | std::vector renderOrder; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:869:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | for(size_t i = 0; i < _gpuGraphData.size(); i++) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:872:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 32 | std::sort(renderOrder.begin(), renderOrder.end(), [this](auto a, auto b) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:887:28: warning: no header providing "std::remove_if" is directly included [misc-include-cleaner] 32 | renderOrder.erase(std::remove_if(renderOrder.begin(), renderOrder.end(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:898:14: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] 29 | glEnable(GL_DEPTH_TEST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:899:14: warning: no header providing "GL_CULL_FACE" is directly included [misc-include-cleaner] 29 | glEnable(GL_CULL_FACE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:900:16: warning: no header providing "GL_BACK" is directly included [misc-include-cleaner] 29 | glCullFace(GL_BACK); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:901:17: warning: no header providing "GL_CCW" is directly included [misc-include-cleaner] 29 | glFrontFace(GL_CCW); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:902:15: warning: no header providing "GL_BLEND" is directly included [misc-include-cleaner] 29 | glDisable(GL_BLEND); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:903:15: warning: no header providing "GL_DITHER" is directly included [misc-include-cleaner] 29 | glDisable(GL_DITHER); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:906:14: warning: no header providing "GL_MULTISAMPLE" is directly included [misc-include-cleaner] 29 | glEnable(GL_MULTISAMPLE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:912:18: warning: no header providing "GL_SAMPLE_SHADING_ARB" is directly included [misc-include-cleaner] 32 | glEnable(GL_SAMPLE_SHADING_ARB); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:934:39: warning: no header providing "GL_COLOR_BUFFER_BIT" is directly included [misc-include-cleaner] 29 | gpuGraphData.clearFramebuffer(GL_COLOR_BUFFER_BIT); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:939:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(u::pref(u"visuals/showEdges"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:946:19: warning: no header providing "GL_SAMPLE_SHADING_ARB" is directly included [misc-include-cleaner] 32 | glDisable(GL_SAMPLE_SHADING_ARB); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:949:15: warning: no header providing "GL_MULTISAMPLE" is directly included [misc-include-cleaner] 29 | glDisable(GL_MULTISAMPLE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:953:34: warning: no header providing "QRect" is directly included [misc-include-cleaner] 32 | void GraphRendererCore::render2D(QRect selectionRect) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:962:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, gpuGraphData._fbo); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:964:15: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] 29 | glDisable(GL_DEPTH_TEST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:965:14: warning: no header providing "GL_CULL_FACE" is directly included [misc-include-cleaner] 29 | glEnable(GL_CULL_FACE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:966:16: warning: no header providing "GL_BACK" is directly included [misc-include-cleaner] 29 | glCullFace(GL_BACK); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:967:17: warning: no header providing "GL_CCW" is directly included [misc-include-cleaner] 29 | glFrontFace(GL_CCW); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:971:5: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 32 | QMatrix4x4 m; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:976:15: warning: no header providing "QColor" is directly included [misc-include-cleaner] 32 | const QColor color(Qt::white); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:976:32: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] 32 | const QColor color(Qt::white); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:978:9: warning: no header providing "QRect" is directly included [misc-include-cleaner] 32 | QRect r; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:984:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | std::vector quadData = | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:984:21: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | std::vector quadData = | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:986:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.left()), static_cast(r.bottom()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:986:57: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.left()), static_cast(r.bottom()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:987:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:987:61: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:987:98: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:988:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.right()), static_cast(r.bottom()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:988:58: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.right()), static_cast(r.bottom()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:989:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:989:61: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:989:98: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:990:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.right()), static_cast(r.top()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:990:58: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.right()), static_cast(r.top()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:991:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:991:61: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:991:98: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:993:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.right()), static_cast(r.top()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:993:58: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.right()), static_cast(r.top()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:994:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:994:61: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:994:98: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:995:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.left()), static_cast(r.top()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:995:58: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.left()), static_cast(r.top()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:996:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:996:61: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:996:98: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:997:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.left()), static_cast(r.bottom()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:997:58: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(r.left()), static_cast(r.bottom()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:998:25: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:998:61: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:998:98: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(color.redF()), static_cast(color.blueF()), static_cast(color.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1001:9: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_NONE, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1001:33: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_NONE, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1001:42: warning: no header providing "GL_NONE" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_NONE, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1001:51: warning: no header providing "GL_COLOR_ATTACHMENT2" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_NONE, GL_NONE, GL_COLOR_ATTACHMENT2}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1002:38: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | glDrawBuffers(3, static_cast(drawBuffers)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1005:104: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | _selectionMarkerDataBuffer.allocate(quadData.data(), static_cast(quadData.size() * sizeof(GLfloat))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1011:22: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] 29 | glDrawArrays(GL_TRIANGLES, 0, 6); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1021:14: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] 29 | glEnable(GL_DEPTH_TEST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1024:31: warning: no header providing "OpenGLFunctions" is directly included [misc-include-cleaner] 22 | static void render2DComposite(OpenGLFunctions& f, QOpenGLShaderProgram& shader, GLuint texture, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1024:81: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | static void render2DComposite(OpenGLFunctions& f, QOpenGLShaderProgram& shader, GLuint texture, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1030:23: warning: no header providing "GL_TEXTURE0" is directly included [misc-include-cleaner] 29 | f.glActiveTexture(GL_TEXTURE0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1032:20: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] 29 | f.glDrawArrays(GL_TRIANGLES, 0, 6); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1036:40: warning: no header providing "Flags" is directly included [misc-include-cleaner] 27 | void GraphRendererCore::renderToScreen(Flags type) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1040:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | auto backgroundColor = u::pref(u"visuals/backgroundColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1040:72: warning: no header providing "QColor" is directly included [misc-include-cleaner] 32 | auto backgroundColor = u::pref(u"visuals/backgroundColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1042:30: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | glClearColor(static_cast(backgroundColor.redF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1043:21: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(backgroundColor.greenF()), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1044:21: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | static_cast(backgroundColor.blueF()), 1.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1046:13: warning: no header providing "GL_COLOR_BUFFER_BIT" is directly included [misc-include-cleaner] 29 | glClear(GL_COLOR_BUFFER_BIT); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1048:15: warning: no header providing "GL_DEPTH_TEST" is directly included [misc-include-cleaner] 29 | glDisable(GL_DEPTH_TEST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1050:5: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 32 | QMatrix4x4 m; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1058:25: warning: no header providing "GL_SRC_ALPHA" is directly included [misc-include-cleaner] 29 | glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ZERO, GL_ONE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1058:39: warning: no header providing "GL_ONE_MINUS_SRC_ALPHA" is directly included [misc-include-cleaner] 29 | glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ZERO, GL_ONE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1058:63: warning: no header providing "GL_ZERO" is directly included [misc-include-cleaner] 29 | glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ZERO, GL_ONE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1058:72: warning: no header providing "GL_ONE" is directly included [misc-include-cleaner] 29 | glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ZERO, GL_ONE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1059:14: warning: no header providing "GL_BLEND" is directly included [misc-include-cleaner] 29 | glEnable(GL_BLEND); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1072:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | u::pref(u"visuals/highlightColor"_s).value()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1072:52: warning: no header providing "QColor" is directly included [misc-include-cleaner] 32 | u::pref(u"visuals/highlightColor"_s).value()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1091:29: warning: no header providing "Shading" is directly included [misc-include-cleaner] 22 | _shading == Shading::Flat && !graphData._isOverlay; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1091:38: warning: no header providing "Shading_reflector::Enum::Flat" is directly included [misc-include-cleaner] 22 | _shading == Shading::Flat && !graphData._isOverlay; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1098:28: warning: no header providing "Shading" is directly included [misc-include-cleaner] 22 | if(_shading == Shading::Flat && graphData.hasGraphElements()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1098:37: warning: no header providing "Shading_reflector::Enum::Flat" is directly included [misc-include-cleaner] 22 | if(_shading == Shading::Flat && graphData.hasGraphElements()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1118:1: warning: no header providing "QSize" is directly included [misc-include-cleaner] 32 | QSize GraphRendererCore::renderSdfTexture(const GlyphMap& glyphMap, GLuint texture) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1118:69: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | QSize GraphRendererCore::renderSdfTexture(const GlyphMap& glyphMap, GLuint texture) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1130:5: warning: no header providing "QMatrix4x4" is directly included [misc-include-cleaner] 32 | QMatrix4x4 m; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1136:59: warning: no header providing "GLfloat" is directly included [misc-include-cleaner] 29 | _sdfShader.setUniformValue("scaleFactor", static_cast(scaleFactor)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1137:43: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 32 | _sdfShader.setUniformValue("texSize", QPoint(sourceWidth, sourceHeight)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1143:14: warning: no header providing "GL_BLEND" is directly included [misc-include-cleaner] 29 | glEnable(GL_BLEND); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1144:15: warning: no header providing "GL_CULL_FACE" is directly included [misc-include-cleaner] 29 | glDisable(GL_CULL_FACE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1145:17: warning: no header providing "GL_FALSE" is directly included [misc-include-cleaner] 29 | glDepthMask(GL_FALSE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1147:5: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | GLuint fbo = 0u; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1149:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, fbo); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1151:19: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glBindTexture(GL_TEXTURE_2D_ARRAY, texture); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1152:21: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1152:42: warning: no header providing "GL_TEXTURE_WRAP_S" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1152:61: warning: no header providing "GL_CLAMP_TO_EDGE" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1153:21: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1153:42: warning: no header providing "GL_TEXTURE_WRAP_T" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1153:61: warning: no header providing "GL_CLAMP_TO_EDGE" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1154:21: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1154:42: warning: no header providing "GL_TEXTURE_MIN_FILTER" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1154:65: warning: no header providing "GL_NEAREST" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1155:21: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1155:42: warning: no header providing "GL_TEXTURE_MAG_FILTER" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1155:65: warning: no header providing "GL_NEAREST" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1157:18: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1157:42: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 29 | glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1158:48: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] 29 | renderWidth, renderHeight, static_cast(numImages), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1159:12: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 29 | 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1159:21: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] 29 | 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1161:5: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 29 | GLuint sourceTexture; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1164:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, sourceTexture); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1165:21: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1165:36: warning: no header providing "GL_TEXTURE_WRAP_S" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1165:55: warning: no header providing "GL_CLAMP_TO_EDGE" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1166:21: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1166:36: warning: no header providing "GL_TEXTURE_WRAP_T" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1166:55: warning: no header providing "GL_CLAMP_TO_EDGE" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1167:21: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1167:36: warning: no header providing "GL_TEXTURE_MIN_FILTER" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1167:59: warning: no header providing "GL_NEAREST" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1168:21: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1168:36: warning: no header providing "GL_TEXTURE_MAG_FILTER" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1168:59: warning: no header providing "GL_LINEAR" is directly included [misc-include-cleaner] 29 | glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1171:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | for(size_t layer = 0; layer < numImages; layer++) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1173:35: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture, 0, static_cast(layer)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1173:51: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 32 | glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture, 0, static_cast(layer)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1173:97: warning: no header providing "GLint" is directly included [misc-include-cleaner] 29 | glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture, 0, static_cast(layer)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1175:9: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1175:33: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 32 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1176:38: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 29 | glDrawBuffers(1, static_cast(drawBuffers)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1178:37: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | if(glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1178:56: warning: no header providing "GL_FRAMEBUFFER_COMPLETE" is directly included [misc-include-cleaner] 32 | if(glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1180:13: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 32 | qWarning() << "FBO incomplete while rendering SDF textures"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1185:77: warning: no header providing "QImage" is directly included [misc-include-cleaner] 32 | auto image = glyphMap.images().at(layer).mirrored().convertToFormat(QImage::Format_RGBA8888); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1186:22: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, image.width(), image.height(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1186:40: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 29 | glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, image.width(), image.height(), | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1187:16: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 29 | 0, GL_RGBA, GL_UNSIGNED_BYTE, image.bits()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1187:25: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] 29 | 0, GL_RGBA, GL_UNSIGNED_BYTE, image.bits()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1189:22: warning: no header providing "GL_TRIANGLES" is directly included [misc-include-cleaner] 29 | glDrawArrays(GL_TRIANGLES, 0, 6); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1191:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | if(u::pref(u"debug/saveGlyphMaps"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1195:18: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | std::vector pixels(static_cast(renderWidth * renderHeight * 4)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1195:25: warning: no header providing "uchar" is directly included [misc-include-cleaner] 32 | std::vector pixels(static_cast(renderWidth * renderHeight * 4)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1195:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | std::vector pixels(static_cast(renderWidth * renderHeight * 4)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1196:59: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 29 | glReadPixels(0, 0, renderWidth, renderHeight, GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1196:68: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] 29 | glReadPixels(0, 0, renderWidth, renderHeight, GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1197:13: warning: no header providing "QImage" is directly included [misc-include-cleaner] 32 | QImage sdfImage(pixels.data(), renderWidth, renderHeight, QImage::Format_RGBA8888); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1197:71: warning: no header providing "QImage" is directly included [misc-include-cleaner] 32 | QImage sdfImage(pixels.data(), renderWidth, renderHeight, QImage::Format_RGBA8888); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1199:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 32 | sdfImage.save(u"%1/graphia-SDF%2.png"_s.arg(QDir::tempPath(), QString::number(layer))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1199:57: warning: no header providing "QDir" is directly included [misc-include-cleaner] 32 | sdfImage.save(u"%1/graphia-SDF%2.png"_s.arg(QDir::tempPath(), QString::number(layer))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1203:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 29 | glBindTexture(GL_TEXTURE_2D, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1206:19: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 32 | glBindTexture(GL_TEXTURE_2D_ARRAY, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1207:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 32 | glBindFramebuffer(GL_FRAMEBUFFER, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:1215:17: warning: no header providing "GL_TRUE" is directly included [misc-include-cleaner] 29 | glDepthMask(GL_TRUE); | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: warning: 'I' is confusable with 'l' [misc-confusable-identifiers] 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: note: other declaration found here 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t 23617 warnings generated. [137/195] /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:21:1: warning: included header QOpenGLDebugLogger is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:22:1: warning: included header QOpenGLContext is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:23:1: warning: included header QDebug is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:25:38: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | 25 | OpenGLDebugLogger::OpenGLDebugLogger(QObject* parent) : | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:26:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | 25 | OpenGLDebugLogger::OpenGLDebugLogger(QObject* parent) : 26 | QObject(parent), _debugLevel(qEnvironmentVariableIntValue("OPENGL_DEBUG")) | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:26:34: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 24 | 25 | OpenGLDebugLogger::OpenGLDebugLogger(QObject* parent) : 26 | QObject(parent), _debugLevel(qEnvironmentVariableIntValue("OPENGL_DEBUG")) | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:33:19: warning: no header providing "QList" is directly included [misc-include-cleaner] 24 | 25 | OpenGLDebugLogger::OpenGLDebugLogger(QObject* parent) : 26 | QObject(parent), _debugLevel(qEnvironmentVariableIntValue("OPENGL_DEBUG")) 27 | { 28 | if(_debugLevel != 0) 29 | { 30 | _logger = new QOpenGLDebugLogger(this); 31 | if(_logger->initialize()) 32 | { 33 | const QList startupMessages = _logger->loggedMessages(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:36:68: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 24 | 25 | OpenGLDebugLogger::OpenGLDebugLogger(QObject* parent) : 26 | QObject(parent), _debugLevel(qEnvironmentVariableIntValue("OPENGL_DEBUG")) 27 | { 28 | if(_debugLevel != 0) 29 | { 30 | _logger = new QOpenGLDebugLogger(this); 31 | if(_logger->initialize()) 32 | { 33 | const QList startupMessages = _logger->loggedMessages(); 34 | 35 | connect(_logger, &QOpenGLDebugLogger::messageLogged, 36 | this, &OpenGLDebugLogger::onMessageLogged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:49:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 24 | qDebug() << "Debugging requested but logger failed to initialize"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:51:35: warning: no header providing "QOpenGLContext" is directly included [misc-include-cleaner] 24 | const auto* context = QOpenGLContext::currentContext(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:52:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 24 | Q_ASSERT(context != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:54:39: warning: no header providing "QByteArrayLiteral" is directly included [misc-include-cleaner] 24 | if(!context->hasExtension(QByteArrayLiteral("GL_KHR_debug"))) | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:55:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 24 | qDebug() << "...GL_KHR_debug not available"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/opengldebuglogger.cpp:74:5: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 24 | qDebug() << "OpenGL:" << message.message(); | ^ 18613 warnings generated. [138/195] /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:21:1: warning: included header QOpenGLExtraFunctions is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:22:1: warning: included header QOpenGLContext is not used directly [misc-include-cleaner] 22 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:23:1: warning: included header QSurfaceFormat is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:24:1: warning: included header QOffscreenSurface is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:30:27: warning: no header providing "QOpenGLContext" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:31:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); 31 | Q_ASSERT(context != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:36:9: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); 31 | Q_ASSERT(context != nullptr); 32 | 33 | if(!initializeOpenGLFunctions()) 34 | { 35 | // This should never happen if hasOpenGLSupport has returned true 36 | qFatal("Could not obtain required OpenGL context version"); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:39:30: warning: no header providing "QByteArrayLiteral" is directly included [misc-include-cleaner] 25 | 26 | using namespace Qt::Literals::StringLiterals; 27 | 28 | void OpenGLFunctions::resolveOpenGLFunctions() 29 | { 30 | const auto* context = QOpenGLContext::currentContext(); 31 | Q_ASSERT(context != nullptr); 32 | 33 | if(!initializeOpenGLFunctions()) 34 | { 35 | // This should never happen if hasOpenGLSupport has returned true 36 | qFatal("Could not obtain required OpenGL context version"); 37 | } 38 | 39 | if(context->hasExtension(QByteArrayLiteral("GL_ARB_sample_shading"))) | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:41:56: warning: no header providing "PFNGLMINSAMPLESHADINGARBPROC" is directly included [misc-include-cleaner] 25 | _glMinSampleShadingARBFnPtr = reinterpret_cast( | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:45:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 25 | qDebug() << "Failed to resolve glMinSampleShadingARB"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:49:1: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat OpenGLFunctions::minimumFormat() | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:51:5: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat format; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:58:30: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | format.setRenderableType(QSurfaceFormat::OpenGL); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:59:23: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | format.setProfile(QSurfaceFormat::CoreProfile); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:70:32: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | const auto defaultFormat = QSurfaceFormat::defaultFormat(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:71:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 25 | const std::pair defaultVersion = {defaultFormat.majorVersion(), defaultFormat.minorVersion()}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:73:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 25 | const std::pair requestVersion = {requestFormat.majorVersion(), requestFormat.minorVersion()}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:76:9: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat::setDefaultFormat(requestFormat); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:84:5: warning: no header providing "QOpenGLContext" is directly included [misc-include-cleaner] 25 | QOpenGLContext _context; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:85:5: warning: no header providing "QOffscreenSurface" is directly included [misc-include-cleaner] 25 | QOffscreenSurface _surface; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:86:5: warning: no header providing "QOpenGLExtraFunctions" is directly included [misc-include-cleaner] 25 | QOpenGLExtraFunctions* _f = nullptr; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:88:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString GLubyteToQString(const GLubyte* bytes) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:88:36: warning: no header providing "GLubyte" is directly included [misc-include-cleaner] 21 | QString GLubyteToQString(const GLubyte* bytes) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:90:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString text; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:99:35: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | explicit QueryFunctions(const QSurfaceFormat& surfaceFormat) | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:125:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString getString(GLenum name) const { return GLubyteToQString(_f->glGetString(name)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:125:23: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 21 | QString getString(GLenum name) const { return GLubyteToQString(_f->glGetString(name)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:126:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString getString(GLenum name, GLuint index) const { return GLubyteToQString(_f->glGetStringi(name, index)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:126:23: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 21 | QString getString(GLenum name, GLuint index) const { return GLubyteToQString(_f->glGetStringi(name, index)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:126:36: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 21 | QString getString(GLenum name, GLuint index) const { return GLubyteToQString(_f->glGetStringi(name, index)); } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:128:5: warning: no header providing "QOpenGLExtraFunctions" is directly included [misc-include-cleaner] 25 | QOpenGLExtraFunctions* operator->() { return _f; } | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:133:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString OpenGLFunctions::vendor() | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:137:5: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | QSurfaceFormat format; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:146:24: warning: no header providing "GL_VENDOR" is directly included [misc-include-cleaner] 21 | return f.getString(GL_VENDOR); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:149:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString OpenGLFunctions::info() | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:151:19: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 25 | auto format = QSurfaceFormat::defaultFormat(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:157:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString extensions; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:158:5: warning: no header providing "GLint" is directly included [misc-include-cleaner] 21 | GLint numExtensions = 0; | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:159:22: warning: no header providing "GL_NUM_EXTENSIONS" is directly included [misc-include-cleaner] 25 | f->glGetIntegerv(GL_NUM_EXTENSIONS, &numExtensions); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:160:9: warning: no header providing "GLint" is directly included [misc-include-cleaner] 21 | for(GLint i = 0; i < numExtensions; i++) | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:162:39: warning: no header providing "GL_EXTENSIONS" is directly included [misc-include-cleaner] 21 | extensions.append(f.getString(GL_EXTENSIONS, static_cast(i))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:162:66: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 21 | extensions.append(f.getString(GL_EXTENSIONS, static_cast(i))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:166:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | return u"%1\n%2\n%3\n%4\n%5"_s | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:167:26: warning: no header providing "GL_VENDOR" is directly included [misc-include-cleaner] 21 | .arg(f.getString(GL_VENDOR), | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:168:26: warning: no header providing "GL_RENDERER" is directly included [misc-include-cleaner] 21 | f.getString(GL_RENDERER), | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:169:26: warning: no header providing "GL_VERSION" is directly included [misc-include-cleaner] 21 | f.getString(GL_VERSION), | ^ /home/runner/work/graphia/graphia/source/app/rendering/openglfunctions.cpp:170:26: warning: no header providing "GL_SHADING_LANGUAGE_VERSION" is directly included [misc-include-cleaner] 25 | f.getString(GL_SHADING_LANGUAGE_VERSION), | ^ [139/195] /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:24:1: warning: included header QOpenGLShaderProgram is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:31:21: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | 29 | // NOLINTNEXTLINE modernize-use-equals-default 30 | Arrow::Arrow() : 31 | _positionBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:32:19: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | 29 | // NOLINTNEXTLINE modernize-use-equals-default 30 | Arrow::Arrow() : 31 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 32 | _normalBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:33:25: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | 29 | // NOLINTNEXTLINE modernize-use-equals-default 30 | Arrow::Arrow() : 31 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 32 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 33 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:34:18: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | 29 | // NOLINTNEXTLINE modernize-use-equals-default 30 | Arrow::Arrow() : 31 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 32 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 33 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 34 | _indexBuffer(QOpenGLBuffer::IndexBuffer) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:38:20: warning: no header providing "QOpenGLShaderProgram" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | 29 | // NOLINTNEXTLINE modernize-use-equals-default 30 | Arrow::Arrow() : 31 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 32 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 33 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 34 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 35 | { 36 | } 37 | 38 | void Arrow::create(QOpenGLShaderProgram& shader) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:40:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | 29 | // NOLINTNEXTLINE modernize-use-equals-default 30 | Arrow::Arrow() : 31 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 32 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 33 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 34 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 35 | { 36 | } 37 | 38 | void Arrow::create(QOpenGLShaderProgram& shader) 39 | { 40 | std::vector vertices; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:41:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector normals; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:42:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector texCoords; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:43:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector tangents; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:44:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:49:37: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _positionBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:54:35: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _normalBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:59:41: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _textureCoordBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:64:36: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _tangentBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:69:34: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _indexBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:82:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexPosition", GL_FLOAT, 0, 3); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:86:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexNormal", GL_FLOAT, 0, 3); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:90:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexTexCoord", GL_FLOAT, 0, 2); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:94:48: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexTangent", GL_FLOAT, 0, 4); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:109:37: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | void Arrow::generateVertexData(std::vector& vertices, std::vector& normals, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:109:67: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | void Arrow::generateVertexData(std::vector& vertices, std::vector& normals, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:110:40: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector& texCoords, std::vector& tangents, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:110:71: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector& texCoords, std::vector& tangents, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:111:40: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector& indices) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:125:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | size_t index = 0, texCoordIndex = 0, tangentIndex = 0; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:127:11: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | const QVector3D coneTip(0.0f, _length * 0.5f, 0.0f); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:130:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t slice = 0U; slice < _slices + 1; slice++) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:187:9: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D bottom(vertices[index + 0], | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:192:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | const QVector3D baseToTipTangent = coneTip - bottom; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:195:9: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D baseTangent = QVector3D::crossProduct(baseToTipTangent, bottom); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:195:33: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D baseTangent = QVector3D::crossProduct(baseToTipTangent, bottom); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:197:9: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D baseNormal = QVector3D::crossProduct(baseTangent, baseToTipTangent); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/arrow.cpp:197:32: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 25 | QVector3D baseNormal = QVector3D::crossProduct(baseTangent, baseToTipTangent); | ^ 18954 warnings generated. [140/195] /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:27:21: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:28:19: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:29:25: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 29 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:30:18: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 29 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 30 | _indexBuffer(QOpenGLBuffer::IndexBuffer) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:34:37: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 29 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 30 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 31 | { 32 | } 33 | 34 | static void generateVertexData(std::vector& vertices, std::vector& normals, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:34:67: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 29 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 30 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 31 | { 32 | } 33 | 34 | static void generateVertexData(std::vector& vertices, std::vector& normals, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:35:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 29 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 30 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 31 | { 32 | } 33 | 34 | static void generateVertexData(std::vector& vertices, std::vector& normals, 35 | std::vector& texCoords, std::vector& tangents, std::vector& indices) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:35:41: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 29 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 30 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 31 | { 32 | } 33 | 34 | static void generateVertexData(std::vector& vertices, std::vector& normals, 35 | std::vector& texCoords, std::vector& tangents, std::vector& indices) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:35:71: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | 23 | namespace Primitive 24 | { 25 | // NOLINTNEXTLINE modernize-use-equals-default 26 | Rectangle::Rectangle() : 27 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 28 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 29 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 30 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 31 | { 32 | } 33 | 34 | static void generateVertexData(std::vector& vertices, std::vector& normals, 35 | std::vector& texCoords, std::vector& tangents, std::vector& indices) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:60:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t i = 0; i < 4; ++i) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:92:24: warning: no header providing "QOpenGLShaderProgram" is directly included [misc-include-cleaner] 22 | void Rectangle::create(QOpenGLShaderProgram &shader) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:94:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | std::vector vertices; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:95:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | std::vector normals; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:96:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | std::vector texCoords; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:97:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | std::vector tangents; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:98:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 22 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:103:37: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | _positionBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:108:35: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | _normalBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:113:41: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | _textureCoordBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:118:36: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | _tangentBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:123:34: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 22 | _indexBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:136:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexPosition", GL_FLOAT, 0, 3); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:140:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexNormal", GL_FLOAT, 0, 3); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:144:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexTexCoord", GL_FLOAT, 0, 2); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:148:48: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexTangent", GL_FLOAT, 0, 4); | ^ 18946 warnings generated. [141/195] /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:24:1: warning: included header QOpenGLShaderProgram is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:30:21: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | // NOLINTNEXTLINE modernize-use-equals-default 29 | Sphere::Sphere() : 30 | _positionBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:31:19: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | // NOLINTNEXTLINE modernize-use-equals-default 29 | Sphere::Sphere() : 30 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 31 | _normalBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:32:25: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | // NOLINTNEXTLINE modernize-use-equals-default 29 | Sphere::Sphere() : 30 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 31 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 32 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:33:18: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | // NOLINTNEXTLINE modernize-use-equals-default 29 | Sphere::Sphere() : 30 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 31 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 32 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 33 | _indexBuffer(QOpenGLBuffer::IndexBuffer) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:37:21: warning: no header providing "QOpenGLShaderProgram" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | // NOLINTNEXTLINE modernize-use-equals-default 29 | Sphere::Sphere() : 30 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 31 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 32 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 33 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 34 | { 35 | } 36 | 37 | void Sphere::create(QOpenGLShaderProgram& shader) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:39:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | // NOLINTNEXTLINE modernize-use-equals-default 29 | Sphere::Sphere() : 30 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 31 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 32 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 33 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 34 | { 35 | } 36 | 37 | void Sphere::create(QOpenGLShaderProgram& shader) 38 | { 39 | std::vector vertices; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:40:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | 26 | namespace Primitive 27 | { 28 | // NOLINTNEXTLINE modernize-use-equals-default 29 | Sphere::Sphere() : 30 | _positionBuffer(QOpenGLBuffer::VertexBuffer), 31 | _normalBuffer(QOpenGLBuffer::VertexBuffer), 32 | _textureCoordBuffer(QOpenGLBuffer::VertexBuffer), 33 | _indexBuffer(QOpenGLBuffer::IndexBuffer) 34 | { 35 | } 36 | 37 | void Sphere::create(QOpenGLShaderProgram& shader) 38 | { 39 | std::vector vertices; 40 | std::vector normals; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:41:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector texCoords; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:42:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector tangents; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:43:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:48:37: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _positionBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:53:35: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _normalBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:58:41: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _textureCoordBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:63:36: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _tangentBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:68:34: warning: no header providing "QOpenGLBuffer" is directly included [misc-include-cleaner] 25 | _indexBuffer.setUsagePattern(QOpenGLBuffer::StaticDraw); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:81:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexPosition", GL_FLOAT, 0, 3); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:85:47: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexNormal", GL_FLOAT, 0, 3); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:89:49: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexTexCoord", GL_FLOAT, 0, 2); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:93:48: warning: no header providing "GL_FLOAT" is directly included [misc-include-cleaner] 21 | shader.setAttributeBuffer("vertexTangent", GL_FLOAT, 0, 4); | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:108:38: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | void Sphere::generateVertexData(std::vector& vertices, std::vector& normals, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:108:68: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | void Sphere::generateVertexData(std::vector& vertices, std::vector& normals, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:109:38: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector& texCoords, std::vector& tangents, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:109:69: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector& texCoords, std::vector& tangents, | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:110:38: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 25 | std::vector& indices) const | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:129:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | size_t index = 0, texCoordIndex = 0, tangentIndex = 0; | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:130:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t lat = 0U; lat < _rings + 1; ++lat) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:138:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t lon = 0U; lon < _slices + 1; ++lon) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:173:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t j = 0U; j < _slices; ++j) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:182:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t i = 1U; i < (_rings - 1); ++i) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:187:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t j = 0U; j < _slices; ++j) | ^ /home/runner/work/graphia/graphia/source/app/rendering/primitives/sphere.cpp:205:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 22 | for(size_t j = 0U; j < _slices; ++j) | ^ 18952 warnings generated. [142/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:21:1: warning: included header graph.h is not used directly [misc-include-cleaner] 21 | #include "graph/graph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:28:1: warning: included header document.h is not used directly [misc-include-cleaner] 28 | #include "ui/document.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 29 | #include "ui/visualisations/elementvisual.h" /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:29:1: warning: included header elementvisual.h is not used directly [misc-include-cleaner] 29 | #include "ui/visualisations/elementvisual.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:31:1: warning: included header QBuffer is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:32:1: warning: included header QDir is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~ 33 | #include /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:33:1: warning: included header QQuickOpenGLUtils is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:46:29: warning: no header providing "QSize" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | static const int TILE_SIZE = 1024; 38 | 39 | // With some of the post-process fragment shaders, rendering at the edges may 40 | // cause artefacts. Normally this isn't much of a problem, but when tile rendering, 41 | // said artefacts show up at every tile boundary. The solution is to overscan the 42 | // tile slightly, but only use the centre pixels when composing the final image. 43 | static const int TILE_EXTRA = 2; 44 | static const int TILE_SIZE_PLUS_EXTRA = TILE_SIZE + (2 * TILE_EXTRA); 45 | 46 | static QString fetchPreview(QSize screenshotSize) | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:49:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | static const int TILE_SIZE = 1024; 38 | 39 | // With some of the post-process fragment shaders, rendering at the edges may 40 | // cause artefacts. Normally this isn't much of a problem, but when tile rendering, 41 | // said artefacts show up at every tile boundary. The solution is to overscan the 42 | // tile slightly, but only use the centre pixels when composing the final image. 43 | static const int TILE_EXTRA = 2; 44 | static const int TILE_SIZE_PLUS_EXTRA = TILE_SIZE + (2 * TILE_EXTRA); 45 | 46 | static QString fetchPreview(QSize screenshotSize) 47 | { 48 | auto pixelCount = screenshotSize.width() * screenshotSize.height() * 4; 49 | std::vector pixels(static_cast(pixelCount)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:49:17: warning: no header providing "GLubyte" is directly included [misc-include-cleaner] 31 | std::vector pixels(static_cast(pixelCount)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:49:45: warning: no header providing "size_t" is directly included [misc-include-cleaner] 34 | 35 | using namespace Qt::Literals::StringLiterals; 36 | 37 | static const int TILE_SIZE = 1024; 38 | 39 | // With some of the post-process fragment shaders, rendering at the edges may 40 | // cause artefacts. Normally this isn't much of a problem, but when tile rendering, 41 | // said artefacts show up at every tile boundary. The solution is to overscan the 42 | // tile slightly, but only use the centre pixels when composing the final image. 43 | static const int TILE_EXTRA = 2; 44 | static const int TILE_SIZE_PLUS_EXTRA = TILE_SIZE + (2 * TILE_EXTRA); 45 | 46 | static QString fetchPreview(QSize screenshotSize) 47 | { 48 | auto pixelCount = screenshotSize.width() * screenshotSize.height() * 4; 49 | std::vector pixels(static_cast(pixelCount)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:50:5: warning: no header providing "glReadPixels" is directly included [misc-include-cleaner] 31 | glReadPixels(0, 0, screenshotSize.width(), screenshotSize.height(), GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:50:73: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 31 | glReadPixels(0, 0, screenshotSize.width(), screenshotSize.height(), GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:50:82: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] 31 | glReadPixels(0, 0, screenshotSize.width(), screenshotSize.height(), GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:52:11: warning: no header providing "QImage" is directly included [misc-include-cleaner] 34 | const QImage screenTile(pixels.data(), screenshotSize.width(), screenshotSize.height(), QImage::Format_RGBA8888); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:52:93: warning: no header providing "QImage" is directly included [misc-include-cleaner] 34 | const QImage screenTile(pixels.data(), screenshotSize.width(), screenshotSize.height(), QImage::Format_RGBA8888); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:53:5: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 34 | QByteArray byteArray; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:54:5: warning: no header providing "QBuffer" is directly included [misc-include-cleaner] 34 | QBuffer buffer(&byteArray); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:61:30: warning: no header providing "QPixmap" is directly included [misc-include-cleaner] 34 | static void fetchAndDrawTile(QPixmap& fullScreenshot, int tileX, int tileY, QPoint offset) | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:61:77: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | static void fetchAndDrawTile(QPixmap& fullScreenshot, int tileX, int tileY, QPoint offset) | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:63:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 34 | std::vector pixelBytes(static_cast(TILE_SIZE * TILE_SIZE) * 4ul); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:63:17: warning: no header providing "GLubyte" is directly included [misc-include-cleaner] 31 | std::vector pixelBytes(static_cast(TILE_SIZE * TILE_SIZE) * 4ul); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:63:49: warning: no header providing "size_t" is directly included [misc-include-cleaner] 34 | std::vector pixelBytes(static_cast(TILE_SIZE * TILE_SIZE) * 4ul); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:64:5: warning: no header providing "glReadPixels" is directly included [misc-include-cleaner] 31 | glReadPixels(TILE_EXTRA, TILE_EXTRA, TILE_SIZE, TILE_SIZE, GL_RGBA, GL_UNSIGNED_BYTE, pixelBytes.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:64:64: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 31 | glReadPixels(TILE_EXTRA, TILE_EXTRA, TILE_SIZE, TILE_SIZE, GL_RGBA, GL_UNSIGNED_BYTE, pixelBytes.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:64:73: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] 31 | glReadPixels(TILE_EXTRA, TILE_EXTRA, TILE_SIZE, TILE_SIZE, GL_RGBA, GL_UNSIGNED_BYTE, pixelBytes.data()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:66:11: warning: no header providing "QImage" is directly included [misc-include-cleaner] 34 | const QImage screenTile(pixelBytes.data(), TILE_SIZE, TILE_SIZE, QImage::Format_RGBA8888); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:66:70: warning: no header providing "QImage" is directly included [misc-include-cleaner] 34 | const QImage screenTile(pixelBytes.data(), TILE_SIZE, TILE_SIZE, QImage::Format_RGBA8888); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:68:5: warning: no header providing "QPainter" is directly included [misc-include-cleaner] 34 | QPainter painter(&fullScreenshot); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:73:8: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | static QPoint renderOffsetForFill(int imageWidth, int imageHeight, float aspect) | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:75:5: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | QPoint offset; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:105:5: warning: no header providing "QSize" is directly included [misc-include-cleaner] 34 | QSize screenshotSize(imageWidth, imageHeight); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:106:11: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | const QPoint renderOffset = fillSize ? renderOffsetForFill(imageWidth, imageHeight, viewportAspectRatio) : QPoint(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:106:112: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | const QPoint renderOffset = fillSize ? renderOffsetForFill(imageWidth, imageHeight, viewportAspectRatio) : QPoint(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:117:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 34 | qWarning() << "Attempting to render incomplete FBO"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:128:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit previewComplete(base64Image); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:133:24: warning: no header providing "QQuickOpenGLUtils::resetOpenGLState" is directly included [misc-include-cleaner] 34 | QQuickOpenGLUtils::resetOpenGLState(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:137:19: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 31 | glBindTexture(GL_TEXTURE_2D, _screenshotTex); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:138:18: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 31 | glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, this->width(), this->height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:138:36: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 31 | glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, this->width(), this->height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:138:79: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 31 | glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, this->width(), this->height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:138:88: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] 31 | glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, this->width(), this->height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:146:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 34 | glBindFramebuffer(GL_FRAMEBUFFER, _screenshotFBO); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:147:28: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 34 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, _screenshotTex, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:147:44: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 34 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, _screenshotTex, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:147:66: warning: no header providing "GL_TEXTURE_2D" is directly included [misc-include-cleaner] 31 | glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, _screenshotTex, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:149:5: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 31 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:149:29: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 34 | GLenum drawBuffers[] = {GL_COLOR_ATTACHMENT0}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:150:34: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 31 | glDrawBuffers(1, static_cast(drawBuffers)); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:152:20: warning: no header providing "GraphRendererCore" is directly included [misc-include-cleaner] 28 | renderToScreen(GraphRendererCore::Type::Color); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:152:45: warning: no header providing "GraphRendererCore::Type::Color" is directly included [misc-include-cleaner] 28 | renderToScreen(GraphRendererCore::Type::Color); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:162:5: warning: no header providing "QSize" is directly included [misc-include-cleaner] 34 | QSize screenshotSize(imageWidth, imageHeight); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:163:11: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | const QPoint renderOffset = fillSize ? renderOffsetForFill(imageWidth, imageHeight, viewportAspectRatio) : QPoint(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:163:112: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | const QPoint renderOffset = fillSize ? renderOffsetForFill(imageWidth, imageHeight, viewportAspectRatio) : QPoint(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:164:5: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | QPoint tileOffset; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:181:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 34 | qWarning() << "Attempting to render incomplete FBO"; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:188:19: warning: no header providing "QPixmap" is directly included [misc-include-cleaner] 34 | auto pixmap = QPixmap(imageWidth, imageHeight); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:189:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 34 | auto backgroundColor = u::pref(u"visuals/backgroundColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:189:72: warning: no header providing "QColor" is directly included [misc-include-cleaner] 34 | auto backgroundColor = u::pref(u"visuals/backgroundColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:192:45: warning: no header providing "std::ceil" is directly included [misc-include-cleaner] 34 | auto tileXCount = static_cast(std::ceil(static_cast(screenshotSize.width()) / static_cast(TILE_SIZE))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:193:45: warning: no header providing "std::ceil" is directly included [misc-include-cleaner] 34 | auto tileYCount = static_cast(std::ceil(static_cast(screenshotSize.height()) / static_cast(TILE_SIZE))); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:211:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 34 | emit screenshotComplete(image, path); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:214:80: warning: no header providing "QSize" is directly included [misc-include-cleaner] 34 | void ScreenshotRenderer::updateComponentGPUData(ScreenshotType screenshotType, QSize screenshotSize, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:215:5: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 34 | QPoint offset, float scale, int tileX, int tileY) | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:221:15: warning: no header providing "Camera" is directly included [misc-include-cleaner] 28 | const Camera& componentCamera = componentCameraAndLighting._camera; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:222:15: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 34 | const QRectF componentViewport( | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:226:9: warning: no header providing "QRect" is directly included [misc-include-cleaner] 34 | QRect viewport; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:253:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 34 | for(size_t i = 0; i < renderer._gpuGraphData.size(); ++i) | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:271:5: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 31 | GLuint textureFBO = 0; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:274:23: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 34 | glBindFramebuffer(GL_FRAMEBUFFER, textureFBO); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:276:19: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 34 | glBindTexture(GL_TEXTURE_2D_ARRAY, renderer.sdfTexture()); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:285:23: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 34 | glBindTexture(GL_TEXTURE_2D_ARRAY, _sdfTexture); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:288:22: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 34 | glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, renderWidth, renderHeight, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:288:46: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 31 | glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, renderWidth, renderHeight, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:289:34: warning: no header providing "GLsizei" is directly included [misc-include-cleaner] 31 | static_cast(renderer._glyphMap->images().size()), 0, GL_RGBA, GL_UNSIGNED_BYTE, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:289:84: warning: no header providing "GL_RGBA" is directly included [misc-include-cleaner] 31 | static_cast(renderer._glyphMap->images().size()), 0, GL_RGBA, GL_UNSIGNED_BYTE, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:289:93: warning: no header providing "GL_UNSIGNED_BYTE" is directly included [misc-include-cleaner] 31 | static_cast(renderer._glyphMap->images().size()), 0, GL_RGBA, GL_UNSIGNED_BYTE, | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:292:25: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 34 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:292:46: warning: no header providing "GL_TEXTURE_MAG_FILTER" is directly included [misc-include-cleaner] 31 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:292:69: warning: no header providing "GL_NEAREST" is directly included [misc-include-cleaner] 31 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MAG_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:293:25: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 34 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:293:46: warning: no header providing "GL_TEXTURE_MIN_FILTER" is directly included [misc-include-cleaner] 31 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:293:69: warning: no header providing "GL_NEAREST" is directly included [misc-include-cleaner] 31 | glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:297:39: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 34 | glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, renderer.sdfTexture(), 0, layer); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:297:55: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 34 | glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, renderer.sdfTexture(), 0, layer); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:299:13: warning: no header providing "GLenum" is directly included [misc-include-cleaner] 31 | GLenum DrawBuffers[1] = {GL_COLOR_ATTACHMENT0}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:299:38: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 34 | GLenum DrawBuffers[1] = {GL_COLOR_ATTACHMENT0}; | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:302:31: warning: no header providing "GL_FRAMEBUFFER" is directly included [misc-include-cleaner] 34 | glBindFramebuffer(GL_FRAMEBUFFER, textureFBO); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:304:26: warning: no header providing "GL_COLOR_ATTACHMENT0" is directly included [misc-include-cleaner] 34 | glReadBuffer(GL_COLOR_ATTACHMENT0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:305:33: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 34 | glCopyTexSubImage3D(GL_TEXTURE_2D_ARRAY, 0, 0, 0, layer, 0, 0, renderWidth, renderHeight); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:310:19: warning: no header providing "GL_TEXTURE_2D_ARRAY" is directly included [misc-include-cleaner] 34 | glBindTexture(GL_TEXTURE_2D_ARRAY, 0); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:311:18: warning: no header providing "GL_BACK" is directly included [misc-include-cleaner] 31 | glReadBuffer(GL_BACK); | ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:318:1: warning: no header providing "GLuint" is directly included [misc-include-cleaner] 31 | GLuint ScreenshotRenderer::sdfTexture() const { return _sdfTexture; } | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 33002 warnings generated. [143/195] /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:24:1: warning: included header QOpenGLShaderProgram is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:25:1: warning: included header QOpenGLContext is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:26:1: warning: included header QSurfaceFormat is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:27:1: warning: included header QString is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:28:1: warning: included header QObject is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:30:1: warning: included header QtGlobal is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:38:11: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static QString shaderStringFromFile(const QString& filename) 37 | { 38 | const QSurfaceFormat minimumFormat = OpenGLFunctions::minimumFormat(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:46:9: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static QString shaderStringFromFile(const QString& filename) 37 | { 38 | const QSurfaceFormat minimumFormat = OpenGLFunctions::minimumFormat(); 39 | const int shaderVersionNumber = (minimumFormat.majorVersion() * 100) + 40 | (minimumFormat.minorVersion() * 10); 41 | 42 | 43 | QFile file(filename); 44 | if(!file.open(QFile::ReadOnly)) 45 | { 46 | qFatal("Failed to open shader file"); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:52:11: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 33 | const QSurfaceFormat currentSurfaceFormat = QOpenGLContext::currentContext()->format(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:52:49: warning: no header providing "QOpenGLContext" is directly included [misc-include-cleaner] 33 | const QSurfaceFormat currentSurfaceFormat = QOpenGLContext::currentContext()->format(); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:53:70: warning: no header providing "QSurfaceFormat" is directly included [misc-include-cleaner] 33 | const QString version = currentSurfaceFormat.renderableType() == QSurfaceFormat::OpenGLES ? | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:54:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | u"#version %1 es\nprecision mediump float;\n"_s.arg(shaderVersionNumber) : | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:55:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | u"#version %1 core\n#define mediump\n"_s.arg(shaderVersionNumber); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:66:5: warning: no header providing "qInstallMessageHandler" is directly included [misc-include-cleaner] 33 | qInstallMessageHandler([](QtMsgType, const QMessageLogContext&, const QString& msg) | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:66:31: warning: no header providing "QtMsgType" is directly included [misc-include-cleaner] 33 | qInstallMessageHandler([](QtMsgType, const QMessageLogContext&, const QString& msg) | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:66:48: warning: no header providing "QMessageLogContext" is directly included [misc-include-cleaner] 33 | qInstallMessageHandler([](QtMsgType, const QMessageLogContext&, const QString& msg) | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:68:20: warning: no header providing "std::string" is directly included [misc-include-cleaner] 33 | const std::string lineEnding = !msg.endsWith('\n') ? "\n" : ""; | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:72:59: warning: no header providing "qInstallMessageHandler" is directly included [misc-include-cleaner] 33 | auto atExit = std::experimental::make_scope_exit([] { qInstallMessageHandler(nullptr); }); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:75:41: warning: no header providing "QOpenGLShader" is directly included [misc-include-cleaner] 33 | if(!program.addShaderFromSourceCode(QOpenGLShader::Vertex, shaderStringFromFile(vertexShader))) | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:77:27: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 33 | if(!allowFailure) qFatal("Vertex shader compilation failure"); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:82:41: warning: no header providing "QOpenGLShader" is directly included [misc-include-cleaner] 33 | if(!program.addShaderFromSourceCode(QOpenGLShader::Fragment, shaderStringFromFile(fragmentShader))) | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:84:27: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 33 | if(!allowFailure) qFatal("Fragment shader compilation failure"); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:88:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | shaderName = u"%1, %2"_s.arg(vertexShader, fragmentShader); | ^ /home/runner/work/graphia/graphia/source/app/rendering/shadertools.cpp:91:27: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 33 | if(!allowFailure) qFatal("Shader link failure"); | ^ 19680 warnings generated. [144/195] /home/runner/work/graphia/graphia/source/app/rendering/transition.cpp:22:1: warning: included header utils.h is not used directly [misc-include-cleaner] 22 | #include "shared/utils/utils.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | /home/runner/work/graphia/graphia/source/app/rendering/transition.cpp:24:1: warning: included header QDebug is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/rendering/transition.cpp:67:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit finished(); | ^ 10089 warnings generated. [145/195] /home/runner/work/graphia/graphia/source/app/preferences.cpp:26:1: warning: included header QSettings is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/preferences.cpp:27:1: warning: included header QCoreApplication is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/preferences.cpp:33:1: warning: no header providing "QSettings" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | namespace 32 | { 33 | QSettings settings() | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:35:13: warning: no header providing "QSettings" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | namespace 32 | { 33 | QSettings settings() 34 | { 35 | return {QSettings::Format::IniFormat, QSettings::Scope::UserScope, | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:35:43: warning: no header providing "QSettings" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | namespace 32 | { 33 | QSettings settings() 34 | { 35 | return {QSettings::Format::IniFormat, QSettings::Scope::UserScope, | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:36:13: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | namespace 32 | { 33 | QSettings settings() 34 | { 35 | return {QSettings::Format::IniFormat, QSettings::Scope::UserScope, 36 | QCoreApplication::organizationName(), QCoreApplication::applicationName()}; | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:36:51: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | namespace 32 | { 33 | QSettings settings() 34 | { 35 | return {QSettings::Format::IniFormat, QSettings::Scope::UserScope, 36 | QCoreApplication::organizationName(), QCoreApplication::applicationName()}; | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:40:46: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | namespace 32 | { 33 | QSettings settings() 34 | { 35 | return {QSettings::Format::IniFormat, QSettings::Scope::UserScope, 36 | QCoreApplication::organizationName(), QCoreApplication::applicationName()}; 37 | } 38 | } // namespace 39 | 40 | void u::definePref(const QString& key, const QVariant& defaultValue) | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:46:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 28 | QVariant u::pref(const QString& key) | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:69:43: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 28 | void u::setPref(const QString& key, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:82:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | if(u::prefExists(u"visuals/defaultNodeSize"_s)) | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:84:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | auto absNodeSize = u::pref(u"visuals/defaultNodeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:88:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | u::setPref(u"visuals/defaultNormalNodeSize"_s, normalNodeSize); | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:89:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | u::removePref(u"visuals/defaultNodeSize"_s); | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:92:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | if(u::prefExists(u"visuals/defaultEdgeSize"_s)) | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:94:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | auto absEdgeSize = u::pref(u"visuals/defaultEdgeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:98:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | u::setPref(u"visuals/defaultNormalEdgeSize"_s, normalEdgeSize); | ^ /home/runner/work/graphia/graphia/source/app/preferences.cpp:99:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | u::removePref(u"visuals/defaultEdgeSize"_s); | ^ 10608 warnings generated. [146/195] /home/runner/work/graphia/graphia/source/app/tracking.cpp:28:1: warning: included header QNetworkAccessManager is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:29:1: warning: included header QNetworkReply is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:30:1: warning: included header QNetworkRequest is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:31:1: warning: included header QHostInfo is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:32:1: warning: included header QHttpMultiPart is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 33 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:33:1: warning: included header QHttpPart is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~~ 34 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:34:1: warning: included header QCryptographicHash is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:35:1: warning: included header QStandardPaths is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 36 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:36:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:37:1: warning: included header QSysInfo is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~~~~~ 38 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:38:1: warning: included header QEventLoop is not used directly [misc-include-cleaner] 38 | #include | ^~~~~~~~~~~~~~~~~~~~~ 39 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:39:1: warning: included header QTimer is not used directly [misc-include-cleaner] 39 | #include | ^~~~~~~~~~~~~~~~~ 40 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:40:1: warning: included header QString is not used directly [misc-include-cleaner] 40 | #include | ^~~~~~~~~~~~~~~~~~ 41 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:41:1: warning: included header QStringList is not used directly [misc-include-cleaner] 41 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 42 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:42:1: warning: included header QObject is not used directly [misc-include-cleaner] 42 | #include | ^~~~~~~~~~~~~~~~~~ 43 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:43:1: warning: included header QLocale is not used directly [misc-include-cleaner] 43 | #include | ^~~~~~~~~~~~~~~~~~ 44 | #include /home/runner/work/graphia/graphia/source/app/tracking.cpp:44:1: warning: included header QDebug is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~ 45 | /home/runner/work/graphia/graphia/source/app/tracking.cpp:54:5: warning: no header providing "QNetworkAccessManager" is directly included [misc-include-cleaner] 46 | #include 47 | #include 48 | 49 | using namespace Qt::Literals::StringLiterals; 50 | using namespace std::chrono_literals; 51 | 52 | static QString postToTrackingServer(const QString& text) 53 | { 54 | QNetworkAccessManager manager; | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:55:5: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] 46 | #include 47 | #include 48 | 49 | using namespace Qt::Literals::StringLiterals; 50 | using namespace std::chrono_literals; 51 | 52 | static QString postToTrackingServer(const QString& text) 53 | { 54 | QNetworkAccessManager manager; 55 | QEventLoop loop; | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:57:5: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 46 | #include 47 | #include 48 | 49 | using namespace Qt::Literals::StringLiterals; 50 | using namespace std::chrono_literals; 51 | 52 | static QString postToTrackingServer(const QString& text) 53 | { 54 | QNetworkAccessManager manager; 55 | QEventLoop loop; 56 | 57 | QTimer timer; | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:59:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | #include 47 | #include 48 | 49 | using namespace Qt::Literals::StringLiterals; 50 | using namespace std::chrono_literals; 51 | 52 | static QString postToTrackingServer(const QString& text) 53 | { 54 | QNetworkAccessManager manager; 55 | QEventLoop loop; 56 | 57 | QTimer timer; 58 | timer.setSingleShot(true); 59 | QObject::connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:59:31: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 46 | #include 47 | #include 48 | 49 | using namespace Qt::Literals::StringLiterals; 50 | using namespace std::chrono_literals; 51 | 52 | static QString postToTrackingServer(const QString& text) 53 | { 54 | QNetworkAccessManager manager; 55 | QEventLoop loop; 56 | 57 | QTimer timer; 58 | timer.setSingleShot(true); 59 | QObject::connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:59:56: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] 46 | #include 47 | #include 48 | 49 | using namespace Qt::Literals::StringLiterals; 50 | using namespace std::chrono_literals; 51 | 52 | static QString postToTrackingServer(const QString& text) 53 | { 54 | QNetworkAccessManager manager; 55 | QEventLoop loop; 56 | 57 | QTimer timer; 58 | timer.setSingleShot(true); 59 | QObject::connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:60:19: warning: no header providing "std::chrono_literals::operator""s" is directly included [misc-include-cleaner] 26 | timer.start(10s); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:62:5: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 46 | QNetworkRequest request; | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:63:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | request.setUrl(u::pref(u"servers/tracking"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:65:27: warning: no header providing "QHttpMultiPart" is directly included [misc-include-cleaner] 46 | auto* multiPart = new QHttpMultiPart(QHttpMultiPart::FormDataType); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:65:42: warning: no header providing "QHttpMultiPart" is directly included [misc-include-cleaner] 46 | auto* multiPart = new QHttpMultiPart(QHttpMultiPart::FormDataType); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:67:5: warning: no header providing "QHttpPart" is directly included [misc-include-cleaner] 46 | QHttpPart part; | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:68:20: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 46 | part.setHeader(QNetworkRequest::ContentDispositionHeader, | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:69:20: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 46 | QVariant(R"(form-data; name="request")")); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:77:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 46 | QObject::connect(reply, &QNetworkReply::finished, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:77:30: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 46 | QObject::connect(reply, &QNetworkReply::finished, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:77:63: warning: no header providing "QEventLoop" is directly included [misc-include-cleaner] 46 | QObject::connect(reply, &QNetworkReply::finished, &loop, &QEventLoop::quit); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:87:26: warning: no header providing "QNetworkReply" is directly included [misc-include-cleaner] 46 | if(reply->error() != QNetworkReply::NetworkError::NoError) | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:89:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 46 | qDebug() << "postToTrackingServer QNetworkReply::NetworkError" << reply->errorString(); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:98:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 46 | qDebug() << "postToTrackingServer malformed reply"; | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:103:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 46 | qDebug() << "postToTrackingServer error" << QString::fromStdString(replyJson["error"]); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:110:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto anonUser = u"anon"_s; | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:111:24: warning: no header providing "QHostInfo" is directly included [misc-include-cleaner] 46 | QString hostName = QHostInfo::localDomainName(); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:116:21: warning: no header providing "QHostInfo" is directly included [misc-include-cleaner] 46 | auto hostInfo = QHostInfo::fromName(ipAddress); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:117:28: warning: no header providing "QHostInfo" is directly included [misc-include-cleaner] 46 | if(hostInfo.error() == QHostInfo::NoError) | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:124:47: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 46 | hostName = hostName.split('.').filter(QRegularExpression(u"^[a-zA-Z]+$"_s)).join('.'); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:124:80: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | hostName = hostName.split('.').filter(QRegularExpression(u"^[a-zA-Z]+$"_s)).join('.'); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:127:28: warning: no header providing "QHostInfo" is directly included [misc-include-cleaner] 46 | if(hostInfo.error() != QHostInfo::NoError || hostName.isEmpty()) | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:130:21: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | auto homePath = QStandardPaths::standardLocations(QStandardPaths::HomeLocation); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:130:55: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 46 | auto homePath = QStandardPaths::standardLocations(QStandardPaths::HomeLocation); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:133:9: warning: no header providing "QCryptographicHash" is directly included [misc-include-cleaner] 46 | QCryptographicHash hash(QCryptographicHash::Algorithm::Md5); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:133:33: warning: no header providing "QCryptographicHash" is directly included [misc-include-cleaner] 46 | QCryptographicHash hash(QCryptographicHash::Algorithm::Md5); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:138:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto id = u"%1@%2"_s.arg(anonUser, hostName); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:146:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto permission = u::pref(u"tracking/permission"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:147:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto identity = u::pref(u"tracking/emailAddress"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:149:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(permission == u"rejected"_s) | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:152:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(permission == u"anonymous"_s || identity.isEmpty()) | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:154:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | if(!u::prefExists(u"tracking/anonymousId"_s) || | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:155:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::pref(u"tracking/anonymousId"_s).toString().isEmpty()) | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:158:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | u::setPref(u"tracking/anonymousId"_s, identity); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:161:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | identity = u::pref(u"tracking/anonymousId"_s).toString(); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:164:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 46 | auto os = u"%1 %2 %3 %4"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:165:13: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 46 | QSysInfo::kernelType(), QSysInfo::kernelVersion(), | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:165:37: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 46 | QSysInfo::kernelType(), QSysInfo::kernelVersion(), | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:166:13: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 46 | QSysInfo::productType(), QSysInfo::productVersion()); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:166:38: warning: no header providing "QSysInfo" is directly included [misc-include-cleaner] 46 | QSysInfo::productType(), QSysInfo::productVersion()); | ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:174:33: warning: no header providing "QLocale" is directly included [misc-include-cleaner] 46 | {"locale", QLocale::system().name()}, | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 19057 warnings generated. [147/195] /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:34:52: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | AvailableTransformsModel::AvailableTransformsModel(const GraphModel& graphModel, 34 | QObject* parent) : | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:35:5: warning: no header providing "QAbstractListModel" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | AvailableTransformsModel::AvailableTransformsModel(const GraphModel& graphModel, 34 | QObject* parent) : 35 | QAbstractListModel(parent), | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:46:9: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | QStringList favouriteTransforms; | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:60:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | updateFavouriteTransforms(u::pref(u"misc/favouriteTransforms"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:62:36: warning: no header providing "PreferencesWatcher" is directly included [misc-include-cleaner] 21 | connect(&_preferencesWatcher, &PreferencesWatcher::preferenceChanged, | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:63:35: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 30 | [=](const QString& key, const QVariant& value) | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:65:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | if(key == u"misc/favouriteTransforms"_s) | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:70:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 30 | QVariant AvailableTransformsModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:70:47: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QVariant AvailableTransformsModel::data(const QModelIndex& index, int role) const | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:77:20: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 30 | if(role != Qt::DisplayRole) | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:88:19: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 21 | if(u::contains(_favouriteTransforms, transformName)) | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:99:23: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 21 | return u::contains(_favouriteTransforms, transformName); | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:109:46: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | int AvailableTransformsModel::rowCount(const QModelIndex& /*parentIndex*/) const | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:114:1: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 30 | QVariant AvailableTransformsModel::get(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:114:46: warning: no header providing "QModelIndex" is directly included [misc-include-cleaner] 30 | QVariant AvailableTransformsModel::get(const QModelIndex& index) const | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:116:28: warning: no header providing "Qt::DisplayRole" is directly included [misc-include-cleaner] 30 | return data(index, Qt::DisplayRole).toString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:119:1: warning: no header providing "QHash" is directly included [misc-include-cleaner] 30 | QHash AvailableTransformsModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:119:12: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 30 | QHash AvailableTransformsModel::roleNames() const | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:121:18: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 30 | auto names = QAbstractItemModel::roleNames(); | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:129:1: warning: no header providing "Q_DECLARE_INTERFACE" is directly included [misc-include-cleaner] 30 | Q_DECLARE_INTERFACE(AvailableTransformsModel, APP_URI) | ^ /home/runner/work/graphia/graphia/source/app/transform/availabletransformsmodel.cpp:133:5: warning: no header providing "qmlRegisterInterface" is directly included [misc-include-cleaner] 30 | qmlRegisterInterface("AvailableTransformsModel", Application::majorVersion()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 24426 warnings generated. [148/195] /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:26:1: warning: included header QObject is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:27:1: warning: included header QVariantList is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:45:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString GraphTransformConfig::TerminalCondition::opAsString() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:49:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(ConditionFnOp::Equality v) const { return GraphTransformConfigParser::opToString(v); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:49:43: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 20 | QString operator()(ConditionFnOp::Equality v) const { return GraphTransformConfigParser::opToString(v); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:50:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(ConditionFnOp::Numerical v) const { return GraphTransformConfigParser::opToString(v); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:50:43: warning: no header providing "ConditionFnOp::Numerical" is directly included [misc-include-cleaner] 20 | QString operator()(ConditionFnOp::Numerical v) const { return GraphTransformConfigParser::opToString(v); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:51:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(ConditionFnOp::String v) const { return GraphTransformConfigParser::opToString(v); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:51:43: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | QString operator()(ConditionFnOp::String v) const { return GraphTransformConfigParser::opToString(v); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:54:17: warning: no header providing "std::visit" is directly included [misc-include-cleaner] 28 | return std::visit(Visitor(), _op); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:57:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString GraphTransformConfig::UnaryCondition::opAsString() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:69:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString GraphTransformConfig::CompoundCondition::opAsString() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:80:12: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | const std::vector& GraphTransformConfig::attributeNames() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:80:19: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | const std::vector& GraphTransformConfig::attributeNames() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:85:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | bool GraphTransformConfig::hasParameter(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:87:17: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 28 | return std::find_if(_parameters.begin(), _parameters.end(), | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:91:84: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | const GraphTransformConfig::Parameter* GraphTransformConfig::parameterByName(const QString &name) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:93:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 28 | auto it = std::find_if(_parameters.begin(), _parameters.end(), | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:99:5: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 28 | qFatal("Parameter not found"); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:103:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | bool GraphTransformConfig::parameterHasValue(const QString& name, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:103:73: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | bool GraphTransformConfig::parameterHasValue(const QString& name, const QString& value) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:111:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | void GraphTransformConfig::setParameterValue(const QString& name, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:114:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 28 | auto it = std::find_if(_parameters.begin(), _parameters.end(), | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:123:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString GraphTransformConfig::Parameter::valueAsString(bool addQuotes) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:131:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(double d) const { return QString::number(d, 'f'); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:131:62: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(double d) const { return QString::number(d, 'f'); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:132:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(int i) const { return QString::number(i); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:132:62: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(int i) const { return QString::number(i); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:133:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const QString& s) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:133:34: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const QString& s) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:137:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString escapedString = s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:138:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | escapedString.replace(u"\""_s, u"\\\""_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:138:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | escapedString.replace(u"\""_s, u"\\\""_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:140:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"\"%1\""_s.arg(escapedString); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:147:17: warning: no header providing "std::visit" is directly included [misc-include-cleaner] 28 | return std::visit(Visitor(addQuotes), _value); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:160:19: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | return boost::apply_visitor(ConditionVisitor(), _condition); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:163:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap GraphTransformConfig::conditionAsVariantMap() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:167:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | static QString terminalValueAsString(const GraphTransformConfig::TerminalValue& terminalValue) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:171:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const double& d) const { return QString::number(d, 'f'); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:171:70: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const double& d) const { return QString::number(d, 'f'); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:172:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const int& i) const { return QString::number(i); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:172:70: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const int& i) const { return QString::number(i); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:173:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const QString& s) const { return s; } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:173:42: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const QString& s) const { return s; } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:176:25: warning: no header providing "std::visit" is directly included [misc-include-cleaner] 28 | return std::visit(Visitor(), terminalValue); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:179:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap operator()(GraphTransformConfig::NoCondition) const { return {}; } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:180:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap operator()(const TerminalCondition& terminalCondition) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:182:13: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:184:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"lhs"_s, terminalValueAsString(terminalCondition._lhs)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:185:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"op"_s, terminalCondition.opAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:186:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"rhs"_s, terminalValueAsString(terminalCondition._rhs)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:191:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap operator()(const UnaryCondition& unaryCondition) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:193:13: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:195:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"lhs"_s, terminalValueAsString(unaryCondition._lhs)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:196:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"op"_s, unaryCondition.opAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:201:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap operator()(const CompoundCondition& compoundCondition) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:203:13: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:204:31: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | auto lhs = boost::apply_visitor(ConditionVisitor(), compoundCondition._lhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:205:31: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | auto rhs = boost::apply_visitor(ConditionVisitor(), compoundCondition._rhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:207:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"lhs"_s, lhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:208:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"op"_s, compoundCondition.opAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:209:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"rhs"_s, rhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:215:19: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | return boost::apply_visitor(ConditionVisitor(), _condition); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:218:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString GraphTransformConfig::conditionAsString(bool forDisplay) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:227:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString terminalValueAsString(const GraphTransformConfig::TerminalValue& terminalValue) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:236:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const double& d) const { return QString::number(d, 'f'); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:236:70: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const double& d) const { return QString::number(d, 'f'); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:237:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const int& i) const { return QString::number(i); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:237:70: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const int& i) const { return QString::number(i); } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:238:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const QString& s) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:238:42: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const QString& s) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:240:79: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | const auto attributeWithParameterTemplace = _forDisplay ? QObject::tr("%1%2 › %3") : u"$\"%1%2\".\"%3\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:240:129: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | const auto attributeWithParameterTemplace = _forDisplay ? QObject::tr("%1%2 › %3") : u"$\"%1%2\".\"%3\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:241:66: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | const auto attributeTemplate = _forDisplay ? QObject::tr("%1%2") : u"$\"%1%2\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:241:100: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | const auto attributeTemplate = _forDisplay ? QObject::tr("%1%2") : u"$\"%1%2\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:242:62: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | const auto valueTemplate = _forDisplay ? QObject::tr("%1") : u"\"%1\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:242:91: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | const auto valueTemplate = _forDisplay ? QObject::tr("%1") : u"\"%1\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:248:25: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString prefix; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:251:86: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | case Attribute::EdgeNodeType::Source: prefix = _forDisplay ? QObject::tr("Source › ") : u"source."_s; break; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:251:129: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | case Attribute::EdgeNodeType::Source: prefix = _forDisplay ? QObject::tr("Source › ") : u"source."_s; break; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:252:86: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | case Attribute::EdgeNodeType::Target: prefix = _forDisplay ? QObject::tr("Target › ") : u"target."_s; break; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:252:129: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | case Attribute::EdgeNodeType::Target: prefix = _forDisplay ? QObject::tr("Target › ") : u"target."_s; break; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:266:25: warning: no header providing "std::visit" is directly included [misc-include-cleaner] 28 | return std::visit(Visitor(_forDisplay), terminalValue); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:269:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString prettifyOp(const QString& op) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:269:34: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString prettifyOp(const QString& op) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:274:18: warning: no header providing "std::map" is directly included [misc-include-cleaner] 28 | std::map replacements = | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:274:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::map replacements = | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:274:31: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::map replacements = | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:276:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"==", QObject::tr("=")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:277:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"!=", QObject::tr("≠")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:278:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"<=", QObject::tr("≤")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:279:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {">=", QObject::tr("≥")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:280:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"&&", QObject::tr("and")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:281:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"||", QObject::tr("or")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:282:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"includes", QObject::tr("Includes")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:283:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"excludes", QObject::tr("Excludes")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:284:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"starts", QObject::tr("Starts With")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:285:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"ends", QObject::tr("Ends With")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:286:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"matches", QObject::tr("Matches Regex")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:287:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"matchesCaseInsensitive", QObject::tr("Matches Case Insensitive Regex")}, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:288:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | {"hasValue", QObject::tr("Has Value")} | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:297:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(GraphTransformConfig::NoCondition) const { return {}; } | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:298:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const TerminalCondition& terminalCondition) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:300:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"%1 %2 %3"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:306:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const UnaryCondition& unaryCondition) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:308:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"%1 %2"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:313:9: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString operator()(const CompoundCondition& compoundCondition) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:315:31: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | auto lhs = boost::apply_visitor(ConditionVisitor(_forDisplay), compoundCondition._lhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:316:31: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | auto rhs = boost::apply_visitor(ConditionVisitor(_forDisplay), compoundCondition._rhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:318:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"%1 %2 %3"_s.arg(lhs, prettifyOp(compoundCondition.opAsString()), rhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:322:19: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | return boost::apply_visitor(ConditionVisitor(forDisplay), _condition); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:325:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap GraphTransformConfig::asVariantMap() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:327:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:329:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 28 | QVariantList flags; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:333:24: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"flags"_s, flags); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:335:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"action"_s, _action); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:337:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 28 | QStringList attributes; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:341:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"attributes"_s, attributes); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:343:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 28 | QVariantList parameters; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:346:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 28 | QVariantMap parameterMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:347:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | parameterMap.insert(u"name"_s, parameter._name); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:348:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | parameterMap.insert(u"value"_s, parameter.valueAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:351:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"parameters"_s, parameters); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:354:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | map.insert(u"condition"_s, conditionAsVariantMap()); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:359:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString GraphTransformConfig::asString(bool forDisplay) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:361:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:367:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | s += u"["_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:371:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | s += u", "_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:375:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | s += u"] "_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:377:36: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | else if(isFlagSet(u"pinned"_s)) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:378:18: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | s += QObject::tr("📌 "); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:381:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | const auto actionTemplate = forDisplay ? QObject::tr("%1") : u"\"%1\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:381:75: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | const auto actionTemplate = forDisplay ? QObject::tr("%1") : u"\"%1\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:382:49: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | const auto attributeTemplate = forDisplay ? QObject::tr(" %1") : u" $\"%1\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:382:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | const auto attributeTemplate = forDisplay ? QObject::tr(" %1") : u" $\"%1\""_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:383:50: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | const auto parameterTemplate = forDisplay ? QObject::tr(" %1 = %2") : u" \"%1\" = %2"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:383:91: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | const auto parameterTemplate = forDisplay ? QObject::tr(" %1 = %2") : u" \"%1\" = %2"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:389:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | s += forDisplay ? QObject::tr(" using") : u" using"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:389:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | s += forDisplay ? QObject::tr(" using") : u" using"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:397:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | s += forDisplay ? QObject::tr(" with") : u" with"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:397:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | s += forDisplay ? QObject::tr(" with") : u" with"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:408:27: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | s += forDisplay ? QObject::tr(" where ") : u" where "_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:408:62: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | s += forDisplay ? QObject::tr(" where ") : u" where "_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:415:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | std::vector GraphTransformConfig::referencedAttributeNames() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:415:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::vector GraphTransformConfig::referencedAttributeNames() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:421:40: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | explicit ConditionVisitor(std::vector* innerNames) : | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:421:47: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | explicit ConditionVisitor(std::vector* innerNames) : | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:424:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | std::vector* _names; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:424:21: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::vector* _names; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:428:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | static QString attributeFromTerminalValue(const TerminalValue& terminalValue) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:430:34: warning: no header providing "std::get_if" is directly included [misc-include-cleaner] 28 | const auto* s = std::get_if(&terminalValue); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:430:41: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | const auto* s = std::get_if(&terminalValue); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:465:20: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | boost::apply_visitor(ConditionVisitor(_names), compoundCondition._lhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:466:20: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | boost::apply_visitor(ConditionVisitor(_names), compoundCondition._rhs); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:470:12: warning: no header providing "boost::apply_visitor" is directly included [misc-include-cleaner] 28 | boost::apply_visitor(ConditionVisitor(&names), _condition); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:477:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | std::vector flagsToIgnore; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:477:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | std::vector flagsToIgnore; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfig.cpp:496:44: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | bool GraphTransformConfig::isFlagSet(const QString& flag) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20341 warnings generated. [149/195] /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:23:1: warning: included header x3.hpp is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:24:1: warning: included header adapt_struct.hpp is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:27:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:28:1: warning: included header QDebug is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:30:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 20 | 21 | #define BOOST_SPIRIT_X3_UNICODE 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | #include 28 | #include 29 | 30 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:31:5: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | 21 | #define BOOST_SPIRIT_X3_UNICODE 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | #include 28 | #include 29 | 30 | BOOST_FUSION_ADAPT_STRUCT( 31 | GraphTransformConfig::TerminalCondition, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:37:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 20 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:38:5: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | GraphTransformConfig::UnaryCondition, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:43:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 20 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:44:5: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | GraphTransformConfig::CompoundCondition, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:50:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 20 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:51:5: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | GraphTransformConfig::Parameter, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:56:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 20 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:57:5: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | GraphTransformConfig, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:70:11: warning: no header providing "boost::spirit::x3::standard::lit" is directly included [misc-include-cleaner] 20 | using x3::lit; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:72:5: warning: no header providing "boost::spirit::x3::real_parser" is directly included [misc-include-cleaner] 20 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:72:29: warning: no header providing "boost::spirit::x3::strict_real_policies" is directly included [misc-include-cleaner] 20 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:73:11: warning: no header providing "boost::spirit::x3::int_" is directly included [misc-include-cleaner] 20 | using x3::int_; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:74:11: warning: no header providing "boost::spirit::x3::lexeme" is directly included [misc-include-cleaner] 20 | using x3::lexeme; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:75:16: warning: no header providing "boost::spirit::x3::unicode::char_" is directly included [misc-include-cleaner] 20 | using unicode::char_; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:90:27: warning: no header providing "boost::spirit::x3::symbols" is directly included [misc-include-cleaner] 20 | struct equality_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:90:50: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 20 | struct equality_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:95:31: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 20 | ("==", ConditionFnOp::Equality::Equal) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:95:41: warning: no header providing "ConditionFnOp::Equality::Equal" is directly included [misc-include-cleaner] 20 | ("==", ConditionFnOp::Equality::Equal) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:96:31: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 20 | ("!=", ConditionFnOp::Equality::NotEqual) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:96:41: warning: no header providing "ConditionFnOp::Equality::NotEqual" is directly included [misc-include-cleaner] 20 | ("!=", ConditionFnOp::Equality::NotEqual) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:101:28: warning: no header providing "boost::spirit::x3::symbols" is directly included [misc-include-cleaner] 20 | struct numerical_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:101:51: warning: no header providing "ConditionFnOp::Numerical" is directly included [misc-include-cleaner] 20 | struct numerical_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:106:31: warning: no header providing "ConditionFnOp::Numerical" is directly included [misc-include-cleaner] 20 | ("<", ConditionFnOp::Numerical::LessThan) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:106:42: warning: no header providing "ConditionFnOp::Numerical::LessThan" is directly included [misc-include-cleaner] 20 | ("<", ConditionFnOp::Numerical::LessThan) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:107:31: warning: no header providing "ConditionFnOp::Numerical" is directly included [misc-include-cleaner] 20 | (">", ConditionFnOp::Numerical::GreaterThan) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:107:42: warning: no header providing "ConditionFnOp::Numerical::GreaterThan" is directly included [misc-include-cleaner] 20 | (">", ConditionFnOp::Numerical::GreaterThan) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:108:31: warning: no header providing "ConditionFnOp::Numerical" is directly included [misc-include-cleaner] 20 | ("<=", ConditionFnOp::Numerical::LessThanOrEqual) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:108:42: warning: no header providing "ConditionFnOp::Numerical::LessThanOrEqual" is directly included [misc-include-cleaner] 20 | ("<=", ConditionFnOp::Numerical::LessThanOrEqual) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:109:31: warning: no header providing "ConditionFnOp::Numerical" is directly included [misc-include-cleaner] 20 | (">=", ConditionFnOp::Numerical::GreaterThanOrEqual) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:109:42: warning: no header providing "ConditionFnOp::Numerical::GreaterThanOrEqual" is directly included [misc-include-cleaner] 20 | (">=", ConditionFnOp::Numerical::GreaterThanOrEqual) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:114:25: warning: no header providing "boost::spirit::x3::symbols" is directly included [misc-include-cleaner] 20 | struct string_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:114:48: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | struct string_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:119:52: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | ("includes", ConditionFnOp::String::Includes) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:119:60: warning: no header providing "ConditionFnOp::String::Includes" is directly included [misc-include-cleaner] 20 | ("includes", ConditionFnOp::String::Includes) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:120:52: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | ("excludes", ConditionFnOp::String::Excludes) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:120:60: warning: no header providing "ConditionFnOp::String::Excludes" is directly included [misc-include-cleaner] 20 | ("excludes", ConditionFnOp::String::Excludes) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:121:52: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | ("starts", ConditionFnOp::String::Starts) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:121:60: warning: no header providing "ConditionFnOp::String::Starts" is directly included [misc-include-cleaner] 20 | ("starts", ConditionFnOp::String::Starts) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:122:52: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | ("ends", ConditionFnOp::String::Ends) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:122:60: warning: no header providing "ConditionFnOp::String::Ends" is directly included [misc-include-cleaner] 20 | ("ends", ConditionFnOp::String::Ends) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:123:52: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | ("matches", ConditionFnOp::String::MatchesRegex) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:123:60: warning: no header providing "ConditionFnOp::String::MatchesRegex" is directly included [misc-include-cleaner] 20 | ("matches", ConditionFnOp::String::MatchesRegex) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:124:52: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | ("matchesCaseInsensitive", ConditionFnOp::String::MatchesRegexCaseInsensitive) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:124:60: warning: no header providing "ConditionFnOp::String::MatchesRegexCaseInsensitive" is directly included [misc-include-cleaner] 20 | ("matchesCaseInsensitive", ConditionFnOp::String::MatchesRegexCaseInsensitive) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:129:24: warning: no header providing "boost::spirit::x3::symbols" is directly included [misc-include-cleaner] 20 | struct unary_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:129:47: warning: no header providing "ConditionFnOp::Unary" is directly included [misc-include-cleaner] 20 | struct unary_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:134:37: warning: no header providing "ConditionFnOp::Unary" is directly included [misc-include-cleaner] 20 | ("hasValue", ConditionFnOp::Unary::HasValue) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:134:44: warning: no header providing "ConditionFnOp::Unary::HasValue" is directly included [misc-include-cleaner] 20 | ("hasValue", ConditionFnOp::Unary::HasValue) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:142:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule terminalCondition = "terminalCondition"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:142:41: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | const x3::rule terminalCondition = "terminalCondition"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:145:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule unaryCondition = "unaryCondition"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:145:38: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | const x3::rule unaryCondition = "unaryCondition"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:148:26: warning: no header providing "boost::spirit::x3::symbols" is directly included [misc-include-cleaner] 20 | struct logical_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:148:49: warning: no header providing "ConditionFnOp::Logical" is directly included [misc-include-cleaner] 20 | struct logical_op_ : x3::symbols | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:153:32: warning: no header providing "ConditionFnOp::Logical" is directly included [misc-include-cleaner] 20 | ("or", ConditionFnOp::Logical::Or) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:153:41: warning: no header providing "ConditionFnOp::Logical::Or" is directly included [misc-include-cleaner] 20 | ("or", ConditionFnOp::Logical::Or) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:154:32: warning: no header providing "ConditionFnOp::Logical" is directly included [misc-include-cleaner] 20 | ("and", ConditionFnOp::Logical::And) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:154:41: warning: no header providing "ConditionFnOp::Logical::And" is directly included [misc-include-cleaner] 20 | ("and", ConditionFnOp::Logical::And) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:155:32: warning: no header providing "ConditionFnOp::Logical" is directly included [misc-include-cleaner] 20 | ("||", ConditionFnOp::Logical::Or) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:155:41: warning: no header providing "ConditionFnOp::Logical::Or" is directly included [misc-include-cleaner] 20 | ("||", ConditionFnOp::Logical::Or) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:156:32: warning: no header providing "ConditionFnOp::Logical" is directly included [misc-include-cleaner] 20 | ("&&", ConditionFnOp::Logical::And) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:156:41: warning: no header providing "ConditionFnOp::Logical::And" is directly included [misc-include-cleaner] 20 | ("&&", ConditionFnOp::Logical::And) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:161:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule condition = "condition"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:161:33: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | const x3::rule condition = "condition"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:174:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule transform = "transform"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:174:33: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | const x3::rule transform = "transform"; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:183:1: warning: no header providing "BOOST_SPIRIT_DEFINE" is directly included [misc-include-cleaner] 20 | BOOST_SPIRIT_DEFINE(quotedString, identifier, attributeParameter, attributeName, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:187:46: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | bool GraphTransformConfigParser::parse(const QString& text, bool warnOnFailure) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:192:53: warning: no header providing "boost::spirit::x3::phrase_parse" is directly included [misc-include-cleaner] 20 | _success = SpiritGraphTranformConfigParser::x3::phrase_parse(begin, end, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:194:63: warning: no header providing "boost::spirit::x3::unicode::space" is directly included [misc-include-cleaner] 20 | SpiritGraphTranformConfigParser::unicode::space, _result); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:199:24: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | _failedInput = QString::fromStdString(std::string(begin, end)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:199:52: warning: no header providing "std::string" is directly included [misc-include-cleaner] 20 | _failedInput = QString::fromStdString(std::string(begin, end)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:202:13: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 20 | qWarning() << "Failed to parse" << _failedInput; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:208:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 20 | QStringList GraphTransformConfigParser::ops(ValueType valueType) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:208:45: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | QStringList GraphTransformConfigParser::ops(ValueType valueType) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:210:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 20 | QStringList list; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:212:96: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | SpiritGraphTranformConfigParser::equality_op.for_each([&list](auto& v, auto) { list.append(QString::fromStdString(v)); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:216:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:216:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 20 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:217:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:217:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 20 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:218:101: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | SpiritGraphTranformConfigParser::numerical_op.for_each([&list](auto& v, auto) { list.append(QString::fromStdString(v)); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:221:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:221:21: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 20 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:222:98: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | SpiritGraphTranformConfigParser::string_op.for_each([&list](auto& v, auto) { list.append(QString::fromStdString(v)); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:231:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Equality op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:231:63: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Equality op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:233:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString result; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:238:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | result = QString::fromStdString(v); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:244:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Numerical op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:244:63: warning: no header providing "ConditionFnOp::Numerical" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Numerical op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:246:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString result; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:251:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | result = QString::fromStdString(v); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:257:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::String op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:257:63: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::String op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:259:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString result; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:264:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | result = QString::fromStdString(v); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:270:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Logical op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:270:63: warning: no header providing "ConditionFnOp::Logical" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Logical op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:272:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString result; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:277:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | result = QString::fromStdString(v); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:283:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Unary op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:283:63: warning: no header providing "ConditionFnOp::Unary" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::opToString(ConditionFnOp::Unary op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:285:5: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString result; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:290:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | result = QString::fromStdString(v); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:296:1: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | GraphTransformConfig::TerminalOp GraphTransformConfigParser::stringToOp(const QString& s) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:296:79: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | GraphTransformConfig::TerminalOp GraphTransformConfigParser::stringToOp(const QString& s) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:313:50: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | bool GraphTransformConfigParser::opIsUnary(const QString& op) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:318:56: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | bool GraphTransformConfigParser::isAttributeName(const QString& variable) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:323:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::parseForDisplay(const QString& text) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransformconfigparser.cpp:323:59: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString GraphTransformConfigParser::parseForDisplay(const QString& text) | ^ 26258 warnings generated. [150/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:22:1: warning: included header graph.h is not used directly [misc-include-cleaner] 22 | #include "graph/graph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 23 | #include "graph/graphmodel.h" /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:25:1: warning: included header icommand.h is not used directly [misc-include-cleaner] 25 | #include "shared/commands/icommand.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:27:1: warning: included header container.h is not used directly [misc-include-cleaner] 27 | #include "shared/utils/container.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:31:45: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static bool hasUnknownAttributes(const std::vector& attributeNames, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:31:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static bool hasUnknownAttributes(const std::vector& attributeNames, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:40:32: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static bool hasUnknownAttributes(const std::vector& attributeNames, 32 | const GraphModel& graphModel, const GraphTransform& transform) 33 | { 34 | bool unknownAttributes = false; 35 | 36 | for(const auto& attributeName : attributeNames) 37 | { 38 | if(!graphModel.attributeExists(attributeName)) 39 | { 40 | transform.addAlert(AlertType::Error, QObject::tr(R"(Unknown Attribute: "%1")").arg(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:40:43: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static bool hasUnknownAttributes(const std::vector& attributeNames, 32 | const GraphModel& graphModel, const GraphTransform& transform) 33 | { 34 | bool unknownAttributes = false; 35 | 36 | for(const auto& attributeName : attributeNames) 37 | { 38 | if(!graphModel.attributeExists(attributeName)) 39 | { 40 | transform.addAlert(AlertType::Error, QObject::tr(R"(Unknown Attribute: "%1")").arg(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:40:50: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static bool hasUnknownAttributes(const std::vector& attributeNames, 32 | const GraphModel& graphModel, const GraphTransform& transform) 33 | { 34 | bool unknownAttributes = false; 35 | 36 | for(const auto& attributeName : attributeNames) 37 | { 38 | if(!graphModel.attributeExists(attributeName)) 39 | { 40 | transform.addAlert(AlertType::Error, QObject::tr(R"(Unknown Attribute: "%1")").arg(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:48:45: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 28 | static bool hasInvalidAttributes(const std::vector& attributeNames, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:48:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | static bool hasInvalidAttributes(const std::vector& attributeNames, | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:52:10: warning: no header providing "std::any_of" is directly included [misc-include-cleaner] 28 | std::any_of(attributeNames.begin(), attributeNames.end(), | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:60:28: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 28 | transform.addAlert(AlertType::Error, QObject::tr("One or more invalid attributes")); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:60:39: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 28 | transform.addAlert(AlertType::Error, QObject::tr("One or more invalid attributes")); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:60:46: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | transform.addAlert(AlertType::Error, QObject::tr("One or more invalid attributes")); | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:94:38: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 20 | void GraphTransform::setProgressable(Progressable* progressable) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:105:37: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | void GraphTransform::setPhase(const QString& phase) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:111:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | QString GraphTransformFactory::image() const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:113:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | if(category() == QObject::tr("Attributes")) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:114:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"qrc:///transforms/images/attributes.svg"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:116:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | if(category() == QObject::tr("Clustering")) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:117:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"qrc:///transforms/images/clustering.svg"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:119:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | if(category() == QObject::tr("Edge Reduction")) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:120:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"qrc:///transforms/images/edgereduction.svg"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:122:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | if(category() == QObject::tr("Filters")) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:123:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"qrc:///transforms/images/filters.svg"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:125:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | if(category() == QObject::tr("Metrics")) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:126:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"qrc:///transforms/images/metrics.svg"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:128:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | if(category() == QObject::tr("Structural")) | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:129:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"qrc:///transforms/images/structural.svg"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:131:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | return u"qrc:///transforms/images/default.svg"_s; | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:134:1: warning: no header providing "GraphTransformAttributeParameter" is directly included [misc-include-cleaner] 20 | GraphTransformAttributeParameter GraphTransformFactory::attributeParameter(const QString& parameterName) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:134:82: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | GraphTransformAttributeParameter GraphTransformFactory::attributeParameter(const QString& parameterName) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:137:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 28 | auto it = std::find_if(p.begin(), p.end(), | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:149:1: warning: no header providing "GraphTransformParameter" is directly included [misc-include-cleaner] 20 | GraphTransformParameter GraphTransformFactory::parameter(const QString& parameterName) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:149:64: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | GraphTransformParameter GraphTransformFactory::parameter(const QString& parameterName) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:152:20: warning: no header providing "std::find_if" is directly included [misc-include-cleaner] 28 | auto it = std::find_if(p.begin(), p.end(), | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:164:59: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | void GraphTransformFactory::setMissingParametersToDefault(GraphTransformConfig& graphTransformConfig) const | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:173:18: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 28 | case QMetaType::Int: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:177:18: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 28 | case QMetaType::Double: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:181:18: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 28 | case QMetaType::QString: | ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:185:18: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 28 | case QMetaType::QStringList: | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23612 warnings generated. [151/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:26:1: warning: included header container_combine.h is not used directly [misc-include-cleaner] 26 | #include "shared/utils/container_combine.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:37:19: warning: no header providing "std::move" is directly included [misc-include-cleaner] 29 | 30 | TransformCache::TransformCache(GraphModel& graphModel) : 31 | _graphModel(&graphModel) 32 | {} 33 | 34 | TransformCache& TransformCache::operator=(TransformCache&& other) noexcept 35 | { 36 | _graphModel = other._graphModel; 37 | _cache = std::move(other._cache); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:49:56: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | bool TransformCache::lastResultChangedAnyOf(const std::vector& attributeNames) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:49:63: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | bool TransformCache::lastResultChangedAnyOf(const std::vector& attributeNames) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:54:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | std::vector TransformCache::attributesChangedByLastResult() const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:54:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::vector TransformCache::attributesChangedByLastResult() const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:56:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 29 | std::vector attributeNames; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:56:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::vector attributeNames; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:75:37: warning: no header providing "std::move" is directly included [misc-include-cleaner] 29 | _cache.back().emplace_back(std::move(result)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:78:52: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | void TransformCache::attributeAddedOrChanged(const QString& attributeName) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:116:63: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 22 | TransformCache::Result TransformCache::apply(int index, const GraphTransformConfig& config, TransformedGraph& graph) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:144:23: warning: no header providing "std::move" is directly included [misc-include-cleaner] 29 | result = std::move(cachedResult); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:184:6: warning: no header providing "std::map" is directly included [misc-include-cleaner] 29 | std::map TransformCache::attributes() const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:184:10: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::map TransformCache::attributes() const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:184:19: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | std::map TransformCache::attributes() const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:186:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 29 | std::map map; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:186:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::map map; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformcache.cpp:186:23: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | std::map map; | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:31:34: warning: use c++14 style type templates [modernize-type-traits] 31 | std::is_const_v::type>; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:36: warning: forwarding reference parameter 'begin' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | auto make_iterator_range(BeginIt&& begin, EndIt&& end) | ^ /home/runner/work/graphia/graphia/source/shared/utils/iterator_range.h:66:51: warning: forwarding reference parameter 'end' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | auto make_iterator_range(BeginIt&& begin, EndIt&& end) | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23625 warnings generated. [152/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:24:1: warning: included header icommand.h is not used directly [misc-include-cleaner] 24 | #include "shared/commands/icommand.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include "shared/utils/container.h" /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:26:1: warning: included header container_combine.h is not used directly [misc-include-cleaner] 26 | #include "shared/utils/container_combine.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | #include "shared/utils/string.h" /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:29:1: warning: included header functional is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:48:96: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 30 | connect(&_target, &Graph::graphChanged, this, &TransformedGraph::onTargetGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:53:65: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | connect(_source, &Graph::nodeRemoved, [this](const Graph*, NodeId nodeId) { _nodesState[nodeId].remove(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:54:65: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | connect(_source, &Graph::nodeAdded, [this](const Graph*, NodeId nodeId) { _nodesState[nodeId].add(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:55:65: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | connect(_source, &Graph::edgeRemoved, [this](const Graph*, EdgeId edgeId) { _edgesState[edgeId].remove(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:56:65: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | connect(_source, &Graph::edgeAdded, [this](const Graph*, EdgeId edgeId) { _edgesState[edgeId].add(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:58:65: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | connect(&_target, &Graph::nodeRemoved, [this](const Graph*, NodeId nodeId) { _nodesState[nodeId].remove(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:59:65: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | connect(&_target, &Graph::nodeAdded, [this](const Graph*, NodeId nodeId) { _nodesState[nodeId].add(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:60:65: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | connect(&_target, &Graph::edgeRemoved, [this](const Graph*, EdgeId edgeId) { _edgesState[edgeId].remove(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:61:65: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | connect(&_target, &Graph::edgeAdded, [this](const Graph*, EdgeId edgeId) { _edgesState[edgeId].add(); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:63:23: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 30 | addTransform(std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:63:35: warning: no header providing "IdentityTransform" is directly included [misc-include-cleaner] 28 | addTransform(std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:68:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_currentTransformMutex); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:68:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_currentTransformMutex); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:75:65: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | bool TransformedGraph::onAttributeValuesChangedExternally(const QStringList& changedAttributeNames) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:77:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 30 | std::vector referencedAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:77:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | std::vector referencedAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:121:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 30 | std::vector TransformedGraph::addedOrChangedAttributeNamesAtTransformIndex(int index) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:121:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | std::vector TransformedGraph::addedOrChangedAttributeNamesAtTransformIndex(int index) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:136:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit graphWillChange(this); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:144:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | QStringList changedAttributeNames; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:146:63: warning: no header providing "IMutableGraph" is directly included [misc-include-cleaner] 25 | _target.performTransaction([this, &changedAttributeNames](IMutableGraph&) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:150:9: warning: no header providing "TransformCache" is directly included [misc-include-cleaner] 28 | TransformCache newCache(*_graphModel); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:166:13: warning: no header providing "TransformCache" is directly included [misc-include-cleaner] 28 | TransformCache::Result result; | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:173:35: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | newCache.add(std::move(result)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:184:38: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 30 | result._graph = std::make_unique(_target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:207:31: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | newCache.add(std::move(result)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:218:27: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _cache = std::move(oldCache); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:219:50: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _addedOrChangedAttributeNames = std::move(oldAddedOrChangedAttributeNames); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:235:27: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _cache = std::move(newCache); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:236:50: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _addedOrChangedAttributeNames = std::move(newAddedOrChangedAttributeNames); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:241:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit attributeValuesChanged(changedAttributeNames); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:245:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit graphChanged(this, _changeSignalsEmitted); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:248:44: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 28 | void TransformedGraph::setCurrentTransform(GraphTransform* currentTransform) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:250:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_currentTransformMutex); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:250:33: warning: no header providing "std::mutex" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_currentTransformMutex); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:259:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | for(NodeId nodeId(0); nodeId < static_cast(_nodesState.size()); ++nodeId) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:263:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit nodeAdded(this, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:268:9: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 25 | for(EdgeId edgeId(0); edgeId < static_cast(_edgesState.size()); ++edgeId) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:272:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit edgeAdded(this, edgeId); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:277:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit edgeRemoved(this, edgeId); | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:282:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 25 | for(NodeId nodeId(0); nodeId < static_cast(_nodesState.size()); ++nodeId) | ^ /home/runner/work/graphia/graphia/source/app/transform/transformedgraph.cpp:286:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit nodeRemoved(this, nodeId); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23989 warnings generated. [153/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:28:1: warning: included header QObject is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:29:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:33:8: warning: no header providing "Alert" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:33:61: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | #include "transform/transformedgraph.h" 22 | #include "graph/graphmodel.h" 23 | 24 | #include "shared/utils/typeidentity.h" 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:36:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:36:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:36:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:38:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 37 | 38 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:40:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 37 | 38 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 39 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 40 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:40:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 37 | 38 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 39 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 40 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:40:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 37 | 38 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 39 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 40 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:42:11: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 37 | 38 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 39 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 40 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; 41 | 42 | const QRegularExpression regex(config.parameterByName(u"Regular Expression"_s)->valueAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:42:80: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 37 | 38 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 39 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 40 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; 41 | 42 | const QRegularExpression regex(config.parameterByName(u"Regular Expression"_s)->valueAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:44:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | return {AlertType::Error, QObject::tr("Invalid Regular Expression: %1").arg(regex.errorString())}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:44:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | return {AlertType::Error, QObject::tr("Invalid Regular Expression: %1").arg(regex.errorString())}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:44:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) 34 | { 35 | if(config.attributeNames().empty()) 36 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 37 | 38 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 39 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 40 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; 41 | 42 | const QRegularExpression regex(config.parameterByName(u"Regular Expression"_s)->valueAsString()); 43 | if(!regex.isValid()) 44 | return {AlertType::Error, QObject::tr("Invalid Regular Expression: %1").arg(regex.errorString())}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:46:13: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:46:24: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 25 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:51:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | setPhase(QObject::tr("Attribute Synthesis")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:54:23: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:54:34: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 25 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:62:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | auto newAttributeName = config().parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:63:5: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | QRegularExpression regex(config().parameterByName(u"Regular Expression"_s)->valueAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:63:76: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | QRegularExpression regex(config().parameterByName(u"Regular Expression"_s)->valueAsString()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:64:70: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | auto attributeValue = config().parameterByName(u"Attribute Value"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:69:33: warning: no header providing "std::remove_reference" is directly included [misc-include-cleaner] 30 | using E = typename std::remove_reference::type::value_type; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:71:9: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray newValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:87:29: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("An attribute synthesised by the Attribute Synthesis transform.")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:95:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:95:41: warning: no header providing "AttributeFlag_reflector::Enum::FindShared" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:96:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:96:41: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:101:13: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray newIntValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:106:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:106:41: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:112:13: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray newFloatValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:117:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:117:41: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:123:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(sourceAttribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:123:54: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(sourceAttribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:125:46: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(sourceAttribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:125:59: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(sourceAttribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:129:62: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | bool AttributeSynthesisTransformFactory::configIsValid(const GraphTransformConfig& graphTransformConfig) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:131:84: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | return attributeSynthesisTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:131:95: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 25 | return attributeSynthesisTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:134:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr AttributeSynthesisTransformFactory::create( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:135:11: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23887 warnings generated. [154/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:28:1: warning: included header QObject is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:29:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:31:8: warning: no header providing "Alert" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | static Alert averageAttributeTransformConfigIsValid(const GraphModel& graphModel, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:32:11: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | #include "transform/transformedgraph.h" 22 | 23 | #include "graph/graphmodel.h" 24 | 25 | #include 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | static Alert averageAttributeTransformConfigIsValid(const GraphModel& graphModel, 32 | const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:36:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | static Alert averageAttributeTransformConfigIsValid(const GraphModel& graphModel, 32 | const GraphTransformConfig& config) 33 | { 34 | const auto& attributeNames = config.attributeNames(); 35 | if(attributeNames.size() != 2) 36 | return {AlertType::Error, QObject::tr("Invalid parameters")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:36:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | static Alert averageAttributeTransformConfigIsValid(const GraphModel& graphModel, 32 | const GraphTransformConfig& config) 33 | { 34 | const auto& attributeNames = config.attributeNames(); 35 | if(attributeNames.size() != 2) 36 | return {AlertType::Error, QObject::tr("Invalid parameters")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:36:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | static Alert averageAttributeTransformConfigIsValid(const GraphModel& graphModel, 32 | const GraphTransformConfig& config) 33 | { 34 | const auto& attributeNames = config.attributeNames(); 35 | if(attributeNames.size() != 2) 36 | return {AlertType::Error, QObject::tr("Invalid parameters")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:42:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | return {AlertType::Error, QObject::tr("Attributes must both be node or edge attributes, not a mixture")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:42:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 24 | return {AlertType::Error, QObject::tr("Attributes must both be node or edge attributes, not a mixture")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:42:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | return {AlertType::Error, QObject::tr("Attributes must both be node or edge attributes, not a mixture")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:44:13: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:44:24: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 24 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:49:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | setPhase(QObject::tr("Averaging Attribute")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:52:23: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:52:34: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 24 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:64:27: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | sourceAttributeName = Attribute::prettify(sourceAttributeName); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:65:33: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | sharedValuesAttributeName = Attribute::prettify(sharedValuesAttributeName); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:67:30: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | auto meanAttributeName = QObject::tr("Mean %1 of %2") | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:71:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | .setDescription(QObject::tr("The mean of %1 for each value of %2.") | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:73:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:73:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:81:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 25 | size_t _count = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:87:14: warning: no header providing "std::map" is directly included [misc-include-cleaner] 25 | std::map values; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:87:18: warning: no header providing "QString" is directly included [misc-include-cleaner] 26 | std::map values; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:88:9: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray elementValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:103:9: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray averages(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:116:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Node: setAverageFunction(target.nodeIds()); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:116:23: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | case ElementType::Node: setAverageFunction(target.nodeIds()); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:117:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: setAverageFunction(target.edgeIds()); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:117:23: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: setAverageFunction(target.edgeIds()); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:118:14: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 26 | default: qFatal("Unhandled ElementType"); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:122:60: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | bool AverageAttributeTransformFactory::configIsValid(const GraphTransformConfig& graphTransformConfig) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:124:97: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | return averageAttributeTransformConfigIsValid(*graphModel(), graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:124:108: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 24 | return averageAttributeTransformConfigIsValid(*graphModel(), graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:127:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr AverageAttributeTransformFactory::create( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:128:11: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23874 warnings generated. [155/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:30:1: warning: included header map is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~ 31 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:37:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void BetweennessTransform::apply(TransformedGraph& target) 36 | { 37 | setPhase(u"Betweenness"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:42:10: warning: no header providing "std::atomic_int" is directly included [misc-include-cleaner] 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | void BetweennessTransform::apply(TransformedGraph& target) 36 | { 37 | setPhase(u"Betweenness"_s); 38 | setProgress(0); 39 | 40 | const auto& nodeIds = target.nodeIds(); 41 | const auto& edgeIds = target.edgeIds(); 42 | std::atomic_int progress(0); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:55:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | std::vector betweennessArrays( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:60:9: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | [&](NodeId nodeId, size_t threadIndex) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:60:24: warning: no header providing "size_t" is directly included [misc-include-cleaner] 27 | [&](NodeId nodeId, size_t threadIndex) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:67:24: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 32 | NodeArray> predecessors(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:67:31: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeArray> predecessors(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:72:20: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::stack stack; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:73:20: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::queue queue; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:144:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | _graphModel->createAttribute(QObject::tr("Node Betweenness")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:145:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | .setDescription(QObject::tr("A node's betweenness is the number of shortest paths that pass through it.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:146:44: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | .setFloatValueFn([nodeBetweenness](NodeId nodeId) { return nodeBetweenness[nodeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:147:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:147:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:148:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:148:33: warning: no header providing "AttributeFlag_reflector::Enum::VisualiseByComponent" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:150:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | _graphModel->createAttribute(QObject::tr("Edge Betweenness")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:151:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | .setDescription(QObject::tr("An edge's betweenness is the number of shortest paths that pass through it.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:152:44: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | .setFloatValueFn([edgeBetweenness](EdgeId edgeId) { return edgeBetweenness[edgeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:153:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:153:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:154:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:154:33: warning: no header providing "AttributeFlag_reflector::Enum::VisualiseByComponent" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:157:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 28 | std::unique_ptr BetweennessTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:157:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr BetweennessTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:157:75: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr BetweennessTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/betweennesstransform.cpp:159:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 28 | return std::make_unique(graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 24697 warnings generated. [156/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:25:1: warning: included header algorithm is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:27:1: warning: included header QObject is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:31:8: warning: no header providing "Alert" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:31:63: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | #include "transform/transformedgraph.h" 21 | #include "attributes/conditionfncreator.h" 22 | 23 | #include "graph/graphmodel.h" 24 | 25 | #include 26 | 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:33:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:35:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 34 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 35 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:35:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 34 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 35 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:35:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 34 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 35 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:37:13: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 34 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 35 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; 36 | 37 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:37:24: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | 27 | #include 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 34 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 35 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; 36 | 37 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:42:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 34 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 35 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; 36 | 37 | return {AlertType::None, {}}; 38 | } 39 | 40 | void ConditionalAttributeTransform::apply(TransformedGraph& target) 41 | { 42 | setPhase(QObject::tr("Boolean Attribute")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:45:23: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:45:34: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 24 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:51:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 28 | auto newAttributeName = config().parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:56:33: warning: no header providing "std::remove_reference" is directly included [misc-include-cleaner] 28 | using E = typename std::remove_reference::type::value_type; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:58:9: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 20 | ElementIdArray newValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:58:27: warning: no header providing "QString" is directly included [misc-include-cleaner] 28 | ElementIdArray newValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:63:22: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:63:33: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 24 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:63:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:68:61: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | newValues[elementId] = conditionFn(elementId) ? QObject::tr("True") : QObject::tr("False"); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:68:83: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | newValues[elementId] = conditionFn(elementId) ? QObject::tr("True") : QObject::tr("False"); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:71:29: warning: no header providing "QObject" is directly included [misc-include-cleaner] 28 | .setDescription(QObject::tr("An attribute synthesised by the Boolean Attribute transform.")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:74:22: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:74:37: warning: no header providing "AttributeFlag_reflector::Enum::FindShared" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:75:22: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:75:37: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:78:24: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | if(_elementType == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:78:37: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 20 | if(_elementType == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:80:29: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | else if(_elementType == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:80:42: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 20 | else if(_elementType == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:84:64: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | bool ConditionalAttributeTransformFactory::configIsValid(const GraphTransformConfig& graphTransformConfig) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:86:86: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | return conditionalAttributeTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:86:97: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 24 | return conditionalAttributeTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:89:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 28 | std::unique_ptr ConditionalAttributeTransformFactory::create( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:89:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 20 | std::unique_ptr ConditionalAttributeTransformFactory::create( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:90:11: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:92:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 28 | return std::make_unique(elementType(), *graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 26422 warnings generated. [157/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:24:1: warning: included header string.h is not used directly [misc-include-cleaner] 24 | #include "shared/utils/string.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:26:1: warning: included header QObject is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:32:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void ContractByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:36:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void ContractByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); 33 | 34 | if(config().attributeNames().empty()) 35 | { 36 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:36:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void ContractByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); 33 | 34 | if(config().attributeNames().empty()) 35 | { 36 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:36:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void ContractByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); 33 | 34 | if(config().attributeNames().empty()) 35 | { 36 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:42:5: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | GraphTransformConfig::TerminalCondition condition | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:44:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"$source.%1"_s.arg(attributeName), | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:45:24: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 20 | ConditionFnOp::Equality::Equal, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:45:34: warning: no header providing "ConditionFnOp::Equality::Equal" is directly included [misc-include-cleaner] 20 | ConditionFnOp::Equality::Equal, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:46:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"$target.%1"_s.arg(attributeName), | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:52:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:52:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:52:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:56:5: warning: no header providing "EdgeIdSet" is directly included [misc-include-cleaner] 20 | EdgeIdSet edgeIdsToContract; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:67:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 27 | std::unique_ptr ContractByAttributeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:67:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 20 | std::unique_ptr ContractByAttributeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:67:83: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | std::unique_ptr ContractByAttributeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/contractbyattributetransform.cpp:69:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 27 | return std::make_unique(*graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 26412 warnings generated. [158/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:28:1: warning: included header QObject is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:29:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:33:8: warning: no header providing "Alert" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert combineAttributesTransformConfigIsValid(const GraphModel& graphModel, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:34:11: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | #include "transform/transformedgraph.h" 22 | #include "graph/graphmodel.h" 23 | 24 | #include "shared/utils/typeidentity.h" 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert combineAttributesTransformConfigIsValid(const GraphModel& graphModel, 34 | const GraphTransformConfig& config, bool atApplication = false) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:38:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert combineAttributesTransformConfigIsValid(const GraphModel& graphModel, 34 | const GraphTransformConfig& config, bool atApplication = false) 35 | { 36 | const auto& attributeNames = config.attributeNames(); 37 | if(attributeNames.size() != 2) 38 | return {AlertType::Error, QObject::tr("Invalid parameters")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:38:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | #include 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert combineAttributesTransformConfigIsValid(const GraphModel& graphModel, 34 | const GraphTransformConfig& config, bool atApplication = false) 35 | { 36 | const auto& attributeNames = config.attributeNames(); 37 | if(attributeNames.size() != 2) 38 | return {AlertType::Error, QObject::tr("Invalid parameters")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:38:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | static Alert combineAttributesTransformConfigIsValid(const GraphModel& graphModel, 34 | const GraphTransformConfig& config, bool atApplication = false) 35 | { 36 | const auto& attributeNames = config.attributeNames(); 37 | if(attributeNames.size() != 2) 38 | return {AlertType::Error, QObject::tr("Invalid parameters")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:46:21: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | return {AlertType::Error, QObject::tr("Attributes must both be node or edge attributes, not a mixture")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:46:32: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | return {AlertType::Error, QObject::tr("Attributes must both be node or edge attributes, not a mixture")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:46:39: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | return {AlertType::Error, QObject::tr("Attributes must both be node or edge attributes, not a mixture")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:49:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:51:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:51:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:51:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:53:13: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:53:24: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 25 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:58:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | setPhase(QObject::tr("Combine Attributes")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:61:23: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:61:34: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 25 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:72:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | auto newAttributeName = config().parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:73:70: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | auto attributeValue = config().parameterByName(u"Attribute Value"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:78:33: warning: no header providing "std::remove_reference" is directly included [misc-include-cleaner] 30 | using E = typename std::remove_reference::type::value_type; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:80:9: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray newValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:89:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | replacement.replace(u"\\1"_s, firstValue); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:90:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | replacement.replace(u"\\2"_s, secondValue); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:97:29: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("An attribute synthesised by the Combine Attributes transform.")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:105:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:105:41: warning: no header providing "AttributeFlag_reflector::Enum::FindShared" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:106:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:106:41: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:111:13: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray newIntValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:116:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:116:41: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:122:13: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray newFloatValues(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:127:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:127:41: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:133:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | if(firstAttribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:133:53: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | if(firstAttribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:135:45: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | else if(firstAttribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:135:58: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | else if(firstAttribute.elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:139:61: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | bool CombineAttributesTransformFactory::configIsValid(const GraphTransformConfig& graphTransformConfig) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:141:98: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | return combineAttributesTransformConfigIsValid(*graphModel(), graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:141:109: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 25 | return combineAttributesTransformConfigIsValid(*graphModel(), graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:144:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr CombineAttributesTransformFactory::create( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:145:11: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23874 warnings generated. [159/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:24:1: warning: included header map is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:31:29: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | 27 | using namespace Qt::Literals::StringLiterals; 28 | 29 | void EccentricityTransform::apply(TransformedGraph& target) 30 | { 31 | setPhase(u"Eccentricity"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:38:5: warning: no header providing "NodeIdMap" is directly included [misc-include-cleaner] 20 | NodeIdMap nodeIdToMatrixIndex; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:45:5: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | NodeArray maxDistances(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:50:10: warning: no header providing "std::atomic_int" is directly included [misc-include-cleaner] 24 | std::atomic_int progress(0); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:52:47: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | [this, &maxDistances, &progress, &target](NodeId source) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:57:9: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | NodeArray distance(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:58:9: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | NodeArray visited(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:60:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | auto comparator = [&distance](NodeId a, NodeId b){ return distance[a] > distance[b]; }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:60:49: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | auto comparator = [&distance](NodeId a, NodeId b){ return distance[a] > distance[b]; }; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:61:29: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | std::priority_queue, decltype(comparator)> queue(comparator); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:61:42: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 26 | std::priority_queue, decltype(comparator)> queue(comparator); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:61:49: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | std::priority_queue, decltype(comparator)> queue(comparator); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:64:37: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 24 | distance[nodeId] = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:83:23: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 20 | for(const EdgeId edgeId : target.edgeIdsForNodeId(nodeId)) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:85:23: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | const NodeId adjacentNodeId = target.edgeById(edgeId).oppositeId(nodeId); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:98:41: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 24 | if(distance[nodeId] != std::numeric_limits::max()) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:99:36: warning: no header providing "std::max" is directly included [misc-include-cleaner] 24 | maxDistance = std::max(distance[nodeId], maxDistance); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:112:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | _graphModel->createAttribute(QObject::tr("Node Eccentricity")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:113:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | .setDescription(QObject::tr("A node's eccentricity is the length of the shortest path to the furthest node.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:114:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | .setIntValueFn([maxDistances](NodeId nodeId) { return maxDistances[nodeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:115:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:115:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:116:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:116:33: warning: no header providing "AttributeFlag_reflector::Enum::VisualiseByComponent" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:119:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 25 | std::unique_ptr EccentricityTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:119:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 20 | std::unique_ptr EccentricityTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:119:76: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | std::unique_ptr EccentricityTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/eccentricitytransform.cpp:121:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 25 | return std::make_unique(graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 24678 warnings generated. [160/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:24:1: warning: included header string.h is not used directly [misc-include-cleaner] 24 | #include "shared/utils/string.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:26:1: warning: included header QObject is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:30:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | void EdgeContractionTransform::apply(TransformedGraph& target) 29 | { 30 | setPhase(QObject::tr("Contracting")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:35:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | void EdgeContractionTransform::apply(TransformedGraph& target) 29 | { 30 | setPhase(QObject::tr("Contracting")); 31 | 32 | auto conditionFn = CreateConditionFnFor::edge(*_graphModel, config()._condition); 33 | if(conditionFn == nullptr) 34 | { 35 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:35:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | void EdgeContractionTransform::apply(TransformedGraph& target) 29 | { 30 | setPhase(QObject::tr("Contracting")); 31 | 32 | auto conditionFn = CreateConditionFnFor::edge(*_graphModel, config()._condition); 33 | if(conditionFn == nullptr) 34 | { 35 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:35:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | void EdgeContractionTransform::apply(TransformedGraph& target) 29 | { 30 | setPhase(QObject::tr("Contracting")); 31 | 32 | auto conditionFn = CreateConditionFnFor::edge(*_graphModel, config()._condition); 33 | if(conditionFn == nullptr) 34 | { 35 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:39:5: warning: no header providing "EdgeIdSet" is directly included [misc-include-cleaner] 20 | EdgeIdSet edgeIdsToContract; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:50:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 27 | std::unique_ptr EdgeContractionTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:50:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 20 | std::unique_ptr EdgeContractionTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:50:79: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | std::unique_ptr EdgeContractionTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgecontractiontransform.cpp:52:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 27 | return std::make_unique(*graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 26386 warnings generated. [161/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:26:1: warning: included header QObject is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:32:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void EdgeReductionTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Edge Reduction")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:34:35: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | #include 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void EdgeReductionTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Edge Reduction")); 33 | 34 | auto percentage = static_cast(std::get(config().parameterByName(u"Percentage"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:34:95: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void EdgeReductionTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Edge Reduction")); 33 | 34 | auto percentage = static_cast(std::get(config().parameterByName(u"Percentage"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:35:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | #include 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void EdgeReductionTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Edge Reduction")); 33 | 34 | auto percentage = static_cast(std::get(config().parameterByName(u"Percentage"_s)->_value)); 35 | auto minimum = static_cast(std::get(config().parameterByName(u"Minimum"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:35:89: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void EdgeReductionTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Edge Reduction")); 33 | 34 | auto percentage = static_cast(std::get(config().parameterByName(u"Percentage"_s)->_value)); 35 | auto minimum = static_cast(std::get(config().parameterByName(u"Minimum"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:37:5: warning: no header providing "EdgeArray" is directly included [misc-include-cleaner] 21 | EdgeArray removees(target, true); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:39:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 23 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:47:83: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | std::mt19937 generator(static_cast(static_cast(nodeId))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:48:39: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | std::uniform_int_distribution distribution(0, edgeIds.size() - 1); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:50:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | const size_t numEdgesToRetain = std::max(minimum, (edgeIds.size() * percentage) / 100); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:50:46: warning: no header providing "std::max" is directly included [misc-include-cleaner] 23 | const size_t numEdgesToRetain = std::max(minimum, (edgeIds.size() * percentage) / 100); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:52:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | for(size_t i = 0u; i < numEdgesToRetain; i++) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:59:25: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 23 | static_cast(target.numNodes()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:70:25: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 23 | static_cast(target.numEdges()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:76:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr EdgeReductionTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/edgereductiontransform.cpp:76:77: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr EdgeReductionTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20681 warnings generated. [162/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:29:1: warning: included header QObject is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:31:8: warning: no header providing "Alert" is directly included [misc-include-cleaner] 26 | 27 | #include 28 | 29 | #include 30 | 31 | static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:31:71: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | #include "transform/transformedgraph.h" 22 | #include "graph/graphmodel.h" 23 | 24 | #include "shared/utils/typeidentity.h" 25 | #include "shared/utils/msvcwarningsuppress.h" 26 | 27 | #include 28 | 29 | #include 30 | 31 | static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:34:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 26 | 27 | #include 28 | 29 | #include 30 | 31 | static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:34:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 26 | 27 | #include 28 | 29 | #include 30 | 31 | static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:34:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:36:13: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 26 | 27 | #include 28 | 29 | #include 30 | 31 | static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 35 | 36 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:36:24: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 26 | 27 | #include 28 | 29 | #include 30 | 31 | static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 35 | 36 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:42:5: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | Attribute _proxiedAttribute; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:43:5: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray _headMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:49:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(!headElementId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:56:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | setPhase(QObject::tr("Forward Multi-Element Attribute")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:59:23: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 26 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:59:34: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 26 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:77:33: warning: no header providing "std::remove_reference" is directly included [misc-include-cleaner] 30 | using E = typename std::remove_reference::type::value_type; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:78:9: warning: no header providing "ElementIdArray" is directly included [misc-include-cleaner] 21 | ElementIdArray headMap(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:85:18: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | case MultiElementType::Not: headMap[elementId] = elementId; [[fallthrough]]; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:85:36: warning: no header providing "MultiElementType::Not" is directly included [misc-include-cleaner] 21 | case MultiElementType::Not: headMap[elementId] = elementId; [[fallthrough]]; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:86:18: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | case MultiElementType::Tail: continue; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:86:36: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | case MultiElementType::Tail: continue; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:98:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Int: attribute.setIntValueFn(AttributeProxyFunctor{proxiedAttribute, headMap}); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:98:25: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 21 | case ValueType::Int: attribute.setIntValueFn(AttributeProxyFunctor{proxiedAttribute, headMap}); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:99:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::Float: attribute.setFloatValueFn(AttributeProxyFunctor{proxiedAttribute, headMap}); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:99:25: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 21 | case ValueType::Float: attribute.setFloatValueFn(AttributeProxyFunctor{proxiedAttribute, headMap}); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:100:14: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | case ValueType::String: attribute.setStringValueFn(AttributeProxyFunctor{proxiedAttribute, headMap}); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:100:25: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 21 | case ValueType::String: attribute.setStringValueFn(AttributeProxyFunctor{proxiedAttribute, headMap}); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:101:18: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 30 | default: qFatal("Unhandled ValueType"); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:110:17: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(!headElementId.isNull()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:118:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Node: setProxyFunctor(target.nodeIds(), &Graph::mergedNodeIdsForNodeId); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:118:23: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 21 | case ElementType::Node: setProxyFunctor(target.nodeIds(), &Graph::mergedNodeIdsForNodeId); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:119:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: setProxyFunctor(target.edgeIds(), &Graph::mergedEdgeIdsForEdgeId); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:119:23: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 21 | case ElementType::Edge: setProxyFunctor(target.edgeIds(), &Graph::mergedEdgeIdsForEdgeId); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:120:14: warning: no header providing "qFatal" is directly included [misc-include-cleaner] 30 | default: qFatal("Unhandled ElementType"); break; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:124:72: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | bool ForwardMultiElementAttributeTransformFactory::configIsValid(const GraphTransformConfig& graphTransformConfig) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:126:94: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 26 | return forwardMultiElementAttributeTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:126:105: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 26 | return forwardMultiElementAttributeTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:129:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr ForwardMultiElementAttributeTransformFactory::create( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:130:11: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23923 warnings generated. [163/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:24:1: warning: included header string.h is not used directly [misc-include-cleaner] 24 | #include "shared/utils/string.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:26:1: warning: included header QObject is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:32:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void SeparateByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:36:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void SeparateByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); 33 | 34 | if(config().attributeNames().empty()) 35 | { 36 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:36:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void SeparateByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); 33 | 34 | if(config().attributeNames().empty()) 35 | { 36 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:36:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | void SeparateByAttributeTransform::apply(TransformedGraph& target) 31 | { 32 | setPhase(QObject::tr("Contracting")); 33 | 34 | if(config().attributeNames().empty()) 35 | { 36 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:42:5: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | GraphTransformConfig::TerminalCondition condition | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:44:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"$source.%1"_s.arg(attributeName), | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:45:24: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 20 | ConditionFnOp::Equality::NotEqual, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:45:34: warning: no header providing "ConditionFnOp::Equality::NotEqual" is directly included [misc-include-cleaner] 20 | ConditionFnOp::Equality::NotEqual, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:46:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | u"$target.%1"_s.arg(attributeName), | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:52:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 25 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:52:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 25 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:52:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 27 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:56:5: warning: no header providing "EdgeIdSet" is directly included [misc-include-cleaner] 20 | EdgeIdSet edgeIdsToRemove; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:67:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 27 | std::unique_ptr SeparateByAttributeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:67:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 20 | std::unique_ptr SeparateByAttributeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:67:83: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | std::unique_ptr SeparateByAttributeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/separatebyattributetransform.cpp:69:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 27 | return std::make_unique(*graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 26393 warnings generated. [164/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:23:1: warning: included header container.h is not used directly [misc-include-cleaner] 23 | #include "shared/utils/container.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:26:1: warning: included header functional is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:29:1: warning: included header QObject is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:35:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void KNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("k-NN")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:39:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void KNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("k-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:39:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void KNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("k-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:39:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void KNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("k-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:45:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto k = static_cast(std::get(config().parameterByName(u"k"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:45:77: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void KNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("k-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); 40 | return; 41 | } 42 | 43 | auto attribute = _graphModel->attributeValueByName(config().attributeNames().front()); 44 | 45 | auto k = static_cast(std::get(config().parameterByName(u"k"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:46:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | const bool ascending = config().parameterHasValue(u"Rank Order"_s, u"Ascending"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:46:84: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | const bool ascending = config().parameterHasValue(u"Rank Order"_s, u"Ascending"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:50:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t _source = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:51:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t _target = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:55:5: warning: no header providing "EdgeArray" is directly included [misc-include-cleaner] 21 | EdgeArray ranks(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:56:5: warning: no header providing "EdgeArray" is directly included [misc-include-cleaner] 21 | EdgeArray removees(target, true); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:58:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:62:60: warning: no header providing "std::ptrdiff_t" is directly included [misc-include-cleaner] 26 | auto kthPlus1 = edgeIds.begin() + static_cast(std::min(k, edgeIds.size())); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:77:41: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto position = static_cast(std::distance(edgeIds.begin(), it) + 1); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:77:54: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 27 | auto position = static_cast(std::distance(edgeIds.begin(), it) + 1); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:88:25: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | static_cast(target.numNodes()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:112:25: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | static_cast(target.numEdges()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:117:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("k-NN Source Rank")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:118:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The ranking given by k-NN, relative to its source node.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:119:32: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | .setIntValueFn([ranks](EdgeId edgeId) { return static_cast(ranks[edgeId]._source); }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:120:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:120:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:122:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("k-NN Target Rank")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:123:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The ranking given by k-NN, relative to its target node.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:124:32: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | .setIntValueFn([ranks](EdgeId edgeId) { return static_cast(ranks[edgeId]._target); }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:125:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:125:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:127:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("k-NN Mean Rank")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:128:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The mean ranking given by k-NN.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:129:34: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | .setFloatValueFn([ranks](EdgeId edgeId) { return ranks[edgeId]._mean; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:130:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:130:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:133:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr KNNTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/knntransform.cpp:133:67: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr KNNTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23807 warnings generated. [165/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:40:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | #include 32 | 33 | using namespace Qt::Literals::StringLiterals; 34 | 35 | // https://arxiv.org/abs/0803.0476 36 | 37 | void LouvainTransform::apply(TransformedGraph& target) 38 | { 39 | auto resolution = 1.0 - std::get( 40 | config().parameterByName(u"Granularity"_s)->_value); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:51:25: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | using CommunityId = NodeId; // Slight Hack, be careful with this | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:60:22: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 27 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:60:33: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 27 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:60:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:71:31: warning: no header providing "std::accumulate" is directly included [misc-include-cleaner] 29 | double totalWeight = std::accumulate(edgeIds.begin(), edgeIds.end(), 0.0, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:72:26: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | [&weights](double d, EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:78:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | size_t progressIteration = 1; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:79:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | setPhase(u"Louvain Initialising"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:85:43: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | auto add = [&](CommunityId community, NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:91:46: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | auto remove = [&](CommunityId community, NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:104:40: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:104:58: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:121:44: warning: no header providing "IMutableGraph" is directly included [misc-include-cleaner] 21 | coarseGraph.performTransaction([&](IMutableGraph&) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:126:44: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:126:62: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:136:17: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 29 | Q_ASSERT(assignedNodeId == newNodeId); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:139:13: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 28 | uint64_t edgeIndex = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:146:33: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 28 | static_cast(graph.numEdges()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:176:40: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:176:58: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:185:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | size_t subProgressIteration = 1; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:192:13: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 28 | uint64_t nodeIndex = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:194:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | setPhase(u"Louvain Iteration %1.%2"_s | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:195:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | .arg(QString::number(progressIteration), QString::number(subProgressIteration++))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:195:58: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | .arg(QString::number(progressIteration), QString::number(subProgressIteration++))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:200:33: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 28 | static_cast(graph.numNodes()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:202:44: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:202:62: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:214:57: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(neighbourNodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:214:75: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(neighbourNodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:277:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | setPhase(u"Louvain Iteration %1 Coarsening"_s | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:278:22: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | .arg(QString::number(progressIteration))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:289:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | setPhase(u"Louvain Finalising"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:294:36: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:294:54: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graph.typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:316:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | std::map communityHistogram; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:319:22: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 29 | std::vector> sortedCommunityHistogram; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:319:40: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | std::vector> sortedCommunityHistogram; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:321:14: warning: no header providing "std::back_inserter" is directly included [misc-include-cleaner] 28 | std::back_inserter(sortedCommunityHistogram)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:332:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | std::map clusterNumbers; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:333:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 28 | size_t clusterNumber = 1; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:340:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | NodeArray clusterNames(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:350:32: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | clusterNames[nodeId] = QObject::tr("Cluster %1").arg(clusterNumber); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:354:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | _graphModel->createAttribute(QObject::tr(_weighted ? "Weighted Louvain Cluster" : "Louvain Cluster")) // clazy:exclude=tr-non-literal | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:355:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | .setDescription(QObject::tr("The Louvain cluster in which the node resides.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:356:42: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | .setStringValueFn([clusterNames](NodeId nodeId) { return clusterNames[nodeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:357:43: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | .setValueMissingFn([clusterNames](NodeId nodeId) { return clusterNames[nodeId].isEmpty(); }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:358:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:358:33: warning: no header providing "AttributeFlag_reflector::Enum::FindShared" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:359:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:359:33: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:361:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | _graphModel->createAttribute(QObject::tr(_weighted ? "Weighted Louvain Cluster Size" : "Louvain Cluster Size")) // clazy:exclude=tr-non-literal | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:362:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | .setDescription(QObject::tr("The size of the Louvain cluster in which the node resides.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:363:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | .setIntValueFn([clusterSizes](NodeId nodeId) { return clusterSizes[nodeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:364:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:364:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 24123 warnings generated. [166/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:23:1: warning: included header container.h is not used directly [misc-include-cleaner] 23 | #include "shared/utils/container.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:26:1: warning: included header functional is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:29:1: warning: included header QObject is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:35:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void PercentNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("%-NN")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:39:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void PercentNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("%-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:39:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void PercentNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("%-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:39:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void PercentNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("%-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:43:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto percent = static_cast(std::get(config().parameterByName(u"Percent"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:43:89: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void PercentNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("%-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); 40 | return; 41 | } 42 | 43 | auto percent = static_cast(std::get(config().parameterByName(u"Percent"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:44:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto minimum = static_cast(std::get(config().parameterByName(u"Minimum"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:44:89: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void PercentNNTransform::apply(TransformedGraph& target) 34 | { 35 | setPhase(QObject::tr("%-NN")); 36 | 37 | if(config().attributeNames().empty()) 38 | { 39 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); 40 | return; 41 | } 42 | 43 | auto percent = static_cast(std::get(config().parameterByName(u"Percent"_s)->_value)); 44 | auto minimum = static_cast(std::get(config().parameterByName(u"Minimum"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:47:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | const bool ascending = config().parameterHasValue(u"Rank Order"_s, u"Ascending"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:47:84: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | const bool ascending = config().parameterHasValue(u"Rank Order"_s, u"Ascending"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:51:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t _source = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:52:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | size_t _target = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:56:5: warning: no header providing "EdgeArray" is directly included [misc-include-cleaner] 21 | EdgeArray ranks(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:57:5: warning: no header providing "EdgeArray" is directly included [misc-include-cleaner] 21 | EdgeArray removees(target, true); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:59:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:65:60: warning: no header providing "std::ptrdiff_t" is directly included [misc-include-cleaner] 26 | auto kthPlus1 = edgeIds.begin() + static_cast(std::min(k, edgeIds.size())); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:80:41: warning: no header providing "size_t" is directly included [misc-include-cleaner] 26 | auto position = static_cast(std::distance(edgeIds.begin(), it) + 1); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:80:54: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 27 | auto position = static_cast(std::distance(edgeIds.begin(), it) + 1); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:91:25: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | static_cast(target.numNodes()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:115:25: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | static_cast(target.numEdges()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:120:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("%-NN Source Rank")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:121:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The ranking given by k-NN, relative to its source node.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:122:32: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | .setIntValueFn([ranks](EdgeId edgeId) { return static_cast(ranks[edgeId]._source); }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:123:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:123:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:125:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("%-NN Target Rank")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:126:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The ranking given by k-NN, relative to its target node.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:127:32: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | .setIntValueFn([ranks](EdgeId edgeId) { return static_cast(ranks[edgeId]._target); }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:128:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:128:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:130:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("%-NN Mean Rank")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:131:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The mean ranking given by k-NN.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:132:34: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | .setFloatValueFn([ranks](EdgeId edgeId) { return ranks[edgeId]._mean; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:133:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:133:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:136:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr PercentNNTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/percentnntransform.cpp:136:73: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr PercentNNTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23809 warnings generated. [167/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:28:1: warning: included header string.h is not used directly [misc-include-cleaner] 28 | #include "shared/utils/string.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:30:1: warning: included header algorithm is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:32:1: warning: included header QObject is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~ 33 | /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:36:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | 34 | void FilterTransform::apply(TransformedGraph& target) 35 | { 36 | setPhase(QObject::tr("Filtering")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:43:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | case ElementType::Node: | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:43:23: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 20 | case ElementType::Node: | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:48:22: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 29 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:48:33: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 29 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:48:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | 34 | void FilterTransform::apply(TransformedGraph& target) 35 | { 36 | setPhase(QObject::tr("Filtering")); 37 | 38 | // The elements to be filtered are calculated first and then removed, because 39 | // removing elements during the filtering could affect the result of filter functions 40 | 41 | switch(_elementType) 42 | { 43 | case ElementType::Node: 44 | { 45 | auto conditionFn = CreateConditionFnFor::node(*_graphModel, config()._condition); 46 | if(conditionFn == nullptr) 47 | { 48 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:52:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector removees; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:52:21: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | std::vector removees; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:60:40: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | auto numRemovees = static_cast(removees.size()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:61:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:70:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | case ElementType::Edge: | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:70:23: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 20 | case ElementType::Edge: | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:75:22: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 29 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:75:33: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 29 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:75:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:79:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector removees; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:79:21: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 20 | std::vector removees; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:87:40: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | auto numRemovees = static_cast(removees.size()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:88:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:97:10: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | case ElementType::Component: | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:97:23: warning: no header providing "ElementType_reflector::Enum::Component" is directly included [misc-include-cleaner] 20 | case ElementType::Component: | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:102:22: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 29 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:102:33: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 29 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:102:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | addAlert(AlertType::Error, QObject::tr("Invalid condition")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:107:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector removees; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:107:21: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | std::vector removees; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:119:40: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | auto numRemovees = static_cast(removees.size()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:120:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 33 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:134:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 33 | std::unique_ptr FilterTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:134:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 20 | std::unique_ptr FilterTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:134:70: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | std::unique_ptr FilterTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/filtertransform.cpp:136:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 33 | return std::make_unique(elementType(), *graphModel(), _invert); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 26488 warnings generated. [168/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:24:1: warning: included header Blaze.h is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:26:1: warning: included header QElapsedTimer is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 27 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:27:1: warning: included header QDebug is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:39:27: warning: no header providing "blaze::CompressedMatrix" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const float MCL_PRUNE_LIMIT = 1e-4f; 37 | static const float MCL_CONVERGENCE_LIMIT = 1e-3f; 38 | 39 | using MatrixType = blaze::CompressedMatrix; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:39:58: warning: no header providing "blaze::columnMajor" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const float MCL_PRUNE_LIMIT = 1e-4f; 37 | static const float MCL_CONVERGENCE_LIMIT = 1e-3f; 38 | 39 | using MatrixType = blaze::CompressedMatrix; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:40:27: warning: no header providing "blaze::DynamicVector" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const float MCL_PRUNE_LIMIT = 1e-4f; 37 | static const float MCL_CONVERGENCE_LIMIT = 1e-3f; 38 | 39 | using MatrixType = blaze::CompressedMatrix; 40 | using VectorType = blaze::DynamicVector; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:40:55: warning: no header providing "blaze::columnVector" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const float MCL_PRUNE_LIMIT = 1e-4f; 37 | static const float MCL_CONVERGENCE_LIMIT = 1e-3f; 38 | 39 | using MatrixType = blaze::CompressedMatrix; 40 | using VectorType = blaze::DynamicVector; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:44:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const float MCL_PRUNE_LIMIT = 1e-4f; 37 | static const float MCL_CONVERGENCE_LIMIT = 1e-3f; 38 | 39 | using MatrixType = blaze::CompressedMatrix; 40 | using VectorType = blaze::DynamicVector; 41 | 42 | static void normaliseColumnsColumnMajor(MatrixType &mclMatrix) 43 | { 44 | for(size_t column = 0; column 0.0f); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:66:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t column = 0; column values; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:86:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector valid; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:87:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:87:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | std::vector indices; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:88:25: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | explicit MCLRowData(size_t columnCount) : values(columnCount, 0.0f), | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:93:54: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | static void expandAndPruneRow(MatrixType& mclMatrix, size_t columnId, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:94:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector* matrixStorage, MCLRowData& rowData, | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:103:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t nonzeros = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:105:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t minIndex = std::numeric_limits::infinity(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:105:28: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 29 | size_t minIndex = std::numeric_limits::infinity(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:105:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t minIndex = std::numeric_limits::infinity(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:106:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t maxIndex = 0UL; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:143:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(minIndex <= maxIndex); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:145:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t remainCount = nonzeros; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:150:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t i = 0UL; i < nonzeros; ++i) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:152:19: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | const size_t index = rowData.indices[i]; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:153:21: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 29 | if(std::abs(rowData.values[index]) <= minValueCutoff) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:166:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "RowPruneSum (mass?)" << rowPruneSum << "targetmass" << targetMass; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:169:64: warning: no header providing "std::ptrdiff_t" is directly included [misc-include-cleaner] 29 | auto last = rowData.indices.begin() + static_cast(nonzeros); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:175:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "RECOVERY" << "MASS:" << rowPruneSum; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:177:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | [&rowData](size_t i1, size_t i2) { return rowData.values[i1] > rowData.values[i2]; }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:177:39: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | [&rowData](size_t i1, size_t i2) { return rowData.values[i1] > rowData.values[i2]; }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:182:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t i = 0UL; i < RECOVERY_COUNT; ++i) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:191:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | [&rowData](size_t i1, size_t i2) { return rowData.values[i1] > rowData.values[i2]; }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:191:39: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | [&rowData](size_t i1, size_t i2) { return rowData.values[i1] > rowData.values[i2]; }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:197:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Selection Cutoff" << minValueCutoff; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:198:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Pre selection Remain" << remainCount << "mass" << rowPruneSum; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:204:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t i = 0UL; i < SELECTION_COUNT; ++i) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:208:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Post selection Remain" << remainCount << "mass" << rowPruneSum; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:210:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 30 | Q_ASSERT(remainCount < RECOVERY_COUNT); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:216:21: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "RECOVERY 2" << "MASS:" << rowPruneSum; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:219:32: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | [&rowData](size_t i1, size_t i2) { return rowData.values[i1] > rowData.values[i2]; }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:219:43: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | [&rowData](size_t i1, size_t i2) { return rowData.values[i1] > rowData.values[i2]; }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:223:21: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t i = 0UL; i < RECOVERY_COUNT; ++i) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:233:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Prune:" << nonzeros - remainCount; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:234:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Raw count" << nonzeros; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:235:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Remain Count" << remainCount; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:237:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t i = 0UL; i < nonzeros; ++i) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:239:25: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 29 | if(std::abs(rowData.values[rowData.indices[i]]) <= minValueCutoff) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:254:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << columnId << "pruned" << nonzeros - remainCount; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:255:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << rowData.values; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:266:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t j = 0UL; j_value); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:299:9: warning: no header providing "QElapsedTimer" is directly included [misc-include-cleaner] 30 | QElapsedTimer mclTimer; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:302:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "MCL Elapsed Time" << mclTimer.elapsed(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:315:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | using value_type = size_t; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:318:40: warning: no header providing "std::input_iterator_tag" is directly included [misc-include-cleaner] 29 | using iterator_category = std::input_iterator_tag; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:319:33: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | using difference_type = size_t; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:322:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t _num = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:325:27: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | explicit iterator(size_t num = 0) : _num(num) {} | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:340:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | setPhase(u"MCL Initialising"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:345:5: warning: no header providing "NodeIdMap" is directly included [misc-include-cleaner] 20 | NodeIdMap nodeToIndexMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:345:15: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | NodeIdMap nodeToIndexMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:346:14: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | std::map indexToNodeMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:346:22: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | std::map indexToNodeMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:347:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | for(const NodeId nodeId : target.nodeIds()) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:355:12: warning: no header providing "blaze::setNumThreads" is directly included [misc-include-cleaner] 29 | blaze::setNumThreads(std::thread::hardware_concurrency()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:360:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | for(const NodeId nodeId : target.nodeIds()) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:366:18: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | std::set sortNodeIndexes; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:384:10: warning: no header providing "std::stringstream" is directly included [misc-include-cleaner] 31 | std::stringstream matrixStream; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:388:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:388:31: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:395:21: warning: no header providing "blaze::pow" is directly included [misc-include-cleaner] 29 | clusterMatrix = pow(clusterMatrix, 3.0f); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:401:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Pre nnz" << clusterMatrix.nonZeros(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:406:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Pre-prune nnz" << clusterMatrix.nonZeros(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:412:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:412:31: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:414:31: warning: no header providing "std::string" is directly included [misc-include-cleaner] 31 | matrixStream.str(std::string()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:425:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | setPhase(u"MCL Iteration %1"_s.arg(QString::number(iter + 1))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:425:44: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | setPhase(u"MCL Iteration %1"_s.arg(QString::number(iter + 1))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:430:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:430:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:432:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] 31 | matrixStream.str(std::string()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:438:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Iteration" << iter; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:440:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector> matrixStorage(clusterMatrix.rows()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:440:26: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector> matrixStorage(clusterMatrix.rows()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:442:9: warning: no header providing "QElapsedTimer" is directly included [misc-include-cleaner] 30 | QElapsedTimer threadedTimer; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:452:14: warning: no header providing "std::atomic" is directly included [misc-include-cleaner] 24 | std::atomic iteration(0); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:452:21: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 29 | std::atomic iteration(0); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:460:22: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | [&, rowData](size_t iterator) mutable | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:473:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t newNNZCount = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:479:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | size_t row = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:493:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Threaded Expansion Population time LL ms" << populationTime; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:495:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Expand nnz" << clusterMatrix.nonZeros(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:502:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:502:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:504:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] 31 | matrixStream.str(std::string()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:508:32: warning: no header providing "blaze::forEach" is directly included [misc-include-cleaner] 29 | clusterMatrix = blaze::forEach(clusterMatrix, [&inflation](float d) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:509:27: warning: no header providing "std::pow" is directly included [misc-include-cleaner] 29 | { return std::pow(d, inflation); }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:515:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:515:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:517:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] 31 | matrixStream.str(std::string()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:518:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Inflated Expanded nnz" << clusterMatrix.nonZeros(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:528:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:528:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:530:35: warning: no header providing "std::string" is directly included [misc-include-cleaner] 31 | matrixStream.str(std::string()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:531:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << "Normalise nnz" << clusterMatrix.nonZeros(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:535:45: warning: no header providing "blaze::forEach" is directly included [misc-include-cleaner] 29 | MatrixType sqClusterMatrix = blaze::forEach(clusterMatrix, [](float d) { return d * d; }); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:539:13: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t k=0; k(clusterMatrix.nonZeros(k)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:558:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 30 | qDebug() << iter << "iterations"; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:560:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | setPhase(u"MCL Interpreting"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:563:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector> clusters; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:563:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | std::vector> clusters; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:564:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector clusterGroups(nodeCount, 0); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:564:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | std::vector clusterGroups(nodeCount, 0); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:565:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 33 | std::vector clusterGroupAssigned(nodeCount, false); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:566:9: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | for(size_t k = 0; k < clusterMatrix.columns(); ++k) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:581:26: warning: no header providing "size_t" is directly included [misc-include-cleaner] 29 | std::set newClusterNodeIndex; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:584:44: warning: no header providing "std::move" is directly included [misc-include-cleaner] 33 | clusters.emplace_back(std::move(newClusterNodeIndex)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:631:5: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | NodeArray clusterNames(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:631:15: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | NodeArray clusterNames(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:632:5: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 20 | NodeArray clusterSizes(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:639:32: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | auto clusterName = QString(QObject::tr("Cluster %1")).arg(QString::number(clusterNumber)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:639:40: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | auto clusterName = QString(QObject::tr("Cluster %1")).arg(QString::number(clusterNumber)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:639:71: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | auto clusterName = QString(QObject::tr("Cluster %1")).arg(QString::number(clusterNumber)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:648:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("MCL Cluster")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:649:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The MCL cluster in which the node resides.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:650:42: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | .setStringValueFn([clusterNames](NodeId nodeId) { return clusterNames[nodeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:651:43: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | .setValueMissingFn([clusterNames](NodeId nodeId) { return clusterNames[nodeId].isEmpty(); }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:652:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:652:33: warning: no header providing "AttributeFlag_reflector::Enum::FindShared" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:653:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:653:33: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:655:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | _graphModel->createAttribute(QObject::tr("MCL Cluster Size")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:656:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | .setDescription(QObject::tr("The size of the MCL cluster in which the node resides.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:657:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 20 | .setIntValueFn([clusterSizes](NodeId nodeId) { return clusterSizes[nodeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:658:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:658:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 20 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:661:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 30 | std::unique_ptr MCLTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:661:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 20 | std::unique_ptr MCLTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:661:67: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 20 | std::unique_ptr MCLTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:663:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 30 | return std::make_unique(graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:66:109: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 66 | template std::future> makeFuture(Fn f, Args&&... args) | ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:540:46: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 540 | auto execute_on_threadpool(Fn&& f, Args&&... args) | ^ 33151 warnings generated. [169/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:23:1: warning: included header graphcomponent.h is not used directly [misc-include-cleaner] 23 | #include "graph/graphcomponent.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include "graph/graphmodel.h" /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:27:1: warning: included header Blaze.h is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:29:1: warning: included header QElapsedTimer is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:30:1: warning: included header QDebug is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:32:1: warning: included header map is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~ 33 | /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:42:27: warning: no header providing "blaze::DynamicVector" is directly included [misc-include-cleaner] 32 | #include 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | static const float PAGERANK_DAMPING = 0.8f; 37 | static const float PAGERANK_EPSILON = 1e-6f; 38 | static const float PAGERANK_ACCELERATION_MINIMUM = 1e-10f; 39 | static const int PAGERANK_ITERATION_LIMIT = 1000; 40 | static const int AVG_COUNT = 10; 41 | 42 | using VectorType = blaze::DynamicVector; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:55:5: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 21 | NodeArray pageRankScores(target); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:57:25: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | setPhase(u"PageRank"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:66:15: warning: no header providing "IGraphComponent" is directly included [misc-include-cleaner] 21 | const IGraphComponent* component = componentManager.componentById(componentId); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:70:9: warning: no header providing "NodeIdMap" is directly included [misc-include-cleaner] 21 | NodeIdMap nodeToIndexMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:70:19: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | NodeIdMap nodeToIndexMap; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:77:9: warning: no header providing "QElapsedTimer" is directly included [misc-include-cleaner] 33 | QElapsedTimer timer; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:85:29: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 32 | float change = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:87:14: warning: no header providing "std::deque" is directly included [misc-include-cleaner] 32 | std::deque changeBuffer; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:89:43: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 32 | float pagerankAcceleration = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:97:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | setPhase(u"PageRank Iteration %1"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:98:33: warning: no header providing "QString" is directly included [misc-include-cleaner] 33 | QString::number(totalIterationCount + 1))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:125:28: warning: no header providing "blaze::abs" is directly included [misc-include-cleaner] 32 | delta = blaze::abs(newPageRankVector - pageRankVector); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:126:17: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | for(size_t i = 0UL; i < newPageRankVector.size(); ++i ) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:131:51: warning: no header providing "size_t" is directly included [misc-include-cleaner] 32 | if(changeBuffer.size() >= static_cast(AVG_COUNT)) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:140:41: warning: no header providing "std::abs" is directly included [misc-include-cleaner] 32 | pagerankAcceleration = std::abs(previousBufferChangeAverage - bufferChangeAverage); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:151:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 33 | qDebug() << "HIT ITERATION LIMIT ON PAGERANK. LIKELY UNSTABLE PAGERANK VECTOR"; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:153:39: warning: no header providing "blaze::max" is directly included [misc-include-cleaner] 32 | const float maxValue = blaze::max(blaze::abs(pageRankVector) ); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:153:50: warning: no header providing "blaze::abs" is directly included [misc-include-cleaner] 32 | const float maxValue = blaze::max(blaze::abs(pageRankVector) ); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:161:18: warning: no header providing "std::stringstream" is directly included [misc-include-cleaner] 33 | std::stringstream matrixStream; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:163:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 33 | qDebug() << "PageRank"; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:164:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 33 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:164:35: warning: no header providing "QString" is directly included [misc-include-cleaner] 33 | qDebug().noquote() << QString::fromStdString(matrixStream.str()); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:166:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 33 | qDebug() << "Pagerank took" << iterationCount << "iterations"; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:167:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 33 | qDebug() << "The efficient pagerank operation took" << timer.elapsed(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:171:34: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | _graphModel->createAttribute(QObject::tr("Node PageRank")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:172:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | .setDescription(QObject::tr("A node's PageRank is a measure of relative importance in the graph.")) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:175:43: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | .setFloatValueFn([pageRankScores](NodeId nodeId) { return pageRankScores[nodeId]; }) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:176:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:176:33: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::AutoRange) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:177:18: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:177:33: warning: no header providing "AttributeFlag_reflector::Enum::VisualiseByComponent" is directly included [misc-include-cleaner] 21 | .setFlag(AttributeFlag::VisualiseByComponent); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:180:6: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 33 | std::unique_ptr PageRankTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:180:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr PageRankTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:180:72: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr PageRankTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.cpp:182:17: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 33 | return std::make_unique(graphModel()); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32009 warnings generated. [170/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:29:1: warning: included header QObject is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~ 30 | /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:35:67: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void SpanningTreeTransform::apply(TransformedGraph& target) 34 | { 35 | const bool dfs = config().parameterHasValue(u"Traversal Order"_s, u"Depth First"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:35:85: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void SpanningTreeTransform::apply(TransformedGraph& target) 34 | { 35 | const bool dfs = config().parameterHasValue(u"Traversal Order"_s, u"Depth First"_s); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:37:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | void SpanningTreeTransform::apply(TransformedGraph& target) 34 | { 35 | const bool dfs = config().parameterHasValue(u"Traversal Order"_s, u"Depth First"_s); 36 | 37 | setPhase(QObject::tr("Spanning Tree")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:40:5: warning: no header providing "EdgeArray" is directly included [misc-include-cleaner] 21 | EdgeArray removees(target, true); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:41:5: warning: no header providing "NodeArray" is directly included [misc-include-cleaner] 21 | NodeArray visitedNodes(target, false); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:49:13: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | NodeId _nodeId; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:50:13: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | EdgeId _edgeId; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:54:15: warning: use emplace_back instead of push_back [modernize-use-emplace] 54 | deque.push_back({componentManager.componentById(componentId)->nodeIds().at(0), {}}); | ^~~~~~~~~~ | emplace_back( /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:92:5: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:100:25: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 26 | static_cast(target.numEdges()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:106:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr SpanningTreeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:106:76: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr SpanningTreeTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20652 warnings generated. [171/195] /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:25:1: warning: included header QObject is not used directly [misc-include-cleaner] 25 | #include | ^~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:31:8: warning: no header providing "Alert" is directly included [misc-include-cleaner] 22 | 23 | #include 24 | 25 | #include 26 | 27 | class TransformedGraph; 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert typecastTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:31:51: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 22 | 23 | #include 24 | 25 | #include 26 | 27 | class TransformedGraph; 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert typecastTransformConfigIsValid(const GraphTransformConfig& config) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:34:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 22 | 23 | #include 24 | 25 | #include 26 | 27 | class TransformedGraph; 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert typecastTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:34:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 22 | 23 | #include 24 | 25 | #include 26 | 27 | class TransformedGraph; 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert typecastTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:34:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | 27 | class TransformedGraph; 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert typecastTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:36:59: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | 27 | class TransformedGraph; 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert typecastTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 35 | 36 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:38:17: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 22 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:38:28: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 22 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:38:35: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | 27 | class TransformedGraph; 28 | 29 | using namespace Qt::Literals::StringLiterals; 30 | 31 | static Alert typecastTransformConfigIsValid(const GraphTransformConfig& config) 32 | { 33 | if(config.attributeNames().empty()) 34 | return {AlertType::Error, QObject::tr("Invalid parameter")}; 35 | 36 | auto newAttributeName = config.parameterByName(u"Name"_s)->valueAsString(); 37 | if(!GraphModel::attributeNameIsValid(newAttributeName)) 38 | return {AlertType::Error, QObject::tr("Invalid Attribute Name: '%1'").arg(newAttributeName)}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:40:13: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 22 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:40:24: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 22 | return {AlertType::None, {}}; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:45:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | setPhase(QObject::tr("Type Cast")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:48:23: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 22 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:48:34: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 22 | if(alert._type != AlertType::None) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:56:18: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 22 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:56:29: warning: no header providing "AlertType_reflector::Enum::Error" is directly included [misc-include-cleaner] 22 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:56:36: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | addAlert(AlertType::Error, QObject::tr("Invalid parameter")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:63:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | auto type = config().parameterByName(u"Type"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:65:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | auto newAttributeName = config().parameterByName(u"Name"_s)->valueAsString(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:68:25: warning: no header providing "QObject" is directly included [misc-include-cleaner] 26 | .setDescription(QObject::tr("A copy of the attribute '%1' with its type converted to '%2'.") | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:73:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | if(type == u"Integer"_s) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:79:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:79:41: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:81:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | else if(type == u"Float"_s) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:87:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:87:41: warning: no header providing "AttributeFlag_reflector::Enum::AutoRange" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::AutoRange); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:89:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 26 | else if(type == u"String"_s) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:95:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:95:41: warning: no header providing "AttributeFlag_reflector::Enum::FindShared" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::FindShared) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:96:26: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:96:41: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 22 | .setFlag(AttributeFlag::Searchable); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:100:42: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 22 | if(sourceAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:100:55: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 22 | if(sourceAttribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:101:25: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 22 | cast.operator()(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:102:47: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 22 | else if(sourceAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:102:60: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 22 | else if(sourceAttribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:103:25: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 22 | cast.operator()(); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:106:52: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 22 | bool TypeCastTransformFactory::configIsValid(const GraphTransformConfig& graphTransformConfig) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:108:74: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 22 | return typecastTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:108:85: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 22 | return typecastTransformConfigIsValid(graphTransformConfig)._type == AlertType::None; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:111:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 22 | std::unique_ptr TypeCastTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/typecasttransform.cpp:111:72: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 22 | std::unique_ptr TypeCastTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 23465 warnings generated. [172/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:26:1: warning: included header QObject is not used directly [misc-include-cleaner] 26 | #include | ^~~~~~~~~~~~~~~~~~ 27 | /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:30:52: warning: no header providing "Progressable" is directly included [misc-include-cleaner] 21 | #include "transform/transformedgraph.h" 22 | 23 | #include 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | static void removeLeaves(TransformedGraph& target, Progressable& progressable, size_t limit = 0) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:30:80: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | #include 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | static void removeLeaves(TransformedGraph& target, Progressable& progressable, size_t limit = 0) | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:35:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | #include "transform/transformedgraph.h" 22 | 23 | #include 24 | #include 25 | 26 | #include 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | static void removeLeaves(TransformedGraph& target, Progressable& progressable, size_t limit = 0) 31 | { 32 | const bool unlimited = (limit == 0); 33 | 34 | // Hoist this out of the main loop, to avoid the alloc cost between passes 35 | std::vector removees; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:48:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 23 | uint64_t progress = 0; | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:53:29: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 23 | static_cast(target.numNodes()))); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:65:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | setPhase(QObject::tr("Leaf Removal")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:67:30: warning: no header providing "size_t" is directly included [misc-include-cleaner] 23 | auto limit = static_cast(std::get(config().parameterByName(u"Limit"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:67:85: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | auto limit = static_cast(std::get(config().parameterByName(u"Limit"_s)->_value)); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:73:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | setPhase(QObject::tr("Branch Removal")); | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:78:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr RemoveLeavesTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:78:76: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr RemoveLeavesTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:83:17: warning: no header providing "GraphTransform" is directly included [misc-include-cleaner] 21 | std::unique_ptr RemoveBranchesTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:83:78: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 21 | std::unique_ptr RemoveBranchesTransformFactory::create(const GraphTransformConfig&) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20557 warnings generated. [173/195] /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:70:1: warning: included header numeric is not used directly [misc-include-cleaner] 70 | #include | ^~~~~~~~~~~~~~~~~~ 71 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:72:1: warning: included header chrono is not used directly [misc-include-cleaner] 72 | #include | ^~~~~~~~~~~~~~~~~ 73 | /home/runner/work/graphia/graphia/source/app/ui/document.cpp:74:1: warning: included header QQmlProperty is not used directly [misc-include-cleaner] 74 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 75 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:75:1: warning: included header QMetaObject is not used directly [misc-include-cleaner] 75 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 76 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:76:1: warning: included header QFile is not used directly [misc-include-cleaner] 76 | #include | ^~~~~~~~~~~~~~~~ 77 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:77:1: warning: included header QAbstractItemModel is not used directly [misc-include-cleaner] 77 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:78:1: warning: included header QMessageBox is not used directly [misc-include-cleaner] 78 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 79 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:79:1: warning: included header QCollator is not used directly [misc-include-cleaner] 79 | #include | ^~~~~~~~~~~~~~~~~~~~ 80 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:80:1: warning: included header QApplication is not used directly [misc-include-cleaner] 80 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 81 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:81:1: warning: included header QElapsedTimer is not used directly [misc-include-cleaner] 81 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 82 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:82:1: warning: included header QVariantList is not used directly [misc-include-cleaner] 82 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ 83 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:83:1: warning: included header QVector is not used directly [misc-include-cleaner] 83 | #include | ^~~~~~~~~~~~~~~~~~ 84 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:84:1: warning: included header QClipboard is not used directly [misc-include-cleaner] 84 | #include | ^~~~~~~~~~~~~~~~~~~~~ 85 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:85:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 85 | #include | ^~~~~~~~~~~~~~~~~~~~~ 86 | #include /home/runner/work/graphia/graphia/source/app/ui/document.cpp:86:1: warning: included header QThread is not used directly [misc-include-cleaner] 86 | #include | ^~~~~~~~~~~~~~~~~~ 87 | /home/runner/work/graphia/graphia/source/app/ui/document.cpp:90:1: warning: no header providing "QColor" is directly included [misc-include-cleaner] 71 | QColor Document::contrastingColorForBackground() | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:92:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | auto backColor = u::pref(u"visuals/backgroundColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:92:66: warning: no header providing "QColor" is directly included [misc-include-cleaner] 71 | auto backColor = u::pref(u"visuals/backgroundColor"_s).value(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:128:7: warning: no header providing "ISelectionManager" is directly included [misc-include-cleaner] 28 | const ISelectionManager* Document::selectionManager() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:133:1: warning: no header providing "ISelectionManager" is directly included [misc-include-cleaner] 28 | ISelectionManager* Document::selectionManager() | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:138:1: warning: no header providing "MessageBoxButton" is directly included [misc-include-cleaner] 28 | MessageBoxButton Document::messageBox(MessageBoxIcon icon, const QString& title, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:138:39: warning: no header providing "MessageBoxIcon" is directly included [misc-include-cleaner] 28 | MessageBoxButton Document::messageBox(MessageBoxIcon icon, const QString& title, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:139:32: warning: no header providing "MessageBoxButton" is directly included [misc-include-cleaner] 28 | const QString& text, Flags buttons) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:141:5: warning: no header providing "MessageBoxButton" is directly included [misc-include-cleaner] 28 | MessageBoxButton result; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:145:9: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 71 | QApplication::alert(nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:146:9: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 71 | QMessageBox messageBox(static_cast(icon), title, text, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:146:44: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 71 | QMessageBox messageBox(static_cast(icon), title, text, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:147:25: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 71 | static_cast(*buttons)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:150:30: warning: no header providing "MessageBoxButton" is directly included [misc-include-cleaner] 28 | result = static_cast(messageBox.result()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:194:8: warning: no header providing "qEnvironmentVariableIntValue" is directly included [misc-include-cleaner] 71 | if(qEnvironmentVariableIntValue("BUSY_STATE_DEBUG") != 0) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:196:16: warning: no header providing "QElapsedTimer" is directly included [misc-include-cleaner] 71 | static QElapsedTimer timer; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:201:17: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 71 | qDebug() << "----"; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:206:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 71 | qDebug().noquote() << u"busy %1%2%3%4%5%6"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:206:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | qDebug().noquote() << u"busy %1%2%3%4%5%6"_s.arg( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:218:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit busyChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:278:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | std::vector Document::layoutSettings() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:278:13: warning: no header providing "LayoutSetting" is directly included [misc-include-cleaner] 22 | std::vector Document::layoutSettings() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:291:63: warning: no header providing "Projection" is directly included [misc-include-cleaner] 27 | auto newDimensionality = _graphQuickItem->projection() == Projection::TwoDee ? | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:291:75: warning: no header providing "Projection_reflector::Enum::TwoDee" is directly included [misc-include-cleaner] 27 | auto newDimensionality = _graphQuickItem->projection() == Projection::TwoDee ? | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:345:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit layoutPauseStateChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:397:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit titleChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:406:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit statusChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:410:36: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::setTransforms(const QStringList& transforms) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:415:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit transformsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:420:40: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::setVisualisations(const QStringList& visualisations) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:425:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit visualisationsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:434:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(QThread::currentThread() != QApplication::instance()->thread()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:434:14: warning: no header providing "QThread" is directly included [misc-include-cleaner] 71 | Q_ASSERT(QThread::currentThread() != QApplication::instance()->thread()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:434:42: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 71 | Q_ASSERT(QThread::currentThread() != QApplication::instance()->thread()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:441:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | }, u"Document refreshVisualisations"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:465:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::bookmarks() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:467:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList list; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:470:31: warning: no header providing "u::keysFor" is directly included [misc-include-cleaner] 28 | for(const auto& name : u::keysFor(_bookmarks)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:473:5: warning: no header providing "QCollator" is directly included [misc-include-cleaner] 71 | QCollator sorter; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:475:35: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 71 | sorter.setCaseSensitivity(Qt::CaseInsensitive); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:477:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 69 | std::sort(list.begin(), list.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:486:1: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | NodeIdSet Document::nodeIdsForBookmark(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:488:11: warning: no header providing "u::containsKey" is directly included [misc-include-cleaner] 28 | if(u::containsKey(_bookmarks, name)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:499:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | return p.result().isFlagSet(u"pinned"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:502:8: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | static QStringList sortedTransforms(QStringList transforms) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:502:37: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | static QStringList sortedTransforms(QStringList transforms) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:505:10: warning: no header providing "std::stable_sort" is directly included [misc-include-cleaner] 69 | std::stable_sort(transforms.begin(), transforms.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:523:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::graphTransformConfigurationsFromUI() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:537:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList layoutSettingNames; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:544:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit layoutSettingNamesChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:547:88: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | bool Document::openUrl(const QUrl& url, const QString& type, QString pluginName, const QVariantMap& parameters) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:549:10: warning: no header providing "std::unique_ptr" is directly included [misc-include-cleaner] 70 | std::unique_ptr parser; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:554:23: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | parser = std::make_unique(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:564:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit failureReasonChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:565:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit loadComplete(url, false); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:577:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit pluginNameChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:580:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandInProgressChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:581:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit busyChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:582:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandVerbChanged(); // Show Loading message | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:584:24: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _graphModel = std::make_unique(url.fileName(), plugin); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:586:35: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _graphFileParserThread = std::make_unique(*_graphModel, url); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:588:30: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _selectionManager = std::make_unique(*_graphModel); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:589:27: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _searchManager = std::make_unique(*_graphModel); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:612:26: warning: no header providing "QMetaObject" is directly included [misc-include-cleaner] 71 | auto signature = QMetaObject::normalizedSignature("saveRequired()"); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:617:44: warning: no header providing "SIGNAL" is directly included [misc-include-cleaner] 71 | connect(pluginInstanceQObject, SIGNAL(saveRequired()), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:618:27: warning: no header providing "SLOT" is directly included [misc-include-cleaner] 71 | this, SLOT(onPluginSaveRequired()), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:618:61: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 71 | this, SLOT(onPluginSaveRequired()), Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:622:36: warning: no header providing "PreferencesWatcher" is directly included [misc-include-cleaner] 27 | connect(&_preferencesWatcher, &PreferencesWatcher::preferenceChanged, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:623:51: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 71 | this, &Document::onPreferenceChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:632:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit pluginInstanceChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:645:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit failureReasonChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:646:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit loadComplete(url, false); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:662:13: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(completedLoader != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:689:47: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _startingNodePositions = std::make_unique(*nodePositions); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:689:59: warning: no header providing "ExactNodePositions" is directly included [misc-include-cleaner] 22 | _startingNodePositions = std::make_unique(*nodePositions); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:706:44: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 22 | auto* tableModel = new EnrichmentTableModel(this); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:708:51: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 71 | _enrichmentTableModels.append(QVariant::fromValue(tableModel)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:711:17: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit enrichmentTableModelsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:726:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | setLog(log() + u"\n\nNodes: %1 Edges: %2"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:740:17: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(success); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:747:23: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | const ValueType valueType = _graphModel->attributeExists(attributeName) ? | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:757:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | visualisation += u" with"_s; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:763:57: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | visualisation += u" %1 = \"%2\""_s.arg(key, value); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:779:40: warning: no header providing "std::move" is directly included [misc-include-cleaner] 87 | _graphFileParserThread->start(std::move(parser)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:784:78: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 71 | void Document::saveFile(const QUrl& fileUrl, const QString& saverName, const QByteArray& uiData, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:785:31: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 71 | const QByteArray& pluginUiData) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:791:10: warning: lambdas that capture 'this' should not specify a by-value capture default [cppcoreguidelines-misleading-capture-default-by-value] 791 | [=, this](Command& command) mutable | ^~ | factory, fileUrl, uiData, pluginUiData, saverName, /home/runner/work/graphia/graphia/source/app/ui/document.cpp:791:19: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [=, this](Command& command) mutable | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:797:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit saveComplete(success, fileUrl, saverName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:807:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit saveRequiredChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:811:9: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 71 | QMessageBox::critical(nullptr, tr("Save Error"), u"%1 %2"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:811:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | QMessageBox::critical(nullptr, tr("Save Error"), u"%1 %2"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:816:62: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 71 | void Document::onPreferenceChanged(const QString& key, const QVariant&) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:818:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | if(key == u"visuals/backgroundColor"_s) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:819:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit contrastingColorChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:820:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | else if(key == u"visuals/showEdgeText"_s) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:823:44: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | _commandManager.executeOnce([this](Command&) { refreshVisualisations(); }); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:830:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandProgressChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:836:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandVerbChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:846:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit failureReasonChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:872:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit bookmarksChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:874:26: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _layoutThread = std::make_unique(*_graphModel, std::make_unique(_graphModel.get())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:874:71: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _layoutThread = std::make_unique(*_graphModel, std::make_unique(_graphModel.get())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:888:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandInProgressChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:889:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandIsCancellingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:890:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandIsCancellableChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:891:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit busyChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:892:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit editableChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:893:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit directedChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:894:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit commandVerbChanged(); // Stop showing loading message | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:895:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit nodeSizeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:896:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit edgeSizeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:897:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit textSizeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:901:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit uiDataChanged(_uiData); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:904:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit pluginQmlPathChanged(_pluginUiData, _pluginUiDataVersion); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:917:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit layoutNameChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:918:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit layoutDisplayNameChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:922:110: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 71 | connect(_graphQuickItem, &GraphQuickItem::initialisedChanged, this, &Document::maybeEmitBusyChanged, Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:923:107: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 71 | connect(_graphQuickItem, &GraphQuickItem::updatingChanged, this, &Document::maybeEmitBusyChanged, Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:924:110: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 71 | connect(_graphQuickItem, &GraphQuickItem::interactingChanged, this, &Document::maybeEmitBusyChanged, Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:925:112: warning: no header providing "Qt::QueuedConnection" is directly included [misc-include-cleaner] 71 | connect(_graphQuickItem, &GraphQuickItem::transitioningChanged, this, &Document::maybeEmitBusyChanged, Qt::QueuedConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:931:100: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 71 | connect(&_commandManager, &CommandManager::started, this, &Document::maybeEmitBusyChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:938:101: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 71 | connect(&_commandManager, &CommandManager::finished, this, &Document::maybeEmitBusyChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:942:83: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 71 | connect(this, &Document::busyChanged, this, &Document::updateLayoutState, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:997:9: warning: no header providing "ICommandPtrsVector" is directly included [misc-include-cleaner] 27 | ICommandPtrsVector commands; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1002:22: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1010:22: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1017:37: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::OnceMutate, std::move(commands), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1017:52: warning: no header providing "ExecutePolicy::OnceMutate" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::OnceMutate, std::move(commands), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1017:69: warning: no header providing "std::move" is directly included [misc-include-cleaner] 87 | _commandManager.execute(ExecutePolicy::OnceMutate, std::move(commands), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1034:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit graphChangingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1046:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit graphChangingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1063:50: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 71 | &CommandManager::onGraphChanged, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1073:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | }, u"Document (mutable) graphChanged"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1092:9: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 71 | QApplication::alert(nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1095:31: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | bool Document::nodeIsSelected(QmlNodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1109:12: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this](Command& command) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1137:33: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1137:48: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1152:20: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this](Command&) { return _selectionManager->clearNodeSelection(); }, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1157:8: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | static NodeIdSet nodeIdSetFor(QmlNodeId nodeId, bool add, const SelectionManager& selectionManager) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1157:31: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | static NodeIdSet nodeIdSetFor(QmlNodeId nodeId, bool add, const SelectionManager& selectionManager) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1159:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | NodeIdSet nodeIdSet; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1170:30: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | void Document::selectSources(QmlNodeId qmlNodeId, bool add) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1175:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | NodeIdSet nodeIds = nodeIdSetFor(qmlNodeId, add, *_selectionManager); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1180:23: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | for(auto nodeId : NodeIdSet(nodeIds)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1186:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1186:44: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1191:30: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | void Document::selectTargets(QmlNodeId qmlNodeId, bool add) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1196:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | NodeIdSet nodeIds = nodeIdSetFor(qmlNodeId, add, *_selectionManager); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1201:23: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | for(auto nodeId : NodeIdSet(nodeIds)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1207:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1207:44: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1212:33: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | void Document::selectNeighbours(QmlNodeId qmlNodeId, bool add) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1217:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | NodeIdSet nodeIds = nodeIdSetFor(qmlNodeId, add, *_selectionManager); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1222:23: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | for(auto nodeId : NodeIdSet(nodeIds)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1228:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1228:44: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1233:75: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | void Document::selectBySharedAttributeValue(const QString& attributeName, QmlNodeId qmlNodeId, bool add) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1238:11: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | const NodeIdSet nodeIdSet = nodeIdSetFor(qmlNodeId, add, *_selectionManager); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1244:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(attribute != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1246:10: warning: no header providing "std::set" is directly included [misc-include-cleaner] 71 | std::set attributeValues; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1257:21: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 71 | term.append(QRegularExpression::escape(attributeValue)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1260:21: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | term = u"^(%1)$"_s.arg(term); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1263:24: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 22 | ConditionFnOp::String::MatchesRegex, term); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1263:32: warning: no header providing "ConditionFnOp::String::MatchesRegex" is directly included [misc-include-cleaner] 22 | ConditionFnOp::String::MatchesRegex, term); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1265:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1265:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1275:33: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1275:48: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1287:12: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this](Command& command) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1319:27: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | void Document::deleteNode(QmlNodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1324:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1324:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1325:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique(_graphModel.get(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1326:34: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | _selectionManager.get(), NodeIdSet{nodeId})); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1337:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1337:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1338:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique(_graphModel.get(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1363:29: warning: no header providing "Projection" is directly included [misc-include-cleaner] 27 | return static_cast(Projection::Perspective); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1363:41: warning: no header providing "Projection_reflector::Enum::Perspective" is directly included [misc-include-cleaner] 27 | return static_cast(Projection::Perspective); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1368:48: warning: no header providing "Projection" is directly included [misc-include-cleaner] 27 | _graphQuickItem->setProjection(static_cast(_projection)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1376:29: warning: no header providing "Shading" is directly included [misc-include-cleaner] 27 | return static_cast(Shading::Flat); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1376:38: warning: no header providing "Shading_reflector::Enum::Flat" is directly included [misc-include-cleaner] 27 | return static_cast(Shading::Flat); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1381:47: warning: no header providing "Shading" is directly included [misc-include-cleaner] 27 | _graphQuickItem->setShading2D(static_cast(_shading2D)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1389:29: warning: no header providing "Shading" is directly included [misc-include-cleaner] 27 | return static_cast(Shading::Smooth); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1389:38: warning: no header providing "Shading_reflector::Enum::Smooth" is directly included [misc-include-cleaner] 27 | return static_cast(Shading::Smooth); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1394:47: warning: no header providing "Shading" is directly included [misc-include-cleaner] 27 | _graphQuickItem->setShading3D(static_cast(_shading3D)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1407:24: warning: no header providing "std::find" is directly included [misc-include-cleaner] 69 | auto it = std::find(componentIds.begin(), componentIds.end(), focusedComponentId); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1412:23: warning: no header providing "std::prev" is directly included [misc-include-cleaner] 69 | it = std::prev(componentIds.end()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1430:24: warning: no header providing "std::find" is directly included [misc-include-cleaner] 69 | auto it = std::find(componentIds.begin(), componentIds.end(), focusedComponentId); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1432:17: warning: no header providing "std::next" is directly included [misc-include-cleaner] 69 | if(std::next(it) != componentIds.end()) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1443:61: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::find(const QString& term, int options, const QStringList& attributeNames, int findSelectStyle) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1448:34: warning: lambdas that capture 'this' should not specify a by-value capture default [cppcoreguidelines-misleading-capture-default-by-value] 1448 | _commandManager.executeOnce([=, this](Command&) | ^~ | term, options, attributeNames, findSelectStyle, /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1448:43: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | _commandManager.executeOnce([=, this](Command&) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1450:53: warning: no header providing "FindOptions" is directly included [misc-include-cleaner] 57 | _searchManager->findNodes(term, static_cast(options), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1465:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | return u::pref(u"misc/focusFoundNodes"_s).toBool() && | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1466:65: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | (!inOverviewMode || u::pref(u"misc/focusFoundComponents"_s).toBool()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1469:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | void Document::selectAndFocusNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1471:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1471:44: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1473:10: warning: lambdas that capture 'this' should not specify a by-value capture default [cppcoreguidelines-misleading-capture-default-by-value] 1473 | [=, this](Command&) | ^~ | nodeId, /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1473:19: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [=, this](Command&) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1475:34: warning: lambdas that capture 'this' should not specify a by-value capture default [cppcoreguidelines-misleading-capture-default-by-value] 1475 | executeOnMainThread([=, this] | ^~ | nodeId, /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1483:47: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | void Document::selectAndFocusNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1483:54: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | void Document::selectAndFocusNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1485:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1485:44: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1487:10: warning: lambdas that capture 'this' should not specify a by-value capture default [cppcoreguidelines-misleading-capture-default-by-value] 1487 | [=, this](Command&) | ^~ | nodeIds, /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1487:19: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [=, this](Command&) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1489:34: warning: lambdas that capture 'this' should not specify a by-value capture default [cppcoreguidelines-misleading-capture-default-by-value] 1489 | executeOnMainThread([=, this] | ^~ | nodeIds, /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1497:42: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | void Document::selectAndFocusNodes(const NodeIdSet& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1499:28: warning: no header providing "u::vectorFrom" is directly included [misc-include-cleaner] 28 | selectAndFocusNodes(u::vectorFrom(nodeIds)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1502:32: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | void Document::moveFocusToNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1507:44: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | void Document::moveFocusToNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1507:51: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | void Document::moveFocusToNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1517:34: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | void Document::selectNodes(const NodeIdSet& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1519:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1519:44: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1529:37: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | void Document::highlightNodes(const NodeIdSet& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1550:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit logChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1560:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit saveRequiredChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1563:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 69 | size_t Document::numNodesSelected() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1571:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 69 | size_t Document::numHeadNodesSelected() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1573:5: warning: no header providing "size_t" is directly included [misc-include-cleaner] 69 | size_t numNodes = 0; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1579:55: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1579:73: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1587:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 69 | size_t Document::numInvisibleNodesSelected() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1608:1: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 71 | QVariantList Document::selectedNodeIds() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1610:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 71 | QVariantList nodes; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1618:26: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 71 | nodes.append(QVariant::fromValue(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1618:46: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | nodes.append(QVariant::fromValue(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1624:1: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 71 | QVariantList Document::selectedHeadNodeIds() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1626:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 71 | QVariantList nodes; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1632:55: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1632:73: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1633:30: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 71 | nodes.append(QVariant::fromValue(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1633:50: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | nodes.append(QVariant::fromValue(nodeId)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1661:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | std::vector selectedHeadNodes; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1661:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | std::vector selectedHeadNodes; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1664:59: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(selectedNodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1664:77: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(selectedNodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1671:29: warning: no header providing "std::find" is directly included [misc-include-cleaner] 69 | auto foundIt = std::find(_foundNodeIds.begin(), _foundNodeIds.end(), nodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1688:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit foundIndexChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1695:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit foundIndexChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1701:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit numNodesFoundChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1707:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1707:17: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1709:32: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 22 | auto parsedAttributeName = Attribute::parseAttributeName(attributeName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1710:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 28 | if(u::contains(_graphModel->availableAttributeNames(), parsedAttributeName._name)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1714:81: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 22 | auto conditionFn = CreateConditionFnFor::node(attribute, ConditionFnOp::String::MatchesRegex, term); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1714:89: warning: no header providing "ConditionFnOp::String::MatchesRegex" is directly included [misc-include-cleaner] 22 | auto conditionFn = CreateConditionFnFor::node(attribute, ConditionFnOp::String::MatchesRegex, term); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1719:59: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1719:77: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1737:28: warning: no header providing "QmlNodeId" is directly included [misc-include-cleaner] 22 | QString Document::nodeName(QmlNodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1764:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit foundIndexChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1765:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit numNodesFoundChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1771:24: warning: no header providing "u::vectorFrom" is directly included [misc-include-cleaner] 28 | _foundNodeIds = u::vectorFrom(searchManager->foundNodeIds()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1773:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 69 | std::sort(_foundNodeIds.begin(), _foundNodeIds.end(), [this](auto a, auto b) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1789:32: warning: no header providing "u::vectorFrom" is directly included [misc-include-cleaner] 28 | selectAndFocusNodes(u::vectorFrom(_searchManager->foundNodeIds())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1809:38: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 69 | return static_cast(std::distance(_foundNodeIds.begin(), _foundIt)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1814:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 69 | size_t Document::numNodesFound() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1830:32: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | void Document::setFoundIt(std::vector::const_iterator foundIt) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1830:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | void Document::setFoundIt(std::vector::const_iterator foundIt) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1842:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit foundIndexChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1845:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | NodeId Document::incrementFoundIt() | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1852:33: warning: no header providing "std::next" is directly included [misc-include-cleaner] 69 | if(foundItValid && std::next(foundIt) != _foundNodeIds.end()) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1860:52: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | while(_graphModel->graph().typeOf(*foundIt) == MultiElementType::Tail); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1860:70: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | while(_graphModel->graph().typeOf(*foundIt) == MultiElementType::Tail); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1865:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | NodeId Document::decrementFoundIt() | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1876:28: warning: no header providing "std::prev" is directly included [misc-include-cleaner] 69 | foundIt = std::prev(_foundNodeIds.end()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1880:52: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | while(_graphModel->graph().typeOf(*foundIt) == MultiElementType::Tail); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1880:70: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | while(_graphModel->graph().typeOf(*foundIt) == MultiElementType::Tail); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1885:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 69 | size_t Document::executeOnMainThread(DeferredExecutor::TaskFn task, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1885:38: warning: no header providing "DeferredExecutor" is directly included [misc-include-cleaner] 28 | size_t Document::executeOnMainThread(DeferredExecutor::TaskFn task, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1888:59: warning: no header providing "std::move" is directly included [misc-include-cleaner] 87 | auto numTasksInQueue = _deferredExecutor.enqueue(std::move(task), description); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1889:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit taskAddedToExecutor(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1893:43: warning: no header providing "DeferredExecutor" is directly included [misc-include-cleaner] 28 | void Document::executeOnMainThreadAndWait(DeferredExecutor::TaskFn task, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1896:53: warning: no header providing "std::move" is directly included [misc-include-cleaner] 87 | auto numTasksInQueue = executeOnMainThread(std::move(task), description); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1900:1: warning: no header providing "AvailableTransformsModel" is directly included [misc-include-cleaner] 55 | AvailableTransformsModel* Document::availableTransforms() const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1905:20: warning: no header providing "AvailableTransformsModel" is directly included [misc-include-cleaner] 55 | return new AvailableTransformsModel(*_graphModel, nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1912:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::availableAttributeNames(int _elementTypes, int _valueTypes, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1913:27: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | int _skipFlags, const QStringList& skipAttributeNames) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1918:35: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | auto elementTypeFlags = Flags(static_cast(_elementTypes)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1918:60: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | auto elementTypeFlags = Flags(static_cast(_elementTypes)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1919:35: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | auto valueTypes = static_cast(_valueTypes); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1920:34: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 27 | auto skipFlags = static_cast(_skipFlags); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1925:30: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | if(elementTypeFlags.test(ElementType::Edge)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1925:43: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 27 | if(elementTypeFlags.test(ElementType::Edge)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1927:69: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | auto sourceAttributes =_graphModel->availableAttributeNames(ElementType::Node, valueTypes); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1927:82: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 27 | auto sourceAttributes =_graphModel->availableAttributeNames(ElementType::Node, valueTypes); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1929:43: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 71 | sourceAttributes.replaceInStrings(QRegularExpression(u"^"_s), u"source."_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1929:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | sourceAttributes.replaceInStrings(QRegularExpression(u"^"_s), u"source."_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1929:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | sourceAttributes.replaceInStrings(QRegularExpression(u"^"_s), u"source."_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1930:43: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 71 | targetAttributes.replaceInStrings(QRegularExpression(u"^"_s), u"target."_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1930:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | targetAttributes.replaceInStrings(QRegularExpression(u"^"_s), u"target."_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1930:81: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | targetAttributes.replaceInStrings(QRegularExpression(u"^"_s), u"target."_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1937:1: warning: no header providing "AvailableAttributesModel" is directly included [misc-include-cleaner] 22 | AvailableAttributesModel* Document::availableAttributesModel(int elementTypes, int valueTypes, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1938:26: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | int skipFlags, const QStringList& skipAttributeNames) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1943:20: warning: no header providing "AvailableAttributesModel" is directly included [misc-include-cleaner] 22 | return new AvailableAttributesModel(*_graphModel, nullptr, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1944:25: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | static_cast(elementTypes), static_cast(valueTypes), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1944:65: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | static_cast(elementTypes), static_cast(valueTypes), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1945:25: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 27 | static_cast(skipFlags), skipAttributeNames); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1959:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::transform(const QString& transformName) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1961:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1972:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"elementType"_s, static_cast(elementType)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1973:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"name"_s, transformName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1974:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"description"_s, transformFactory->description()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1975:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"image"_s, transformFactory->image()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1976:40: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"requiresCondition"_s, transformFactory->requiresCondition()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1978:9: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList attributeParameterNames; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1979:9: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 71 | QVariantList attributeParameters; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1982:19: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | const QVariantMap attributeParameterMap = transformAttributeParameter(transformName, attributeParameter.name()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1986:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"attributeParameterNames"_s, attributeParameterNames); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1987:42: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"attributeParameters"_s, attributeParameters); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1989:9: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList parameterNames; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1990:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap parameters; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1993:19: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | const QVariantMap parameterMap = transformParameter(transformName, parameter.name()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1997:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"parameterNames"_s, parameterNames); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1998:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"parameters"_s, parameters); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2000:9: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap defaultVisualisations; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2003:13: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap defaultVisualisationMap; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2004:34: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 22 | auto attributeName = Attribute::enquoteAttributeName(defaultVisualisation._attributeName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2005:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | defaultVisualisationMap.insert(u"name"_s, attributeName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2006:52: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | defaultVisualisationMap.insert(u"flags"_s, static_cast(*defaultVisualisation._attributeFlags)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2007:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | defaultVisualisationMap.insert(u"elementType"_s, static_cast(defaultVisualisation._elementType)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2008:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | defaultVisualisationMap.insert(u"valueType"_s, static_cast(defaultVisualisation._attributeValueType)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2009:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | defaultVisualisationMap.insert(u"channelName"_s, defaultVisualisation._channel); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2012:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"defaultVisualisations"_s, defaultVisualisations); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2023:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::transformInfoAtIndex(int index) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2025:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2027:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertType"_s, static_cast(AlertType::None)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2027:49: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 57 | map.insert(u"alertType"_s, static_cast(AlertType::None)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2027:60: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 57 | map.insert(u"alertType"_s, static_cast(AlertType::None)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2028:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertText"_s, ""); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2040:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 69 | std::sort(alerts.begin(), alerts.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2048:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertType"_s, static_cast(transformAlert._type)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2049:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertText"_s, transformAlert._text); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2059:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::transformParameter(const QString& transformName, const QString& parameterName) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2061:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2074:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"name"_s, parameter.name()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2075:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"valueType"_s, static_cast(parameter.type())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2077:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasRange"_s, parameter.hasRange()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2078:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasMinimumValue"_s, parameter.hasMin()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2079:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasMaximumValue"_s, parameter.hasMax()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2081:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | if(parameter.hasMin()) map.insert(u"minimumValue"_s, parameter.min()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2082:58: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | if(parameter.hasMax()) map.insert(u"maximumValue"_s, parameter.max()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2084:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"description"_s, parameter.description()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2085:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"initialValue"_s, parameter.initialValue()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2088:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"validatorRegex"_s, parameter.validatorRegex()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2091:32: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | if(parameter.type() == ValueType::StringList) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2091:43: warning: no header providing "ValueType_reflector::Enum::StringList" is directly included [misc-include-cleaner] 27 | if(parameter.type() == ValueType::StringList) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2092:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"initialIndex"_s, 0); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2098:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::transformAttributeParameter(const QString& transformName, const QString& parameterName) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2100:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2113:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"name"_s, parameter.name()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2114:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"elementType"_s, static_cast(parameter.elementType())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2115:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"valueType"_s, static_cast(parameter.valueType())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2116:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"description"_s, parameter.description()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2122:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::attribute(const QString& attributeName) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2124:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2129:32: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 22 | auto parsedAttributeName = Attribute::parseAttributeName(attributeName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2130:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 28 | if(u::contains(_graphModel->availableAttributeNames(), parsedAttributeName._name)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2137:14: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 22 | case Attribute::EdgeNodeType::Source: prefix = "source."; break; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2137:39: warning: no header providing "Attribute::EdgeNodeType::Source" is directly included [misc-include-cleaner] 22 | case Attribute::EdgeNodeType::Source: prefix = "source."; break; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2138:14: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 22 | case Attribute::EdgeNodeType::Target: prefix = "target."; break; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2138:39: warning: no header providing "Attribute::EdgeNodeType::Target" is directly included [misc-include-cleaner] 22 | case Attribute::EdgeNodeType::Target: prefix = "target."; break; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2142:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"name"_s, u"%1%2"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2142:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"name"_s, u"%1%2"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2146:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasParameter"_s, hasParameter); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2153:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"parameterValue"_s, parsedAttributeName._parameter); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2154:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"isValid"_s, !parsedAttributeName._parameter.isEmpty()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2155:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"validParameterValues"_s, attribute.validParameterValues()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2158:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"isValid"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2160:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"flags"_s, static_cast(attribute.flags())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2161:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"valueType"_s, static_cast(attribute.valueType())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2162:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"elementType"_s, static_cast(attribute.elementType())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2163:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"userDefined"_s, attribute.userDefined()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2164:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"metaData"_s, attribute.metaData()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2165:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"editable"_s, attribute.editable()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2167:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasRange"_s, attribute.numericRange().hasRange()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2168:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasMinimumValue"_s, attribute.numericRange().hasMin()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2169:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasMaximumValue"_s, attribute.numericRange().hasMax()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2171:73: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | if(attribute.numericRange().hasMin()) map.insert(u"minimumValue"_s, attribute.numericRange().min()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2172:73: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | if(attribute.numericRange().hasMax()) map.insert(u"maximumValue"_s, attribute.numericRange().max()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2174:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"description"_s, attribute.description()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2175:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"ops"_s, _graphModel->avaliableConditionFnOps(parsedAttributeName._name)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2177:9: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList sharedValues; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2183:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"sharedValues"_s, sharedValues); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2186:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"isValid"_s, false); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2191:1: warning: no header providing "AvailableAttributesModel" is directly included [misc-include-cleaner] 22 | AvailableAttributesModel* Document::attributesSimilarTo(const QString& attributeName, int skipFlags) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2199:32: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 22 | auto parsedAttributeName = Attribute::parseAttributeName(attributeName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2200:11: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 28 | if(u::contains(_graphModel->availableAttributeNames(), parsedAttributeName._name)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2205:37: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | auto valueTypeFlags = Flags(underlyingAttribute.valueType()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2208:33: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | if(valueTypeFlags.anyOf(ValueType::Int, ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2208:44: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 27 | if(valueTypeFlags.anyOf(ValueType::Int, ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2208:49: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | if(valueTypeFlags.anyOf(ValueType::Int, ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2208:60: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 27 | if(valueTypeFlags.anyOf(ValueType::Int, ValueType::Float)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2209:32: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | valueTypeFlags.set(ValueType::Numerical); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2209:43: warning: no header providing "ValueType_reflector::Enum::Numerical" is directly included [misc-include-cleaner] 27 | valueTypeFlags.set(ValueType::Numerical); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2218:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::allAttributeValues(const QString& attributeName) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2230:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList attributeValues; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2232:36: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2232:49: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 27 | if(attribute->elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2239:41: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2239:54: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 27 | else if(attribute->elementType() == ElementType::Edge) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2250:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::addedOrChangedAttributeNamesAtTransformIndexOrLater(int firstIndex) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2270:46: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | bool Document::graphTransformsAreValid(const QStringList& transforms) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2275:17: warning: no header providing "std::all_of" is directly included [misc-include-cleaner] 69 | return std::all_of(transforms.begin(), transforms.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2289:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(index >= 0 && index < _graphTransformsFromUI.count()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2291:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit transformsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2296:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(index >= 0 && index < _graphTransformsFromUI.count()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2298:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit transformsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2303:36: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | static bool transformsDiffer(const QStringList& a, const QStringList& b, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2303:58: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | static bool transformsDiffer(const QStringList& a, const QStringList& b, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2313:9: warning: no header providing "GraphTransformConfig" is directly included [misc-include-cleaner] 56 | GraphTransformConfig ai, bi; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2339:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList newGraphTransforms = _graphTransforms; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2342:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2342:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2343:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2348:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::availableVisualisationChannelNames(int elementType, int valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2351:21: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | static_cast(elementType), static_cast(valueType)) : QStringList(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2351:60: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | static_cast(elementType), static_cast(valueType)) : QStringList(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2351:85: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | static_cast(elementType), static_cast(valueType)) : QStringList(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2359:1: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::visualisationDescription(const QString& attributeName, const QStringList& channelNames) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2359:84: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList Document::visualisationDescription(const QString& attributeName, const QStringList& channelNames) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2361:106: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | return _graphModel != nullptr ? _graphModel->visualisationDescription(attributeName, channelNames) : QStringList(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2369:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::visualisationInfoAtIndex(int index) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2371:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2372:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 71 | QVariantList numericValues; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2373:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 71 | QVariantList stringValues; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2375:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertType"_s, static_cast(AlertType::None)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2375:49: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 57 | map.insert(u"alertType"_s, static_cast(AlertType::None)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2375:60: warning: no header providing "AlertType_reflector::Enum::None" is directly included [misc-include-cleaner] 57 | map.insert(u"alertType"_s, static_cast(AlertType::None)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2376:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertText"_s, ""); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2377:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"minimumNumericValue"_s, 0.0); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2378:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"maximumNumericValue"_s, 1.0); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2379:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"mappedMinimumNumericValue"_s, 0.0); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2380:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"mappedMaximumNumericValue"_s, 1.0); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2381:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasNumericRange"_s, true); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2382:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"numericValues"_s, numericValues); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2383:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"stringValues"_s, stringValues); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2384:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"numApplications"_s, 1); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2391:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"minimumNumericValue"_s, visualisationInfo.statistics()._min); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2392:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"maximumNumericValue"_s, visualisationInfo.statistics()._max); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2393:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"mappedMinimumNumericValue"_s, visualisationInfo.mappedMinimum()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2394:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"mappedMaximumNumericValue"_s, visualisationInfo.mappedMaximum()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2395:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"hasNumericRange"_s, visualisationInfo.statistics()._range > 0.0); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2396:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"numApplications"_s, static_cast(visualisationInfo.numApplications())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2403:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"numericValues"_s, numericValues); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2410:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"stringValues"_s, stringValues); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2417:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 69 | std::sort(alerts.begin(), alerts.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2425:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertType"_s, static_cast(alert._type)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2426:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"alertText"_s, alert._text); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2441:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::visualisationDefaultParameters(int valueType, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2445:21: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | static_cast(valueType), channelName) : QVariantMap(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2445:59: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | static_cast(valueType), channelName) : QVariantMap(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2453:45: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | bool Document::visualisationsAreValid(const QStringList& visualisations) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2458:17: warning: no header providing "std::all_of" is directly included [misc-include-cleaner] 69 | return std::all_of(visualisations.begin(), visualisations.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2472:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(index >= 0 && index < _visualisationsFromUI.count()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2474:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit visualisationsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2479:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 71 | Q_ASSERT(index >= 0 && index < _visualisationsFromUI.count()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2481:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit visualisationsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2486:40: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | static bool visualisationsDiffer(const QStringList& a, const QStringList& b) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2486:62: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | static bool visualisationsDiffer(const QStringList& a, const QStringList& b) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2495:9: warning: no header providing "VisualisationConfig" is directly included [misc-include-cleaner] 57 | VisualisationConfig ai, bi; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2521:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | QStringList newVisualisations = _visualisations; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2524:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2524:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2525:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2530:28: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::apply(const QStringList& graphTransforms, const QStringList& visualisations, bool replaceLatestCommand) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2530:64: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::apply(const QStringList& graphTransforms, const QStringList& visualisations, bool replaceLatestCommand) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2535:5: warning: no header providing "ICommandPtrsVector" is directly included [misc-include-cleaner] 27 | ICommandPtrsVector commands; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2542:36: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | commands.emplace_back(std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2548:30: warning: no header providing "u::setDifference" is directly included [misc-include-cleaner] 28 | auto difference = u::setDifference(graphTransforms, _graphTransforms); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2550:41: warning: no header providing "u::indexOf" is directly included [misc-include-cleaner] 28 | newGraphTransformIndex = u::indexOf(graphTransforms, difference.at(0)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2556:36: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | commands.emplace_back(std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2556:48: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | commands.emplace_back(std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2557:13: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | Command::CommandDescription | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2559:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | u"Apply Transform Flags"_s, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2560:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | u"Applying Transform Flags"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2562:37: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this, graphTransforms](Command&) { setTransforms(graphTransforms); }, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2563:45: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this, previousGraphTransforms](Command&) { setTransforms(previousGraphTransforms); })); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2572:36: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | commands.emplace_back(std::make_unique( | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2579:11: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | const ExecutePolicy policy = replaceLatestCommand ? | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2580:9: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | ExecutePolicy::Replace : ExecutePolicy::Add; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2580:24: warning: no header providing "ExecutePolicy::Replace" is directly included [misc-include-cleaner] 27 | ExecutePolicy::Replace : ExecutePolicy::Add; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2580:34: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | ExecutePolicy::Replace : ExecutePolicy::Add; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2580:49: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | ExecutePolicy::Replace : ExecutePolicy::Add; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2584:46: warning: no header providing "std::move" is directly included [misc-include-cleaner] 87 | _commandManager.execute(policy, std::move(commands), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2591:46: warning: no header providing "std::move" is directly included [misc-include-cleaner] 87 | _commandManager.execute(policy, std::move(commands.front())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2594:29: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::update(const QStringList& newGraphTransforms, const QStringList& newVisualisations, bool replaceLatestCommand) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2594:68: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::update(const QStringList& newGraphTransforms, const QStringList& newVisualisations, bool replaceLatestCommand) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2598:46: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 87 | for(const auto& newGraphTransform : std::as_const(newGraphTransforms)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2619:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap Document::layoutSetting(const QString& name) const | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2621:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 71 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2626:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"name"_s, setting->name()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2627:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"displayName"_s, setting->displayName()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2628:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"description"_s, setting->description()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2629:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"value"_s, setting->value()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2630:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"normalisedValue"_s, setting->normalisedValue()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2631:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"minimumValue"_s, setting->minimumValue()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2632:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"maximumValue"_s, setting->maximumValue()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2633:35: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | map.insert(u"defaultValue"_s, setting->defaultValue()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2657:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | return u::pref(u"visuals/defaultNormalNodeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2670:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit nodeSizeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2677:74: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | auto defaultNormalNodeSize = u::pref(u"visuals/defaultNormalNodeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2684:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | return u::pref(u"visuals/defaultNormalEdgeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2697:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit edgeSizeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2704:74: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | auto defaultNormalEdgeSize = u::pref(u"visuals/defaultNormalEdgeSize"_s).toFloat(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2724:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit textSizeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2749:38: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 71 | void Document::writeTableModelToFile(QAbstractItemModel* model, const QUrl& fileUrl, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2750:37: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | const QString& extension, const QStringList& columnHeaders) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2753:9: warning: no header providing "QFile" is directly included [misc-include-cleaner] 71 | if(!QFile(localFileName).open(QIODevice::ReadWrite)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2753:35: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 71 | if(!QFile(localFileName).open(QIODevice::ReadWrite)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2755:9: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 71 | QMessageBox::critical(nullptr, tr("File Error"), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2762:9: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [=](Command&) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2764:9: warning: no header providing "QFile" is directly included [misc-include-cleaner] 71 | QFile file(localFileName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2766:23: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 71 | if(!file.open(QIODevice::ReadWrite|QIODevice::Truncate)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2766:44: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 71 | if(!file.open(QIODevice::ReadWrite|QIODevice::Truncate)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2769:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 71 | qDebug() << "Can't open" << localFileName << "for writing."; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2775:26: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 71 | static const QRegularExpression re(u"[\",]"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2775:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | static const QRegularExpression re(u"[\",]"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2781:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | escaped.replace(u"\""_s, u"\"\""_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2781:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | escaped.replace(u"\""_s, u"\"\""_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2783:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | return u"\"%1\""_s.arg(escaped); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2795:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | return escaped.replace(u"\t"_s, u""_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2795:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | return escaped.replace(u"\t"_s, u""_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2798:14: warning: no header providing "std::function" is directly included [misc-include-cleaner] 69 | std::function escapedString = csvEscapedString; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2799:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | QString separator = u","_s; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2801:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | if(extension == u"tsv"_s) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2804:30: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | separator = u"\t"_s; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2807:9: warning: no header providing "QTextStream" is directly included [misc-include-cleaner] 71 | QTextStream stream(&file); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2837:42: warning: no header providing "QMetaType" is directly included [misc-include-cleaner] 71 | if(value.typeId() == QMetaType::QString) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2849:48: warning: no header providing "QAbstractItemModel" is directly included [misc-include-cleaner] 71 | void Document::copyTableModelColumnToClipboard(QAbstractItemModel* model, int column, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2849:93: warning: no header providing "QVector" is directly included [misc-include-cleaner] 71 | void Document::copyTableModelColumnToClipboard(QAbstractItemModel* model, int column, const QVector& rows) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2853:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 71 | qDebug() << "Document::copyTableModelColumnToClipboard: requested column exceeds column count"; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2862:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | text.append(u"%1\n"_s.arg(value.toString())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2865:5: warning: no header providing "QApplication" is directly included [misc-include-cleaner] 71 | QApplication::clipboard()->setText(text); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2874:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit bookmarksChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2878:38: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::removeBookmarks(const QStringList& names) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2894:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit bookmarksChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2901:11: warning: no header providing "u::containsKey" is directly included [misc-include-cleaner] 28 | if(u::containsKey(_bookmarks, from) && !u::containsKey(_bookmarks, to)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2901:48: warning: no header providing "u::containsKey" is directly included [misc-include-cleaner] 28 | if(u::containsKey(_bookmarks, from) && !u::containsKey(_bookmarks, to)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2904:14: warning: no header providing "std::swap" is directly included [misc-include-cleaner] 87 | std::swap(_bookmarks[to], it->second); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2906:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit bookmarksChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2913:43: warning: no header providing "u::containsKey" is directly included [misc-include-cleaner] 28 | if(_selectionManager != nullptr && u::containsKey(_bookmarks, name)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2915:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2915:21: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2918:55: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2918:73: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2922:22: warning: no header providing "u::setIntersection" is directly included [misc-include-cleaner] 28 | nodeIds = u::setIntersection(nodeIds, _bookmarks[name]); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2931:9: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 27 | NodeIdSet bookmarkedNodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2936:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2936:21: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | std::vector nodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2939:55: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2939:73: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 22 | if(_graphModel->graph().typeOf(nodeId) != MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2943:22: warning: no header providing "u::setIntersection" is directly included [misc-include-cleaner] 28 | nodeIds = u::setIntersection(nodeIds, bookmarkedNodeIds); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2955:28: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 22 | auto* tableModel = new EnrichmentTableModel(this); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2958:64: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this, selectedAttributeA, selectedAttributeB, tableModel](Command& command) mutable | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2967:43: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 71 | _enrichmentTableModels.append(QVariant::fromValue(tableModel)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2970:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit enrichmentTableModelsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2971:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit enrichmentAnalysisComplete(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2980:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 71 | emit enrichmentTableModelsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2986:9: warning: no header providing "QFile" is directly included [misc-include-cleaner] 71 | if(!QFile(localFileName).open(QIODevice::ReadWrite)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2986:35: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 71 | if(!QFile(localFileName).open(QIODevice::ReadWrite)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2988:9: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 71 | QMessageBox::critical(nullptr, tr("File Error"), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2995:27: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this, localFileName](Command& command) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2999:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 69 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3014:29: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 69 | static_cast(_graphModel->graph().numNodes()))); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3019:9: warning: no header providing "QFile" is directly included [misc-include-cleaner] 71 | QFile file(localFileName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3021:23: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 71 | if(!file.open(QIODevice::ReadWrite|QIODevice::Truncate)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3021:44: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 71 | if(!file.open(QIODevice::ReadWrite|QIODevice::Truncate)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3024:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 71 | qDebug() << "Can't open" << localFileName << "for writing."; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3028:20: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 71 | file.write(QByteArray::fromStdString(positions.dump())); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3041:27: warning: no header providing "Command" is directly included [misc-include-cleaner] 27 | [this, localFileName](Command& command) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3043:9: warning: no header providing "QFile" is directly included [misc-include-cleaner] 71 | QFile file(localFileName); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3045:23: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 71 | if(!file.open(QIODevice::ReadOnly)) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3054:9: warning: no header providing "QDataStream" is directly included [misc-include-cleaner] 71 | QDataStream input(&file); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3055:9: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 71 | QByteArray byteArray; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3060:18: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | std::vector buffer(ChunkSize); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3076:32: warning: no header providing "std::all_of" is directly included [misc-include-cleaner] 69 | auto allObjects = std::all_of(jsonArray.begin(), jsonArray.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3082:9: warning: no header providing "ExactNodePositions" is directly included [misc-include-cleaner] 22 | ExactNodePositions nodePositions(_graphModel->mutableGraph()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3084:9: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 69 | uint64_t i = 0; | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3088:20: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 28 | if(!u::contains(jsonNode, "id") || !u::contains(jsonNode, "position")) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3088:52: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 28 | if(!u::contains(jsonNode, "id") || !u::contains(jsonNode, "position")) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3091:19: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 27 | const NodeId nodeId = jsonNode["id"].get(); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3101:19: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 71 | const QVector3D position(positionArray.at(0), positionArray.at(1), positionArray.at(2)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3105:29: warning: no header providing "uint64_t" is directly included [misc-include-cleaner] 69 | static_cast(jsonArray.size()))); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3119:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3119:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3120:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique(_graphModel.get(), sourceAttributeName, newAttributeName)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3124:5: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 27 | ValueType newType, const QString& newDescription) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3129:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3129:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3130:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique(_graphModel.get(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3131:9: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 22 | Attribute::parseAttributeName(attributeName)._name, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3135:39: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 71 | void Document::removeAttributes(const QStringList& attributeNames) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3140:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3140:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3141:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique(_graphModel.get(), attributeNames)); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3146:36: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 87 | int keyColumnIndex, const std::vector& importColumnIndices, bool replace) | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3151:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3151:44: warning: no header providing "ExecutePolicy::Add" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Add, | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3152:14: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | std::make_unique(_graphModel.get(), | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3164:51: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | text += u"Mutable Graph Nodes: %1 Edges: %2\n"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3168:68: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 71 | text += u"Transformed Graph Nodes: %1 Edges: %2 Components: %3"_s | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3191:49: warning: no header providing "std::operator""ms" is directly included [misc-include-cleaner] 69 | std::this_thread::sleep_for(1000ms); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3201:29: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3201:44: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 27 | _commandManager.execute(ExecutePolicy::Once, std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3201:55: warning: no header providing "std::make_unique" is directly included [misc-include-cleaner] 70 | _commandManager.execute(ExecutePolicy::Once, std::make_unique()); | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3206:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 71 | qmlRegisterType( | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 33820 warnings generated. [174/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:42:1: warning: included header QMouseEvent is not used directly [misc-include-cleaner] 42 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 43 | #include /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:43:1: warning: included header QKeyEvent is not used directly [misc-include-cleaner] 43 | #include | ^~~~~~~~~~~~~~~~~~~~ 44 | #include /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:44:1: warning: included header QtMath is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~ 45 | /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:49:1: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 31 | NodeIdSet nodeIdsInsideFrustum(const GraphModel& graphModel, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:50:32: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 31 | ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:53:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 31 | NodeIdSet selection; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:56:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 48 | 49 | NodeIdSet nodeIdsInsideFrustum(const GraphModel& graphModel, 50 | ComponentId componentId, 51 | const BaseFrustum& frustum) 52 | { 53 | NodeIdSet selection; 54 | 55 | const auto* component = graphModel.graph().componentById(componentId); 56 | Q_ASSERT(component != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:58:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 31 | for(const NodeId nodeId : component->nodeIds()) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:60:55: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 31 | if(graphModel.nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:60:68: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 31 | if(graphModel.nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:63:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | 49 | NodeIdSet nodeIdsInsideFrustum(const GraphModel& graphModel, 50 | ComponentId componentId, 51 | const BaseFrustum& frustum) 52 | { 53 | NodeIdSet selection; 54 | 55 | const auto* component = graphModel.graph().componentById(componentId); 56 | Q_ASSERT(component != nullptr); 57 | 58 | for(const NodeId nodeId : component->nodeIds()) 59 | { 60 | if(graphModel.nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) 61 | continue; 62 | 63 | const QVector3D nodePosition = graphModel.nodePositions().get(nodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:71:8: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 31 | static NodeId nodeIdInsideFrustumNearestPoint(const GraphModel& graphModel, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:72:47: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 31 | ComponentId componentId, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:74:53: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | const QVector3D& point) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:78:5: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 31 | NodeId closestNodeId; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:79:34: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 48 | float minimumDistance = std::numeric_limits::max(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:83:55: warning: no header providing "VisualFlags" is directly included [misc-include-cleaner] 31 | if(graphModel.nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:83:68: warning: no header providing "Unhighlighted" is directly included [misc-include-cleaner] 31 | if(graphModel.nodeVisual(nodeId).state().test(VisualFlags::Unhighlighted)) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:86:40: warning: no header providing "Ray" is directly included [misc-include-cleaner] 21 | const float distanceToCentre = Ray(frustum.centreLine()).distanceTo(point); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:116:45: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseDown(const QPoint& position) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:142:51: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mousePressEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:142:68: warning: no header providing "Qt::KeyboardModifiers" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mousePressEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:142:101: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mousePressEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:149:14: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 48 | case Qt::LeftButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:154:14: warning: no header providing "Qt::RightButton" is directly included [misc-include-cleaner] 48 | case Qt::RightButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:159:14: warning: no header providing "Qt::MiddleButton" is directly included [misc-include-cleaner] 48 | case Qt::MiddleButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:168:53: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseReleaseEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:168:70: warning: no header providing "Qt::KeyboardModifiers" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseReleaseEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:168:103: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseReleaseEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:175:14: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 48 | case Qt::LeftButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:180:14: warning: no header providing "Qt::RightButton" is directly included [misc-include-cleaner] 48 | case Qt::RightButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:185:14: warning: no header providing "Qt::MiddleButton" is directly included [misc-include-cleaner] 48 | case Qt::MiddleButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:198:50: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseMoveEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:198:67: warning: no header providing "Qt::KeyboardModifiers" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseMoveEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:198:100: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseMoveEvent(const QPoint& pos, Qt::KeyboardModifiers modifiers, Qt::MouseButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:210:15: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | const QPoint p = _cursorPosition - _clickPosition; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:228:57: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseDoubleClickEvent(const QPoint&, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:228:70: warning: no header providing "Qt::KeyboardModifiers" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseDoubleClickEvent(const QPoint&, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:228:103: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::mouseDoubleClickEvent(const QPoint&, Qt::KeyboardModifiers modifiers, Qt::MouseButton button) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:237:14: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 48 | case Qt::LeftButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:241:14: warning: no header providing "Qt::RightButton" is directly included [misc-include-cleaner] 48 | case Qt::RightButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:245:14: warning: no header providing "Qt::MiddleButton" is directly included [misc-include-cleaner] 48 | case Qt::MiddleButton: | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:255:8: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | static QVector3D virtualTrackballVector(int width, int height, const QPoint& cursor) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:255:70: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | static QVector3D virtualTrackballVector(int width, int height, const QPoint& cursor) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:282:8: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 48 | static QQuaternion mouseMoveToRotation(const QPoint& prev, const QPoint& cur, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:282:46: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | static QQuaternion mouseMoveToRotation(const QPoint& prev, const QPoint& cur, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:282:66: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | static QQuaternion mouseMoveToRotation(const QPoint& prev, const QPoint& cur, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:288:5: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 48 | QQuaternion rotation; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:290:34: warning: no header providing "Projection" is directly included [misc-include-cleaner] 21 | if(renderer->projection() == Projection::TwoDee) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:290:46: warning: no header providing "Projection_reflector::Enum::TwoDee" is directly included [misc-include-cleaner] 21 | if(renderer->projection() == Projection::TwoDee) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:292:15: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | const QPoint centre(w / 2, h / 2); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:293:15: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 48 | const QVector2D previous(prev - centre); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:294:15: warning: no header providing "QVector2D" is directly included [misc-include-cleaner] 48 | const QVector2D current(cur - centre); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:301:23: warning: no header providing "qRadiansToDegrees" is directly included [misc-include-cleaner] 48 | float angle = qRadiansToDegrees(radians); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:320:20: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 48 | rotation = QQuaternion::fromAxisAndAngle({0.0f, 0.0f, 1.0f}, currentAngle - angle); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:324:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | const QVector3D previous = virtualTrackballVector(w, h, prev); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:325:15: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | const QVector3D current = virtualTrackballVector(w, h, cur); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:327:9: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | QVector3D axis = QVector3D::crossProduct(current, previous).normalized(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:327:26: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | QVector3D axis = QVector3D::crossProduct(current, previous).normalized(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:329:27: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 48 | const float dot = QVector3D::dotProduct(previous, current); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:333:29: warning: no header providing "qRadiansToDegrees" is directly included [misc-include-cleaner] 48 | const float angle = qRadiansToDegrees(radians); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:336:24: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 48 | m.setColumn(3, QVector4D(0.0f, 0.0f, 0.0f, 1.0f)); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:338:17: warning: no header providing "QVector4D" is directly included [misc-include-cleaner] 48 | axis = (QVector4D(axis, 1.0f) * m).toVector3D(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:340:20: warning: no header providing "QQuaternion" is directly included [misc-include-cleaner] 48 | rotation = QQuaternion::fromAxisAndAngle(axis, angle) * | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:348:11: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | const QPoint& from, const QPoint& to) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:348:31: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | const QPoint& from, const QPoint& to) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:359:27: warning: no header providing "Qt::ShiftModifier" is directly included [misc-include-cleaner] 48 | if((modifiers() & Qt::ShiftModifier) != 0) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:362:31: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | _frustumSelectStart = QPoint(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:370:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 48 | emit userInteractionFinished(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:376:19: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | const QPoint frustumSelectEnd = cursorPosition(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:377:47: warning: no header providing "QRect" is directly included [misc-include-cleaner] 48 | auto selection = selectionForRect(QRect(_frustumSelectStart, frustumSelectEnd)); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:381:42: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 31 | _commandManager->execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:381:57: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 31 | _commandManager->execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:386:35: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | _frustumSelectStart = QPoint(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:392:57: warning: no header providing "Qt::ShiftModifier" is directly included [misc-include-cleaner] 48 | const bool multiSelect = (modifiers() & Qt::ShiftModifier) != 0; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:396:42: warning: no header providing "ExecutePolicy" is directly included [misc-include-cleaner] 31 | _commandManager->execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:396:57: warning: no header providing "ExecutePolicy::Once" is directly included [misc-include-cleaner] 31 | _commandManager->execute(ExecutePolicy::Once, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:404:28: warning: no header providing "Command" is directly included [misc-include-cleaner] 31 | [this](Command&) { return _selectionManager->clearNodeSelection(); }, | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:409:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 48 | emit clicked(Qt::LeftButton, static_cast(modifiers()), _clickedNodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:409:26: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 48 | emit clicked(Qt::LeftButton, static_cast(modifiers()), _clickedNodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:418:27: warning: no header providing "Qt::ShiftModifier" is directly included [misc-include-cleaner] 48 | if((modifiers() & Qt::ShiftModifier) != 0) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:424:17: warning: no header providing "emit" is directly included [misc-include-cleaner] 48 | emit userInteractionStarted(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:436:42: warning: no header providing "QRect" is directly included [misc-include-cleaner] 48 | _graphRenderer->setSelectionRect(QRect(_frustumSelectStart, cursorPosition()).normalized()); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:441:31: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | _frustumSelectStart = QPoint(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:445:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 48 | emit userInteractionFinished(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:452:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 48 | emit userInteractionStarted(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:468:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 48 | emit clicked(Qt::RightButton, static_cast(modifiers()), _clickedNodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:468:26: warning: no header providing "Qt::RightButton" is directly included [misc-include-cleaner] 48 | emit clicked(Qt::RightButton, static_cast(modifiers()), _clickedNodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:487:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 48 | emit clicked(Qt::MiddleButton, static_cast(modifiers()), _clickedNodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:487:26: warning: no header providing "Qt::MiddleButton" is directly included [misc-include-cleaner] 48 | emit clicked(Qt::MiddleButton, static_cast(modifiers()), _clickedNodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:497:1: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | QPoint GraphCommonInteractor::cursorPosition() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:502:1: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | QPoint GraphCommonInteractor::prevCursorPosition() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:507:1: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | QPoint GraphCommonInteractor::localCursorPosition() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:509:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 48 | Q_ASSERT(clickedComponentRenderer() != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:513:1: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | QPoint GraphCommonInteractor::localPrevCursorPosition() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:515:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 48 | Q_ASSERT(clickedComponentRenderer() != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:519:5: warning: no header providing "Qt::KeyboardModifiers" is directly included [misc-include-cleaner] 48 | Qt::KeyboardModifiers GraphCommonInteractor::modifiers() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:524:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 31 | NodeId GraphCommonInteractor::nodeIdAtPosition(const QPoint& localPosition) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:524:54: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | NodeId GraphCommonInteractor::nodeIdAtPosition(const QPoint& localPosition) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:536:1: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 31 | NodeId GraphCommonInteractor::nodeIdNearPosition(const QPoint& localPosition) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:536:56: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | NodeId GraphCommonInteractor::nodeIdNearPosition(const QPoint& localPosition) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:552:46: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::wheelEvent(const QPoint& pos, int angle) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:564:52: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::zoomGestureEvent(const QPoint& pos, float value) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:576:51: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::panGestureEvent(const QPoint& pos, const QPoint& delta) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:576:70: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 48 | void GraphCommonInteractor::panGestureEvent(const QPoint& pos, const QPoint& delta) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32744 warnings generated. [175/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/layout/layoutsettings.h:95:36: warning: forwarding reference parameter 'args' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 95 | void registerSetting(Args&&... args) | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:30:1: warning: included header graph.h is not used directly [misc-include-cleaner] 30 | #include "graph/graph.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 31 | #include "graph/graphmodel.h" /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:33:1: warning: included header boundingsphere.h is not used directly [misc-include-cleaner] 33 | #include "maths/boundingsphere.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | #include "maths/frustum.h" /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:35:1: warning: included header plane.h is not used directly [misc-include-cleaner] 35 | #include "maths/plane.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 36 | /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:39:1: warning: included header QMouseEvent is not used directly [misc-include-cleaner] 39 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 40 | #include /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:40:1: warning: included header QKeyEvent is not used directly [misc-include-cleaner] 40 | #include | ^~~~~~~~~~~~~~~~~~~~ 41 | #include /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:41:1: warning: included header QtMath is not used directly [misc-include-cleaner] 41 | #include | ^~~~~~~~~~~~~~~~~ 42 | #include /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:42:1: warning: included header cmath is not used directly [misc-include-cleaner] 42 | #include | ^~~~~~~~~~~~~~~~ 43 | /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:49:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 38 | 39 | #include 40 | #include 41 | #include 42 | #include 43 | 44 | GraphComponentInteractor::GraphComponentInteractor(GraphModel* graphModel, 45 | GraphComponentScene* graphComponentScene, 46 | CommandManager* commandManager, 47 | SelectionManager* selectionManager, 48 | GraphRenderer* graphRenderer) : 49 | GraphCommonInteractor(graphModel, commandManager, selectionManager, graphRenderer), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:59:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 43 | emit userInteractionStarted(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:62:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 38 | GraphCommonInteractor::rightMouseDown(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:76:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 43 | emit userInteractionFinished(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:86:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 38 | GraphCommonInteractor::rightMouseUp(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:94:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 38 | GraphCommonInteractor::rightDrag(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:150:85: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 43 | GraphComponentRenderer* GraphComponentInteractor::componentRendererAtPosition(const QPoint&) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:155:1: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 43 | QPoint GraphComponentInteractor::componentLocalCursorPosition(const ComponentId&, const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:155:69: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 38 | QPoint GraphComponentInteractor::componentLocalCursorPosition(const ComponentId&, const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:155:89: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 43 | QPoint GraphComponentInteractor::componentLocalCursorPosition(const ComponentId&, const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:160:1: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 38 | NodeIdSet GraphComponentInteractor::selectionForRect(const QRectF& rect) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:160:60: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 20 | NodeIdSet GraphComponentInteractor::selectionForRect(const QRectF& rect) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphcomponentinteractor.cpp:166:12: warning: no header providing "nodeIdsInsideFrustum" is directly included [misc-include-cleaner] 38 | return nodeIdsInsideFrustum(*_graphModel, | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:33:10: warning: use c++14 style type templates [modernize-type-traits] 33 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:36:33: warning: use c++14 style type templates [modernize-type-traits] 36 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:45:10: warning: use c++14 style type templates [modernize-type-traits] 45 | typename std::enable_if, Enum>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:48:33: warning: use c++14 style type templates [modernize-type-traits] 48 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:57:10: warning: use c++14 style type templates [modernize-type-traits] 57 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:60:33: warning: use c++14 style type templates [modernize-type-traits] 60 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:69:10: warning: use c++14 style type templates [modernize-type-traits] 69 | typename std::enable_if, bool>::type | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/enumbitmask.h:72:33: warning: use c++14 style type templates [modernize-type-traits] 72 | using underlying = typename std::underlying_type::type; | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32447 warnings generated. [176/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:47:68: warning: rvalue reference parameter 'splitters' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 47 | ComponentSplitSet(ComponentId oldComponentId, ComponentIdSet&& splitters) : | ^ /home/runner/work/graphia/graphia/source/app/graph/componentmanager.h:66:40: warning: rvalue reference parameter 'mergers' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 66 | ComponentMergeSet(ComponentIdSet&& mergers, ComponentId newComponentId) : | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:31:1: warning: included header QMouseEvent is not used directly [misc-include-cleaner] 31 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 32 | #include /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:32:1: warning: included header QWheelEvent is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 33 | /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:39:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 30 | 31 | #include 32 | #include 33 | 34 | GraphOverviewInteractor::GraphOverviewInteractor(GraphModel* graphModel, 35 | GraphOverviewScene* graphOverviewScene, 36 | CommandManager* commandManager, 37 | SelectionManager* selectionManager, 38 | GraphRenderer* graphRenderer) : 39 | GraphCommonInteractor(graphModel, commandManager, selectionManager, graphRenderer), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:46:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 30 | GraphCommonInteractor::rightMouseDown(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:53:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 30 | GraphCommonInteractor::rightMouseUp(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:55:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit userInteractionFinished(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:60:5: warning: no header providing "GraphCommonInteractor" is directly included [misc-include-cleaner] 30 | GraphCommonInteractor::rightDrag(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:63:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit userInteractionStarted(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:99:11: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 33 | const QPoint from = componentLocalCursorPosition(renderer->componentId(), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:101:11: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 33 | const QPoint to = componentLocalCursorPosition(renderer->componentId(), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:107:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 30 | ComponentId GraphOverviewInteractor::componentIdAtPosition(const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:107:66: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 33 | ComponentId GraphOverviewInteractor::componentIdAtPosition(const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:125:1: warning: no header providing "GraphComponentRenderer" is directly included [misc-include-cleaner] 22 | GraphComponentRenderer* GraphOverviewInteractor::componentRendererAtPosition(const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:125:84: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 33 | GraphComponentRenderer* GraphOverviewInteractor::componentRendererAtPosition(const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:135:1: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 33 | QPoint GraphOverviewInteractor::componentLocalCursorPosition(const ComponentId& componentId, const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:135:68: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 30 | QPoint GraphOverviewInteractor::componentLocalCursorPosition(const ComponentId& componentId, const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:135:100: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 33 | QPoint GraphOverviewInteractor::componentLocalCursorPosition(const ComponentId& componentId, const QPoint& position) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:140:5: warning: no header providing "QPoint" is directly included [misc-include-cleaner] 33 | QPoint transformedPos(position.x() - static_cast(rect.x()), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:145:1: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 30 | NodeIdSet GraphOverviewInteractor::selectionForRect(const QRectF& rect) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:145:59: warning: no header providing "QRectF" is directly included [misc-include-cleaner] 20 | NodeIdSet GraphOverviewInteractor::selectionForRect(const QRectF& rect) const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:147:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 30 | NodeIdSet selection; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphoverviewinteractor.cpp:164:33: warning: no header providing "nodeIdsInsideFrustum" is directly included [misc-include-cleaner] 30 | auto subSelection = nodeIdsInsideFrustum(*_graphModel, componentId, frustum); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32391 warnings generated. [177/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:30:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:32:32: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 31 | 32 | GraphQuickItem::GraphQuickItem(QQuickItem* parent) : | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:33:5: warning: no header providing "QQuickFramebufferObject" is directly included [misc-include-cleaner] 31 | 32 | GraphQuickItem::GraphQuickItem(QQuickItem* parent) : 33 | QQuickFramebufferObject(parent) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:39:33: warning: no header providing "Qt::AllButtons" is directly included [misc-include-cleaner] 31 | 32 | GraphQuickItem::GraphQuickItem(QQuickItem* parent) : 33 | QQuickFramebufferObject(parent) 34 | { 35 | // Prevent updates until we're properly initialised 36 | setFlag(Flag::ItemHasContents, false); 37 | 38 | setMirrorVertically(true); 39 | setAcceptedMouseButtons(Qt::AllButtons); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:56:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit graphChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:57:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit metricsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:77:1: warning: no header providing "Projection" is directly included [misc-include-cleaner] 21 | Projection GraphQuickItem::projection() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:82:36: warning: no header providing "Projection" is directly included [misc-include-cleaner] 21 | void GraphQuickItem::setProjection(Projection projection) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:91:1: warning: no header providing "Shading" is directly included [misc-include-cleaner] 21 | Shading GraphQuickItem::shading2D() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:96:35: warning: no header providing "Shading" is directly included [misc-include-cleaner] 21 | void GraphQuickItem::setShading2D(Shading shading2D) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:105:1: warning: no header providing "Shading" is directly included [misc-include-cleaner] 21 | Shading GraphQuickItem::shading3D() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:110:35: warning: no header providing "Shading" is directly included [misc-include-cleaner] 21 | void GraphQuickItem::setShading3D(Shading shading3D) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:124:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit interactingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:133:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit transitioningChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:152:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit viewIsResetChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:166:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit canEnterOverviewModeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:175:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit inOverviewModeChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:179:44: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | void GraphQuickItem::setFocusedComponentId(ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:185:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit focusedComponentIdChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:189:69: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::captureScreenshot(int width, int height, const QString& path, int dpi, bool fillSize) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:194:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit screenshotRequested(width, height, path, dpi, fillSize); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:203:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit previewRequested(width, height, fillSize); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:220:38: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | void GraphQuickItem::moveFocusToNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:226:50: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::moveFocusToNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:226:57: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | void GraphQuickItem::moveFocusToNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:232:6: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector GraphQuickItem::desiredFocusNodeIds() | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:232:13: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | std::vector GraphQuickItem::desiredFocusNodeIds() | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:239:43: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | void GraphQuickItem::moveFocusToComponent(ComponentId componentId) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:245:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | ComponentId GraphQuickItem::desiredFocusComponentId() | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:247:5: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | ComponentId componentId = _desiredFocusComponentId; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:252:1: warning: no header providing "ComponentId" is directly included [misc-include-cleaner] 21 | ComponentId GraphQuickItem::focusedComponentId() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:257:1: warning: no header providing "QQuickFramebufferObject" is directly included [misc-include-cleaner] 31 | QQuickFramebufferObject::Renderer* GraphQuickItem::createRenderer() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:260:107: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(this, &GraphQuickItem::commandsStarted, graphRenderer, &GraphRenderer::onCommandsStarted, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:261:109: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(this, &GraphQuickItem::commandsFinished, graphRenderer, &GraphRenderer::onCommandsFinished, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:262:97: warning: no header providing "Qt::DirectConnection" is directly included [misc-include-cleaner] 31 | connect(this, &GraphQuickItem::commandsFinished, this, &GraphQuickItem::updateRenderer, Qt::DirectConnection); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:286:28: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 31 | bool GraphQuickItem::event(QEvent* e) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:290:10: warning: no header providing "QEvent" is directly included [misc-include-cleaner] 31 | case QEvent::Type::NativeGesture: enqueueEvent(dynamic_cast(e)); return true; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:290:65: warning: no header providing "QNativeGestureEvent" is directly included [misc-include-cleaner] 31 | case QEvent::Type::NativeGesture: enqueueEvent(dynamic_cast(e)); return true; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:294:12: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 31 | return QQuickItem::event(e); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:300:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit layoutChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:306:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit initialisedChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:316:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit updatingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:322:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit fpsChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:353:49: warning: no header providing "QImage" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::onScreenshotComplete(const QImage& screenshot, const QString& path) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:353:75: warning: no header providing "QString" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::onScreenshotComplete(const QImage& screenshot, const QString& path) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:355:53: warning: no header providing "Command" is directly included [misc-include-cleaner] 21 | _commandManager->executeOnce([screenshot, path](Command&) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:358:25: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 31 | screenshot.save(QUrl(path).toLocalFile()); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:359:9: warning: no header providing "QDesktopServices" is directly included [misc-include-cleaner] 31 | QDesktopServices::openUrl(QUrl(path).toLocalFile()); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:359:35: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 31 | QDesktopServices::openUrl(QUrl(path).toLocalFile()); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:363:38: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::mousePressEvent(QMouseEvent* e) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:372:40: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::mouseReleaseEvent(QMouseEvent* e) { enqueueEvent(e); } | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:373:37: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::mouseMoveEvent(QMouseEvent* e) { enqueueEvent(e); } | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:374:44: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::mouseDoubleClickEvent(QMouseEvent* e) { enqueueEvent(e); } | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:375:33: warning: no header providing "QWheelEvent" is directly included [misc-include-cleaner] 31 | void GraphQuickItem::wheelEvent(QWheelEvent* e) { enqueueEvent(e); } | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:383:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t GraphQuickItem::numNodes() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:391:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t GraphQuickItem::numVisibleNodes() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:397:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | return static_cast(std::count_if(nodeIds.begin(), nodeIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:397:41: warning: no header providing "std::count_if" is directly included [misc-include-cleaner] 31 | return static_cast(std::count_if(nodeIds.begin(), nodeIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:398:16: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 21 | [this](NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:400:59: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | return _graphModel->graph().typeOf(nodeId) != MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:400:77: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | return _graphModel->graph().typeOf(nodeId) != MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:407:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t GraphQuickItem::numEdges() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:415:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t GraphQuickItem::numVisibleEdges() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:421:28: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | return static_cast(std::count_if(edgeIds.begin(), edgeIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:421:41: warning: no header providing "std::count_if" is directly included [misc-include-cleaner] 31 | return static_cast(std::count_if(edgeIds.begin(), edgeIds.end(), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:422:16: warning: no header providing "EdgeId" is directly included [misc-include-cleaner] 21 | [this](EdgeId edgeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:424:59: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | return _graphModel->graph().typeOf(edgeId) != MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:424:77: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | return _graphModel->graph().typeOf(edgeId) != MultiElementType::Tail; | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:431:1: warning: no header providing "size_t" is directly included [misc-include-cleaner] 31 | size_t GraphQuickItem::numComponents() const | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:442:52: warning: no header providing "std::distance" is directly included [misc-include-cleaner] 31 | _visibleComponentIndex = static_cast(std::distance(componentIds.begin(), | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:443:14: warning: no header providing "std::find" is directly included [misc-include-cleaner] 31 | std::find(componentIds.begin(), componentIds.end(), _focusedComponentId)) + 1); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:445:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit visibleComponentIndexChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:454:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 31 | emit updatingChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/graphquickitem.cpp:461:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 31 | qmlRegisterType( | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:99:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 99 | void executeOnce(CommandFn&& executeFn, const QString& commandDescription) | ^ /home/runner/work/graphia/graphia/source/shared/commands/icommandmanager.h:105:34: warning: rvalue reference parameter 'executeFn' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 105 | void executeOnce(CommandFn&& executeFn, const Command::CommandDescription& commandDescription = {}) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 32639 warnings generated. [178/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:27:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:37:31: warning: no header providing "QString" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | SearchManager::SearchManager(const GraphModel& graphModel) : 34 | _graphModel(&graphModel) 35 | {} 36 | 37 | void SearchManager::findNodes(QString term, Flags options, | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:37:45: warning: no header providing "Flags" is directly included [misc-include-cleaner] 26 | 27 | #include 28 | 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | SearchManager::SearchManager(const GraphModel& graphModel) : 34 | _graphModel(&graphModel) 35 | {} 36 | 37 | void SearchManager::findNodes(QString term, Flags options, | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:37:51: warning: no header providing "FindOptions" is directly included [misc-include-cleaner] 26 | 27 | #include 28 | 29 | #include 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | SearchManager::SearchManager(const GraphModel& graphModel) : 34 | _graphModel(&graphModel) 35 | {} 36 | 37 | void SearchManager::findNodes(QString term, Flags options, | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:38:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | SearchManager::SearchManager(const GraphModel& graphModel) : 34 | _graphModel(&graphModel) 35 | {} 36 | 37 | void SearchManager::findNodes(QString term, Flags options, 38 | QStringList attributeNames, FindSelectStyle selectStyle) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:42:28: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | 31 | using namespace Qt::Literals::StringLiterals; 32 | 33 | SearchManager::SearchManager(const GraphModel& graphModel) : 34 | _graphModel(&graphModel) 35 | {} 36 | 37 | void SearchManager::findNodes(QString term, Flags options, 38 | QStringList attributeNames, FindSelectStyle selectStyle) 39 | { 40 | _term = term; 41 | _options = options; 42 | _attributeNames = std::move(attributeNames); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:51:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 25 | NodeIdSet foundNodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:56:63: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | for(auto& attributeName : _graphModel->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:56:76: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | for(auto& attributeName : _graphModel->attributeNames(ElementType::Node)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:60:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 30 | std::vector attributes; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:60:17: warning: no header providing "Attribute" is directly included [misc-include-cleaner] 21 | std::vector attributes; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:68:31: warning: no header providing "AttributeFlag" is directly included [misc-include-cleaner] 25 | if(attribute.testFlag(AttributeFlag::Searchable) && | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:68:46: warning: no header providing "AttributeFlag_reflector::Enum::Searchable" is directly included [misc-include-cleaner] 25 | if(attribute.testFlag(AttributeFlag::Searchable) && | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:69:40: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 25 | attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:69:53: warning: no header providing "ElementType_reflector::Enum::Node" is directly included [misc-include-cleaner] 25 | attribute.elementType() == ElementType::Node) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:82:5: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | QRegularExpression::PatternOptions reOptions; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:84:21: warning: no header providing "FindOptions" is directly included [misc-include-cleaner] 26 | if(options.test(FindOptions::MatchExact)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:84:34: warning: no header providing "FindOptions_reflector::Enum::MatchExact" is directly included [misc-include-cleaner] 26 | if(options.test(FindOptions::MatchExact)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:86:16: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | term = QRegularExpression::escape(term); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:87:23: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | term = u"^%1$"_s.arg(term); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:91:26: warning: no header providing "FindOptions" is directly included [misc-include-cleaner] 26 | if(!options.test(FindOptions::MatchUsingRegex)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:91:39: warning: no header providing "FindOptions_reflector::Enum::MatchUsingRegex" is directly included [misc-include-cleaner] 26 | if(!options.test(FindOptions::MatchUsingRegex)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:92:20: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | term = QRegularExpression::escape(term); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:94:25: warning: no header providing "FindOptions" is directly included [misc-include-cleaner] 26 | if(options.test(FindOptions::MatchWholeWords)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:94:38: warning: no header providing "FindOptions_reflector::Enum::MatchWholeWords" is directly included [misc-include-cleaner] 26 | if(options.test(FindOptions::MatchWholeWords)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:95:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 30 | term = uR"(\b(%1)\b)"_s.arg(term); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:97:26: warning: no header providing "FindOptions" is directly included [misc-include-cleaner] 26 | if(!options.test(FindOptions::MatchCase)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:97:39: warning: no header providing "FindOptions_reflector::Enum::MatchCase" is directly included [misc-include-cleaner] 26 | if(!options.test(FindOptions::MatchCase)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:98:31: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | reOptions.setFlag(QRegularExpression::CaseInsensitiveOption); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:101:11: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | const QRegularExpression re(term, reOptions); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:105:24: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 21 | ConditionFnOp::String op = ConditionFnOp::String::MatchesRegex; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:105:51: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 21 | ConditionFnOp::String op = ConditionFnOp::String::MatchesRegex; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:105:59: warning: no header providing "ConditionFnOp::String::MatchesRegex" is directly included [misc-include-cleaner] 21 | ConditionFnOp::String op = ConditionFnOp::String::MatchesRegex; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:106:31: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 30 | if(reOptions.testFlag(QRegularExpression::CaseInsensitiveOption)) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:107:33: warning: no header providing "ConditionFnOp::String" is directly included [misc-include-cleaner] 21 | op = ConditionFnOp::String::MatchesRegexCaseInsensitive; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:107:41: warning: no header providing "ConditionFnOp::String::MatchesRegexCaseInsensitive" is directly included [misc-include-cleaner] 21 | op = ConditionFnOp::String::MatchesRegexCaseInsensitive; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:109:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 30 | std::vector conditionFns; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:109:21: warning: no header providing "NodeConditionFn" is directly included [misc-include-cleaner] 25 | std::vector conditionFns; | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:122:55: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(_graphModel->graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:122:73: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(_graphModel->graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:155:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:155:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:159:26: warning: no header providing "std::move" is directly included [misc-include-cleaner] 30 | _foundNodeIds = std::move(foundNodeIds); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:162:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit foundNodeIdsChanged(this); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:167:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:167:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:173:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 30 | emit foundNodeIdsChanged(this); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:181:1: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 25 | NodeIdSet SearchManager::foundNodeIds() const | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:183:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/searchmanager.cpp:183:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 30 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 25913 warnings generated. [179/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:24:1: warning: included header algorithm is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:34:26: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | 24 | #include 25 | #include 26 | #include 27 | 28 | //#define EXPENSIVE_DEBUG_CHECKS 29 | 30 | SelectionManager::SelectionManager(const GraphModel& graphModel) : 31 | _graphModel(&graphModel) 32 | { 33 | connect(&_graphModel->graph(), &Graph::nodeRemoved, 34 | [this](const Graph*, NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:50:1: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | NodeIdSet SelectionManager::selectedNodes() const | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:52:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:52:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:67:1: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | NodeIdSet SelectionManager::unselectedNodes() const | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:69:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:69:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:72:30: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | auto unselectedNodeIds = NodeIdSet(nodeIds.begin(), nodeIds.end()); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:79:70: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | template bool _selectNodes(const GraphModel& graphModel, NodeIdSet& selectedNodeIds, | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:80:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | NodeIdSet& mask, const C& nodeIds, bool selectMergedNodes = true) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:82:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | NodeIdSet newSelectedNodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:88:53: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graphModel.graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:88:71: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graphModel.graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:114:42: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | bool SelectionManager::selectNodes(const NodeIdSet& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:122:47: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | bool SelectionManager::selectNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:122:54: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | bool SelectionManager::selectNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:130:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | bool SelectionManager::selectNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:134:86: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | return _selectNodes(*_graphModel, _selectedNodeIds, _nodeIdsMask, std::array{{nodeId}}, true); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:139:72: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | template bool _deselectNodes(const GraphModel& graphModel, NodeIdSet& selectedNodeIds, | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:148:53: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | if(graphModel.graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:148:71: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | if(graphModel.graph().typeOf(nodeId) == MultiElementType::Tail) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:166:37: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | bool SelectionManager::deselectNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:170:74: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | return _deselectNodes(*_graphModel, _selectedNodeIds, std::array{{nodeId}}, true); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:174:44: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | bool SelectionManager::deselectNodes(const NodeIdSet& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:182:49: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | bool SelectionManager::deselectNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:182:56: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | bool SelectionManager::deselectNodes(const std::vector& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:190:40: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | template void _toggleNodes(NodeIdSet& selectedNodeIds, NodeIdSet& mask, const C& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:190:68: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | template void _toggleNodes(NodeIdSet& selectedNodeIds, NodeIdSet& mask, const C& nodeIds) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:192:5: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | NodeIdSet difference; | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:205:35: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | bool SelectionManager::toggleNode(NodeId nodeId) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:217:39: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | bool SelectionManager::nodeIsSelected(NodeId nodeId) const | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:219:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:219:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:224:15: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 23 | return u::contains(_selectedNodeIds, nodeId); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:236:13: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | NodeIdSet deselectedNodeIds; | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:239:24: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 23 | if(!u::contains(_nodeIdsMask, nodeId)) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:263:16: warning: no header providing "std::unique_lock" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:263:33: warning: no header providing "std::recursive_mutex" is directly included [misc-include-cleaner] 25 | const std::unique_lock lock(_mutex); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:268:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit selectionChanged(this); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:271:43: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | void SelectionManager::setNodesMask(const NodeIdSet& nodeIds, bool applyMask) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:277:14: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | std::vector nodeIdsToDeselect; | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:277:21: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | std::vector nodeIdsToDeselect; | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:281:20: warning: no header providing "u::contains" is directly included [misc-include-cleaner] 23 | if(!u::contains(_nodeIdsMask, selectedNodeId)) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:288:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit nodesMaskChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:291:48: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 27 | void SelectionManager::setNodesMask(const std::vector& nodeIds, bool applyMask) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:291:55: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | void SelectionManager::setNodesMask(const std::vector& nodeIds, bool applyMask) | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:293:18: warning: no header providing "NodeIdSet" is directly included [misc-include-cleaner] 23 | setNodesMask(NodeIdSet(nodeIds.begin(), nodeIds.end()), applyMask); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:296:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | QString SelectionManager::numNodesSelectedAsString() const | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:306:20: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | return QString(tr("Selected %1")).arg(nodeName); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.cpp:312:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 25 | return QString(tr("%1 Nodes Selected")).arg(selectionSize); | ^ /home/runner/work/graphia/graphia/source/app/ui/selectionmanager.h:83:34: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 83 | bool callFnAndMaybeEmit(Fn&& fn) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 20453 warnings generated. [180/195] /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:21:1: warning: included header utils.h is not used directly [misc-include-cleaner] 21 | #include "shared/utils/utils.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | #include "shared/utils/string.h" /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:27:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:30:1: warning: included header iterator is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:36:46: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:37:5: warning: no header providing "QCustomPlotQuickItem" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:38:19: warning: no header providing "QCPColorMap" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:39:21: warning: no header providing "QCPColorScale" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), 39 | _colorScale(new QCPColorScale(&customPlot())), | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:40:21: warning: no header providing "QCPItemText" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), 39 | _colorScale(new QCPColorScale(&customPlot())), 40 | _hoverLabel(new QCPItemText(&customPlot())) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:42:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), 39 | _colorScale(new QCPColorScale(&customPlot())), 40 | _hoverLabel(new QCPItemText(&customPlot())) 41 | { 42 | customPlot().addLayer(u"textLayer"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:43:52: warning: no header providing "QCP::MarginSide" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), 39 | _colorScale(new QCPColorScale(&customPlot())), 40 | _hoverLabel(new QCPItemText(&customPlot())) 41 | { 42 | customPlot().addLayer(u"textLayer"_s); 43 | customPlot().plotLayout()->setAutoMargins(QCP::MarginSide::msTop | QCP::MarginSide::msLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:43:64: warning: no header providing "QCP::msTop" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), 39 | _colorScale(new QCPColorScale(&customPlot())), 40 | _hoverLabel(new QCPItemText(&customPlot())) 41 | { 42 | customPlot().addLayer(u"textLayer"_s); 43 | customPlot().plotLayout()->setAutoMargins(QCP::MarginSide::msTop | QCP::MarginSide::msLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:43:77: warning: no header providing "QCP::MarginSide" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), 39 | _colorScale(new QCPColorScale(&customPlot())), 40 | _hoverLabel(new QCPItemText(&customPlot())) 41 | { 42 | customPlot().addLayer(u"textLayer"_s); 43 | customPlot().plotLayout()->setAutoMargins(QCP::MarginSide::msTop | QCP::MarginSide::msLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:43:89: warning: no header providing "QCP::msLeft" is directly included [misc-include-cleaner] 29 | #include 30 | #include 31 | 32 | using namespace Qt::Literals::StringLiterals; 33 | 34 | static const double HEATMAP_OFFSET = 0.5; 35 | 36 | EnrichmentHeatmapItem::EnrichmentHeatmapItem(QQuickItem* parent) : 37 | QCustomPlotQuickItem(multisamples(), parent), 38 | _colorMap(new QCPColorMap(customPlot().xAxis, customPlot().yAxis2)), 39 | _colorScale(new QCPColorScale(&customPlot())), 40 | _hoverLabel(new QCPItemText(&customPlot())) 41 | { 42 | customPlot().addLayer(u"textLayer"_s); 43 | customPlot().plotLayout()->setAutoMargins(QCP::MarginSide::msTop | QCP::MarginSide::msLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:46:26: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 29 | _colorScale->setType(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:48:36: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 29 | _colorScale->setMinimumMargins(QMargins(6, 0, 6, 0)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:51:26: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | axis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:53:37: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _colorScale->axis()->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:54:40: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _colorScale->axis()->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:58:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | _textLayer = customPlot().layer(u"textLayer"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:59:25: warning: no header providing "QCPLayer" is directly included [misc-include-cleaner] 29 | _textLayer->setMode(QCPLayer::LayerMode::lmBuffered); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:64:29: warning: no header providing "QSharedPointer" is directly included [misc-include-cleaner] 29 | auto colorScaleTicker = QSharedPointer::create(); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:64:44: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 29 | auto colorScaleTicker = QSharedPointer::create(); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:67:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | colorScaleTicker->addTick(0, u"0"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:68:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | colorScaleTicker->addTick(0.01, u"0.01"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:69:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | colorScaleTicker->addTick(0.02, u"0.02"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:70:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | colorScaleTicker->addTick(0.03, u"0.03"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:71:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | colorScaleTicker->addTick(0.04, u"0.04"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:72:44: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | colorScaleTicker->addTick(0.05, u"0.05"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:74:5: warning: no header providing "QCPColorGradient" is directly included [misc-include-cleaner] 29 | QCPColorGradient gradient; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:75:31: warning: no header providing "QColor" is directly included [misc-include-cleaner] 29 | auto insignificantColor = QColor(Qt::gray); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:75:42: warning: no header providing "Qt::gray" is directly included [misc-include-cleaner] 29 | auto insignificantColor = QColor(Qt::gray); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:76:33: warning: no header providing "QColor" is directly included [misc-include-cleaner] 29 | auto verySignificantColor = QColor(Qt::yellow); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:76:44: warning: no header providing "Qt::yellow" is directly included [misc-include-cleaner] 29 | auto verySignificantColor = QColor(Qt::yellow); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:77:29: warning: no header providing "QColor" is directly included [misc-include-cleaner] 29 | auto significantColor = QColor(Qt::red); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:77:40: warning: no header providing "Qt::red" is directly included [misc-include-cleaner] 29 | auto significantColor = QColor(Qt::red); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:88:5: warning: no header providing "QFont" is directly included [misc-include-cleaner] 29 | QFont defaultFont10Pt; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:93:43: warning: no header providing "Qt::AlignVCenter" is directly included [misc-include-cleaner] 29 | _hoverLabel->setPositionAlignment(Qt::AlignVCenter|Qt::AlignLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:93:60: warning: no header providing "Qt::AlignLeft" is directly included [misc-include-cleaner] 29 | _hoverLabel->setPositionAlignment(Qt::AlignVCenter|Qt::AlignLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:96:25: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | _hoverLabel->setPen(QPen(Qt::black)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:96:34: warning: no header providing "Qt::black" is directly included [misc-include-cleaner] 29 | _hoverLabel->setPen(QPen(Qt::black)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:97:27: warning: no header providing "QBrush" is directly included [misc-include-cleaner] 29 | _hoverLabel->setBrush(QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:97:38: warning: no header providing "Qt::white" is directly included [misc-include-cleaner] 29 | _hoverLabel->setBrush(QBrush(Qt::white)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:98:29: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 29 | _hoverLabel->setPadding(QMargins(3, 3, 3, 3)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:103:69: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 29 | connect(this, &EnrichmentHeatmapItem::tableModelChanged, this, &QQuickPaintedItem::widthChanged); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:104:69: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 29 | connect(this, &EnrichmentHeatmapItem::tableModelChanged, this, &QQuickPaintedItem::heightChanged); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:106:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 29 | connect(this, &QQuickPaintedItem::widthChanged, this, &EnrichmentHeatmapItem::horizontalRangeSizeChanged); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:107:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 29 | connect(this, &QQuickPaintedItem::heightChanged, this, &EnrichmentHeatmapItem::verticalRangeSizeChanged); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:108:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 29 | connect(this, &QQuickPaintedItem::widthChanged, this, &EnrichmentHeatmapItem::scaleXAxis); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:109:20: warning: no header providing "QQuickPaintedItem" is directly included [misc-include-cleaner] 29 | connect(this, &QQuickPaintedItem::heightChanged, this, &EnrichmentHeatmapItem::scaleYAxis); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:112:45: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::mousePressEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:115:31: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 29 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:115:44: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 29 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:117:45: warning: no header providing "std::round" is directly included [misc-include-cleaner] 29 | auto xCoord = static_cast(std::round(customPlot().xAxis->pixelToCoord(event->pos().x()))); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:118:45: warning: no header providing "std::round" is directly included [misc-include-cleaner] 29 | auto yCoord = static_cast(std::round(customPlot().yAxis2->pixelToCoord(event->pos().y()))); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:119:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit plotValueClicked(_tableModel->rowFromAttributeSets(_xAxisToFullLabel[xCoord], _yAxisToFullLabel[yCoord])); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:123:47: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::mouseReleaseEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:127:31: warning: no header providing "Qt::RightButton" is directly included [misc-include-cleaner] 29 | if(event->button() == Qt::RightButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:128:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit rightClick(); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:131:44: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::mouseMoveEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:136:44: warning: no header providing "QHoverEvent" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::hoverMoveEvent(QHoverEvent *event) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:151:45: warning: no header providing "QHoverEvent" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::hoverLeaveEvent(QHoverEvent *event) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:154:5: warning: no header providing "Q_UNUSED" is directly included [misc-include-cleaner] 29 | Q_UNUSED(event); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:162:11: warning: no header providing "QSharedPointer" is directly included [misc-include-cleaner] 29 | const QSharedPointer xCategoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:162:26: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 29 | const QSharedPointer xCategoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:162:65: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 29 | const QSharedPointer xCategoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:163:11: warning: no header providing "QSharedPointer" is directly included [misc-include-cleaner] 29 | const QSharedPointer yCategoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:163:26: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 29 | const QSharedPointer yCategoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:163:65: warning: no header providing "QCPAxisTickerText" is directly included [misc-include-cleaner] 29 | const QSharedPointer yCategoryTicker(new QCPAxisTickerText); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:168:36: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | customPlot().xAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:169:36: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | customPlot().xAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:170:39: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | customPlot().xAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:176:37: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | customPlot().yAxis2->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:177:37: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | customPlot().yAxis2->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:178:40: warning: no header providing "QPen" is directly included [misc-include-cleaner] 29 | customPlot().yAxis2->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:181:43: warning: no header providing "QMargins" is directly included [misc-include-cleaner] 29 | customPlot().plotLayout()->setMargins(QMargins(0, 0, 0, 0)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:195:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::set attributeValueSetA; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:196:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::set attributeValueSetB; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:197:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 29 | std::map fullLabelToXAxis; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:197:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::map fullLabelToXAxis; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:198:10: warning: no header providing "std::map" is directly included [misc-include-cleaner] 29 | std::map fullLabelToYAxis; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:198:14: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::map fullLabelToYAxis; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:206:56: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 21 | attributeValueSetA.insert(_tableModel->data(i, EnrichmentTableModel::Results::SelectionA).toString()); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:207:56: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 21 | attributeValueSetB.insert(_tableModel->data(i, EnrichmentTableModel::Results::SelectionB).toString()); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:211:5: warning: no header providing "QCollator" is directly included [misc-include-cleaner] 29 | QCollator collator; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:213:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector sortAttributeValueSetA(attributeValueSetA.begin(), attributeValueSetA.end()); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:213:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::vector sortAttributeValueSetA(attributeValueSetA.begin(), attributeValueSetA.end()); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:214:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 31 | std::vector sortAttributeValueSetB(attributeValueSetB.begin(), attributeValueSetB.end()); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:214:17: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | std::vector sortAttributeValueSetB(attributeValueSetB.begin(), attributeValueSetB.end()); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:215:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 29 | std::sort(sortAttributeValueSetA.begin(), sortAttributeValueSetA.end(), collator); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:216:10: warning: no header providing "std::sort" is directly included [misc-include-cleaner] 29 | std::sort(sortAttributeValueSetB.rbegin(), sortAttributeValueSetB.rend(), collator); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:218:11: warning: no header providing "QFontMetrics" is directly included [misc-include-cleaner] 29 | const QFontMetrics metrics(_defaultFont9Pt); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:226:82: warning: no header providing "Qt::ElideRight" is directly included [misc-include-cleaner] 29 | xCategoryTicker->addTick(column++, metrics.elidedText(labelName, Qt::ElideRight, _elideLabelWidth)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:236:82: warning: no header providing "Qt::ElideRight" is directly included [misc-include-cleaner] 29 | yCategoryTicker->addTick(column++, metrics.elidedText(labelName, Qt::ElideRight, _elideLabelWidth)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:246:9: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 29 | QCPRange(-1.0, static_cast(attributeValueSetA.size())), | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:247:9: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 29 | QCPRange(-1.0, static_cast(attributeValueSetB.size()))); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:256:61: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 21 | auto xValue = fullLabelToXAxis[_tableModel->data(i, EnrichmentTableModel::Results::SelectionA).toString()]; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:257:61: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 21 | auto yValue = fullLabelToYAxis[_tableModel->data(i, EnrichmentTableModel::Results::SelectionB).toString()]; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:259:44: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 21 | auto pValue = _tableModel->data(i, EnrichmentTableModel::Results::BonferroniAdjusted).toDouble(); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:261:52: warning: no header providing "std::make_pair" is directly included [misc-include-cleaner] 31 | _colorMapKeyValueToTableIndex.emplace(std::make_pair(xValue, yValue), i); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:265:49: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 21 | auto overRep = _tableModel->data(i, EnrichmentTableModel::Results::OverRep).toDouble(); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:289:31: warning: no header providing "QCPRange" is directly included [misc-include-cleaner] 29 | _colorScale->setDataRange(QCPRange(0, 0.06)); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:291:25: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 29 | customPlot().replot(QCustomPlot::rpQueuedReplot); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:350:49: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::setXAxisLabel(const QString& xAxisLabel) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:359:49: warning: no header providing "QString" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::setYAxisLabel(const QString& yAxisLabel) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:374:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 29 | emit showOnlyEnrichedChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:395:11: warning: no header providing "QFontMetrics" is directly included [misc-include-cleaner] 29 | const QFontMetrics metrics(_defaultFont9Pt); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:415:16: warning: no header providing "std::pair" is directly included [misc-include-cleaner] 31 | const std::pair colorMapIndexPair = {std::round(key), std::round(value)}; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:415:57: warning: no header providing "std::round" is directly included [misc-include-cleaner] 29 | const std::pair colorMapIndexPair = {std::round(key), std::round(value)}; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:415:74: warning: no header providing "std::round" is directly included [misc-include-cleaner] 29 | const std::pair colorMapIndexPair = {std::round(key), std::round(value)}; | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:428:9: warning: no header providing "EnrichmentTableModel" is directly included [misc-include-cleaner] 21 | EnrichmentTableModel::Results::BonferroniAdjusted).toDouble(); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:441:5: warning: no header providing "QPointF" is directly included [misc-include-cleaner] 29 | QPointF targetPosition(_hoverPoint.x() + HOVER_MARGIN, | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:462:49: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::savePlotImage(const QUrl& url, const QStringList& extensions) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:462:66: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 29 | void EnrichmentHeatmapItem::savePlotImage(const QUrl& url, const QStringList& extensions) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:464:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | if(extensions.contains(u"png"_s)) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:466:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | else if(extensions.contains(u"pdf"_s)) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:468:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | else if(extensions.contains(u"jpg"_s)) | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:471:5: warning: no header providing "QDesktopServices" is directly included [misc-include-cleaner] 29 | QDesktopServices::openUrl(url); | ^ /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.cpp:482:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 29 | qmlRegisterType( | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 30138 warnings generated. [181/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:23:1: warning: included header QObject is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:27:53: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 22 | 23 | #include 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | void ColorVisualisationChannel::apply(double value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:32:61: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 22 | 23 | #include 24 | 25 | using namespace Qt::Literals::StringLiterals; 26 | 27 | void ColorVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 28 | { 29 | elementVisual._outerColor = _colorGradient.get(value); 30 | } 31 | 32 | void ColorVisualisationChannel::apply(const QString& value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:40:48: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 22 | QString ColorVisualisationChannel::description(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:40:73: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | QString ColorVisualisationChannel::description(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:42:30: warning: no header providing "elementTypeAsString" is directly included [misc-include-cleaner] 22 | auto elementTypeString = elementTypeAsString(elementType).toLower(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:46:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:46:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 22 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:47:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:47:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 22 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:48:24: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | return QString(QObject::tr("The attribute will be visualised by " | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:52:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:52:21: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 22 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:53:24: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | return QString(QObject::tr("This visualisation will be applied by " | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:66:5: warning: no header providing "VisualisationChannel" is directly included [misc-include-cleaner] 22 | VisualisationChannel::reset(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:72:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 24 | QVariantMap ColorVisualisationChannel::defaultParameters(ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:72:58: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | QVariantMap ColorVisualisationChannel::defaultParameters(ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:74:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 24 | QVariantMap parameters; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:78:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:78:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 22 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:79:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:79:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 22 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:80:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | parameters.insert(u"gradient"_s, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:81:47: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | u::pref(u"visuals/defaultGradient"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:84:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 22 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:84:21: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 22 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:85:37: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | parameters.insert(u"palette"_s, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:86:46: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | u::pref(u"visuals/defaultPalette"_s).toString()); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:98:27: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | if(name == u"gradient"_s) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:99:26: warning: no header providing "ColorGradient" is directly included [misc-include-cleaner] 22 | _colorGradient = ColorGradient(value); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:100:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 24 | else if(name == u"palette"_s) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/colorvisualisationchannel.cpp:101:25: warning: no header providing "ColorPalette" is directly included [misc-include-cleaner] 22 | _colorPalette = ColorPalette(value); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v 11498 warnings generated. [182/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:21:1: warning: included header QObject is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:23:52: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void SizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:28:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | void SizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._size = static_cast(value); 26 | } 27 | 28 | QString SizeVisualisationChannel::description(ElementType elementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:28:47: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void SizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._size = static_cast(value); 26 | } 27 | 28 | QString SizeVisualisationChannel::description(ElementType elementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:28:72: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void SizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._size = static_cast(value); 26 | } 27 | 28 | QString SizeVisualisationChannel::description(ElementType elementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:30:30: warning: no header providing "elementTypeAsString" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void SizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._size = static_cast(value); 26 | } 27 | 28 | QString SizeVisualisationChannel::description(ElementType elementType, ValueType) const 29 | { 30 | auto elementTypeString = elementTypeAsString(elementType).toLower(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:31:12: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | void SizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._size = static_cast(value); 26 | } 27 | 28 | QString SizeVisualisationChannel::description(ElementType elementType, ValueType) const 29 | { 30 | auto elementTypeString = elementTypeAsString(elementType).toLower(); 31 | return QString(QObject::tr("The attribute will be visualised by " | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sizevisualisationchannel.cpp:31:20: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | 23 | void SizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._size = static_cast(value); 26 | } 27 | 28 | QString SizeVisualisationChannel::description(ElementType elementType, ValueType) const 29 | { 30 | auto elementTypeString = elementTypeAsString(elementType).toLower(); 31 | return QString(QObject::tr("The attribute will be visualised by " | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v 11304 warnings generated. [183/195] /home/runner/work/graphia/graphia/source/app/graph/elementiddistinctsetcollection.h:321:78: warning: use c++14 style type templates [modernize-type-traits] 321 | static_assert(std::is_same_v, typename std::remove_const::type>, | ~~~~~~~~ ^ ~~~~~~ | _t /home/runner/work/graphia/graphia/source/app/graph/graph.h:78:27: warning: rvalue reference parameter 'other' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 78 | explicit Edge(IEdge&& other) noexcept : | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:32:1: warning: included header QObject is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~~ 33 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:34:63: warning: no header providing "QString" is directly included [misc-include-cleaner] 33 | 34 | TextVisuals SharedTextVisualisationChannel::textVisuals(const QString& attributeName, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:37:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | 34 | TextVisuals SharedTextVisualisationChannel::textVisuals(const QString& attributeName, 35 | const GraphModel& graphModel, const TransformedGraph& graph) 36 | { 37 | Q_ASSERT(graphModel.attributeExists(attributeName)); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:48:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | 34 | TextVisuals SharedTextVisualisationChannel::textVisuals(const QString& attributeName, 35 | const GraphModel& graphModel, const TransformedGraph& graph) 36 | { 37 | Q_ASSERT(graphModel.attributeExists(attributeName)); 38 | if(!graphModel.attributeExists(attributeName)) 39 | return {}; 40 | 41 | TextVisuals textVisuals; 42 | 43 | const auto* attribute = graphModel.attributeByName(attributeName); 44 | auto contractedGraph = graph.mutableGraph(); 45 | 46 | GraphTransformConfig::TerminalCondition condition 47 | { 48 | u"$source.%1"_s.arg(attributeName), //FIXME needs parsed name? | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:49:24: warning: no header providing "ConditionFnOp::Equality" is directly included [misc-include-cleaner] 21 | ConditionFnOp::Equality::Equal, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:49:34: warning: no header providing "ConditionFnOp::Equality::Equal" is directly included [misc-include-cleaner] 21 | ConditionFnOp::Equality::Equal, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:50:22: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | u"$target.%1"_s.arg(attributeName), | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:54:5: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 33 | Q_ASSERT(conditionFn != nullptr); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:75:14: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | case MultiElementType::Not: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:75:32: warning: no header providing "MultiElementType::Not" is directly included [misc-include-cleaner] 21 | case MultiElementType::Not: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:79:14: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | case MultiElementType::Head: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:79:32: warning: no header providing "MultiElementType::Head" is directly included [misc-include-cleaner] 21 | case MultiElementType::Head: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:83:53: warning: no header providing "size_t" is directly included [misc-include-cleaner] 33 | textVisual._nodeIds.reserve(static_cast(mergedNodeIds.size())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:90:14: warning: no header providing "MultiElementType" is directly included [misc-include-cleaner] 21 | case MultiElementType::Tail: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:90:32: warning: no header providing "MultiElementType::Tail" is directly included [misc-include-cleaner] 21 | case MultiElementType::Tail: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:101:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 33 | QString SharedTextVisualisationChannel::description(ElementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:101:53: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 27 | QString SharedTextVisualisationChannel::description(ElementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:101:66: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 21 | QString SharedTextVisualisationChannel::description(ElementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/sharedtextvisualisationchannel.cpp:103:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | return QObject::tr("Groups of nodes that share an attribute value will be labelled as such."); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/graph/igraphmodel.h:79:54: warning: forwarding reference parameter 'predicate' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 79 | std::vector attributeNamesMatching(Fn&& predicate) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/imutablegraph.h:118:34: warning: forwarding reference parameter 'transaction' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 118 | void performTransaction(Fn&& transaction) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 26552 warnings generated. [184/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisual.cpp:27:10: warning: no header providing "std::vector" is directly included [misc-include-cleaner] 23 | 24 | void TextVisual::updatePositions(const NodePositions& nodePositions) 25 | { 26 | // This must be called when the layout is paused or otherwise locked 27 | std::vector points; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisual.cpp:27:17: warning: no header providing "QVector3D" is directly included [misc-include-cleaner] 23 | 24 | void TextVisual::updatePositions(const NodePositions& nodePositions) 25 | { 26 | // This must be called when the layout is paused or otherwise locked 27 | std::vector points; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisual.cpp:30:15: warning: no header providing "NodeId" is directly included [misc-include-cleaner] 23 | 24 | void TextVisual::updatePositions(const NodePositions& nodePositions) 25 | { 26 | // This must be called when the layout is paused or otherwise locked 27 | std::vector points; 28 | points.reserve(_nodeIds.size()); 29 | 30 | for(const NodeId nodeId : _nodeIds) | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/circularbuffer.h:36:25: warning: use c++17 style variable templates [modernize-type-traits] 36 | enum { value = !std::is_same() * std::declval()), NotFound>::value }; | ^ ~~~~~~~ | _v 8298 warnings generated. [185/195] /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5154:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5154 | typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5170:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5170 | typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5375:56: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5375 | typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/Qt/6.6.0/gcc_64/include/QtGui/qopenglext.h:5377:54: warning: 'l' is confusable with 'I' [misc-confusable-identifiers] 5377 | typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:41:23: note: other declaration found here 41 | template using EnableIfConvertibleToInt = typename std::enable_if_t< | ^ /home/runner/work/graphia/graphia/source/app/rendering/doublebufferedtexture.h:48:12: warning: swap functions should be marked noexcept [cppcoreguidelines-noexcept-swap,performance-noexcept-swap] 48 | GLuint swap(); | ^ | noexcept /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:28:1: warning: included header QObject is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~~~ 29 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:32:52: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 20 | #include "visualisationinfo.h" 21 | 22 | #include "shared/utils/string.h" 23 | 24 | #include "rendering/graphrenderer.h" 25 | 26 | #include "app/preferences.h" 27 | 28 | #include 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | void TextVisualisationChannel::apply(double value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:37:60: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 20 | void TextVisualisationChannel::apply(const QString& value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:42:43: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | void TextVisualisationChannel::findErrors(ElementType elementType, VisualisationInfo& info) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:44:23: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | if(elementType == ElementType::Edge && u::pref(u"visuals/showEdgeText"_s).toInt() == static_cast(TextState::Off)) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:44:36: warning: no header providing "ElementType_reflector::Enum::Edge" is directly included [misc-include-cleaner] 20 | if(elementType == ElementType::Edge && u::pref(u"visuals/showEdgeText"_s).toInt() == static_cast(TextState::Off)) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:44:75: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 29 | 30 | using namespace Qt::Literals::StringLiterals; 31 | 32 | void TextVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 33 | { 34 | elementVisual._text = u::formatNumberScientific(value); 35 | } 36 | 37 | void TextVisualisationChannel::apply(const QString& value, ElementVisual& elementVisual) const 38 | { 39 | elementVisual._text = value; 40 | } 41 | 42 | void TextVisualisationChannel::findErrors(ElementType elementType, VisualisationInfo& info) const 43 | { 44 | if(elementType == ElementType::Edge && u::pref(u"visuals/showEdgeText"_s).toInt() == static_cast(TextState::Off)) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:45:23: warning: no header providing "AlertType" is directly included [misc-include-cleaner] 20 | info.addAlert(AlertType::Warning, QObject::tr("Edge Text Disabled")); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:45:34: warning: no header providing "AlertType_reflector::Enum::Warning" is directly included [misc-include-cleaner] 20 | info.addAlert(AlertType::Warning, QObject::tr("Edge Text Disabled")); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:45:43: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | info.addAlert(AlertType::Warning, QObject::tr("Edge Text Disabled")); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:48:47: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | QString TextVisualisationChannel::description(ElementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:48:60: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | QString TextVisualisationChannel::description(ElementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textvisualisationchannel.cpp:50:12: warning: no header providing "QObject" is directly included [misc-include-cleaner] 29 | return QObject::tr("The attribute will be visualised as text."); | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/grapharray.h:189:31: warning: forwarding reference parameter 'generator' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 189 | void generate(Generator&& generator) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 22926 warnings generated. [186/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:21:1: warning: included header QObject is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:25:57: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | using namespace Qt::Literals::StringLiterals; 24 | 25 | void TextColorVisualisationChannel::apply(double value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:30:49: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | using namespace Qt::Literals::StringLiterals; 24 | 25 | void TextColorVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 26 | { 27 | elementVisual._textColor = _colorGradient.get(value); 28 | } 29 | 30 | void TextColorVisualisationChannel::apply(const QString& value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:30:65: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | using namespace Qt::Literals::StringLiterals; 24 | 25 | void TextColorVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 26 | { 27 | elementVisual._textColor = _colorGradient.get(value); 28 | } 29 | 30 | void TextColorVisualisationChannel::apply(const QString& value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:38:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | QString TextColorVisualisationChannel::description(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:38:52: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | QString TextColorVisualisationChannel::description(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:38:77: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | QString TextColorVisualisationChannel::description(ElementType elementType, ValueType valueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:40:30: warning: no header providing "elementTypeAsString" is directly included [misc-include-cleaner] 20 | auto elementTypeString = elementTypeAsString(elementType).toLower(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:44:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:44:21: warning: no header providing "ValueType_reflector::Enum::Int" is directly included [misc-include-cleaner] 20 | case ValueType::Int: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:45:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:45:21: warning: no header providing "ValueType_reflector::Enum::Float" is directly included [misc-include-cleaner] 20 | case ValueType::Float: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:46:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | return QString(QObject::tr("The attribute will be visualised by " | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:46:24: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return QString(QObject::tr("The attribute will be visualised by " | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:50:10: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:50:21: warning: no header providing "ValueType_reflector::Enum::String" is directly included [misc-include-cleaner] 20 | case ValueType::String: | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:51:16: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | return QString(QObject::tr("This visualisation will be applied by " | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textcolorvisualisationchannel.cpp:51:24: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | return QString(QObject::tr("This visualisation will be applied by " | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v 11351 warnings generated. [187/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:21:1: warning: included header QObject is not used directly [misc-include-cleaner] 21 | #include | ^~~~~~~~~~~~~~~~~~ 22 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:23:56: warning: no header providing "ElementVisual" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void TextSizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:28:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | void TextSizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._textSize = static_cast(value); 26 | } 27 | 28 | QString TextSizeVisualisationChannel::description(ElementType elementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:28:51: warning: no header providing "ElementType" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void TextSizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._textSize = static_cast(value); 26 | } 27 | 28 | QString TextSizeVisualisationChannel::description(ElementType elementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:28:76: warning: no header providing "ValueType" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void TextSizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._textSize = static_cast(value); 26 | } 27 | 28 | QString TextSizeVisualisationChannel::description(ElementType elementType, ValueType) const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:30:30: warning: no header providing "elementTypeAsString" is directly included [misc-include-cleaner] 20 | 21 | #include 22 | 23 | void TextSizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._textSize = static_cast(value); 26 | } 27 | 28 | QString TextSizeVisualisationChannel::description(ElementType elementType, ValueType) const 29 | { 30 | auto elementTypeString = elementTypeAsString(elementType).toLower(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:31:12: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | void TextSizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._textSize = static_cast(value); 26 | } 27 | 28 | QString TextSizeVisualisationChannel::description(ElementType elementType, ValueType) const 29 | { 30 | auto elementTypeString = elementTypeAsString(elementType).toLower(); 31 | return QString(QObject::tr("The attribute will be visualised by " | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/textsizevisualisationchannel.cpp:31:20: warning: no header providing "QObject" is directly included [misc-include-cleaner] 22 | 23 | void TextSizeVisualisationChannel::apply(double value, ElementVisual& elementVisual) const 24 | { 25 | elementVisual._textSize = static_cast(value); 26 | } 27 | 28 | QString TextSizeVisualisationChannel::description(ElementType elementType, ValueType) const 29 | { 30 | auto elementTypeString = elementTypeAsString(elementType).toLower(); 31 | return QString(QObject::tr("The attribute will be visualised by " | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v 11304 warnings generated. [188/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationchannel.cpp:29:43: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | void VisualisationChannel::reset() 24 | { 25 | _values.clear(); 26 | _valueIndexMap.clear(); 27 | } 28 | 29 | void VisualisationChannel::addValue(const QString& value) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationchannel.cpp:35:41: warning: no header providing "QString" is directly included [misc-include-cleaner] 22 | 23 | void VisualisationChannel::reset() 24 | { 25 | _values.clear(); 26 | _valueIndexMap.clear(); 27 | } 28 | 29 | void VisualisationChannel::addValue(const QString& value) 30 | { 31 | _values.emplace_back(value); 32 | _valueIndexMap[value] = _values.size() - 1; 33 | } 34 | 35 | int VisualisationChannel::indexOf(const QString& value) const | ^ /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:9: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/graph/elementid.h:42:39: warning: use c++17 style variable templates [modernize-type-traits] 42 | std::is_integral::value && std::is_convertible::value>; | ^ ~~~~~~~ | _v /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 11366 warnings generated. [189/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:23:1: warning: included header QObject is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~ 24 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:56:17: warning: no header providing "std::visit" is directly included [misc-include-cleaner] 24 | return std::visit(Visitor(addQuotes), _value); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:59:1: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 24 | QVariantMap VisualisationConfig::asVariantMap() const | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:61:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 24 | QVariantMap map; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:63:5: warning: no header providing "QVariantList" is directly included [misc-include-cleaner] 24 | QVariantList flags; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:72:5: warning: no header providing "QVariantMap" is directly included [misc-include-cleaner] 24 | QVariantMap parameters; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:97:44: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | auto assignmentTemplate = forDisplay ? QObject::tr("%1 using %2") : u"\"%1\" \"%2\""_s; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:116:32: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | flagsString += QObject::tr(", "); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:118:18: warning: no header providing "std::map" is directly included [misc-include-cleaner] 24 | std::map replacements = | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:120:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | {"assignByQuantity", QObject::tr("Assigned By Quantity")}, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:121:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | {"component", QObject::tr("Applied Per Component")}, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:122:41: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | {"invert", QObject::tr("Inverted")} | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfig.cpp:129:14: warning: no header providing "QObject" is directly included [misc-include-cleaner] 24 | s += QObject::tr(" (%1)").arg(flagsString); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 10461 warnings generated. [190/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:23:1: warning: included header x3.hpp is not used directly [misc-include-cleaner] 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | #include /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:24:1: warning: included header adapt_struct.hpp is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | #include /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:27:1: warning: included header QDebug is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~ 28 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:29:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 20 | 21 | #define BOOST_SPIRIT_X3_UNICODE 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | #include 28 | 29 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:30:5: warning: no header providing "VisualisationConfig" is directly included [misc-include-cleaner] 20 | 21 | #define BOOST_SPIRIT_X3_UNICODE 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | #include 28 | 29 | BOOST_FUSION_ADAPT_STRUCT( 30 | VisualisationConfig::Parameter, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:35:1: warning: no header providing "BOOST_FUSION_ADAPT_STRUCT" is directly included [misc-include-cleaner] 20 | 21 | #define BOOST_SPIRIT_X3_UNICODE 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | #include 28 | 29 | BOOST_FUSION_ADAPT_STRUCT( 30 | VisualisationConfig::Parameter, 31 | _name, 32 | _value 33 | ) 34 | 35 | BOOST_FUSION_ADAPT_STRUCT( | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:36:5: warning: no header providing "VisualisationConfig" is directly included [misc-include-cleaner] 20 | VisualisationConfig, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:48:11: warning: no header providing "boost::spirit::x3::standard::lit" is directly included [misc-include-cleaner] 20 | using x3::lit; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:50:5: warning: no header providing "boost::spirit::x3::real_parser" is directly included [misc-include-cleaner] 20 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:50:29: warning: no header providing "boost::spirit::x3::strict_real_policies" is directly included [misc-include-cleaner] 20 | x3::real_parser> const double_ = {}; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:51:11: warning: no header providing "boost::spirit::x3::lexeme" is directly included [misc-include-cleaner] 20 | using x3::lexeme; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:52:16: warning: no header providing "boost::spirit::x3::unicode::char_" is directly included [misc-include-cleaner] 20 | using unicode::char_; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:74:11: warning: no header providing "boost::spirit::x3::rule" is directly included [misc-include-cleaner] 20 | const x3::rule visualisation = "visualisation"; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:74:37: warning: no header providing "VisualisationConfig" is directly included [misc-include-cleaner] 20 | const x3::rule visualisation = "visualisation"; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:81:1: warning: no header providing "BOOST_SPIRIT_DEFINE" is directly included [misc-include-cleaner] 20 | BOOST_SPIRIT_DEFINE(quotedString, identifier, attributeParameter, attributeName, visualisation, parameter) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:84:45: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | bool VisualisationConfigParser::parse(const QString& text, bool warnOnFailure) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:89:47: warning: no header providing "boost::spirit::x3::phrase_parse" is directly included [misc-include-cleaner] 20 | _success = SpiritVisualisationParser::x3::phrase_parse(begin, end, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:91:57: warning: no header providing "boost::spirit::x3::unicode::space" is directly included [misc-include-cleaner] 20 | SpiritVisualisationParser::unicode::space, _result); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:96:24: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | _failedInput = QString::fromStdString(std::string(begin, end)); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:96:52: warning: no header providing "std::string" is directly included [misc-include-cleaner] 20 | _failedInput = QString::fromStdString(std::string(begin, end)); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:99:13: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 20 | qWarning() << "Failed to parse" << _failedInput; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:105:1: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString VisualisationConfigParser::parseForDisplay(const QString& text) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationconfigparser.cpp:105:58: warning: no header providing "QString" is directly included [misc-include-cleaner] 20 | QString VisualisationConfigParser::parseForDisplay(const QString& text) | ^ 24828 warnings generated. [191/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmapping.cpp:30:1: warning: included header QDebug is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmapping.cpp:48:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "VisualisationMapping failed to parse" << descriptor; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmapping.cpp:54:9: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "VisualisationMapping is not an object" << descriptor; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmapping.cpp:70:13: warning: no header providing "qDebug" is directly included [misc-include-cleaner] 31 | qDebug() << "VisualisationMapping.type is not a string" << descriptor; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmapping.cpp:76:48: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 31 | if(typeString.compare(u"minmax"_s, Qt::CaseInsensitive) == 0) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmapping.cpp:81:53: warning: no header providing "Qt::CaseInsensitive" is directly included [misc-include-cleaner] 31 | else if(typeString.compare(u"stddev"_s, Qt::CaseInsensitive) == 0) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 17459 warnings generated. [192/195] /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:24:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 24 | #include | ^~~~~~~~~~~~~~~~~~~~~ 25 | /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:30:60: warning: no header providing "QQuickItem" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | VisualisationMappingPlotItem::VisualisationMappingPlotItem(QQuickItem* parent) : | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:31:5: warning: no header providing "QCustomPlotQuickItem" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | VisualisationMappingPlotItem::VisualisationMappingPlotItem(QQuickItem* parent) : 31 | QCustomPlotQuickItem(multisamples(), parent) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:38:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | VisualisationMappingPlotItem::VisualisationMappingPlotItem(QQuickItem* parent) : 31 | QCustomPlotQuickItem(multisamples(), parent) 32 | {} 33 | 34 | void VisualisationMappingPlotItem::setRangeToMinMax() 35 | { 36 | _min = _statistics._min; 37 | _max = _statistics._max; 38 | emit minimumChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:39:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | 28 | using namespace Qt::Literals::StringLiterals; 29 | 30 | VisualisationMappingPlotItem::VisualisationMappingPlotItem(QQuickItem* parent) : 31 | QCustomPlotQuickItem(multisamples(), parent) 32 | {} 33 | 34 | void VisualisationMappingPlotItem::setRangeToMinMax() 35 | { 36 | _min = _statistics._min; 37 | _max = _statistics._max; 38 | emit minimumChanged(); 39 | emit maximumChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:47:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit minimumChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:48:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit maximumChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:52:52: warning: no header providing "QVector" is directly included [misc-include-cleaner] 27 | void VisualisationMappingPlotItem::setValues(const QVector& values) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:55:22: warning: no header providing "u::findStatisticsFor" is directly included [misc-include-cleaner] 23 | _statistics = u::findStatisticsFor(_values); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:74:21: warning: no header providing "std::clamp" is directly included [misc-include-cleaner] 26 | _min = std::clamp(min, _statistics._min, _statistics._max); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:78:17: warning: no header providing "std::min" is directly included [misc-include-cleaner] 26 | _min = std::min(_min, _max); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:81:28: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 27 | _min = _max - std::numeric_limits::epsilon(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:83:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit minimumChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:90:21: warning: no header providing "std::clamp" is directly included [misc-include-cleaner] 26 | _max = std::clamp(max, _statistics._min, _statistics._max); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:94:17: warning: no header providing "std::max" is directly included [misc-include-cleaner] 26 | _max = std::max(_max, _min); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:97:28: warning: no header providing "std::numeric_limits" is directly included [misc-include-cleaner] 27 | _max = _min + std::numeric_limits::epsilon(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:99:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit maximumChanged(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:112:32: warning: no header providing "QCPLayoutGrid" is directly included [misc-include-cleaner] 27 | auto* mainAxisLayout = new QCPLayoutGrid; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:115:30: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 27 | auto* mainAxisRect = new QCPAxisRect(&customPlot()); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:117:42: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 27 | auto* mainXAxis = mainAxisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:118:42: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 27 | auto* mainYAxis = mainAxisRect->axis(QCPAxis::atLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:130:27: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | mainXAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:131:27: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | mainXAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:132:30: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | mainXAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:137:27: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | mainYAxis->setBasePen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:138:27: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | mainYAxis->setTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:139:30: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | mainYAxis->setSubTickPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:146:22: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 27 | auto* line = new QCPGraph(mainXAxis, mainYAxis); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:147:18: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | line->setPen(QPen(penColor())); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:149:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 27 | QVector x; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:150:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 27 | QVector y; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:166:22: warning: no header providing "std::clamp" is directly included [misc-include-cleaner] 26 | value = std::clamp(value, _statistics._min, _statistics._max); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:172:21: warning: no header providing "QPen" is directly included [misc-include-cleaner] 27 | auto limitPen = QPen(penColor(), 1.0, Qt::DashLine); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:172:47: warning: no header providing "Qt::DashLine" is directly included [misc-include-cleaner] 27 | auto limitPen = QPen(penColor(), 1.0, Qt::DashLine); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:174:28: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 27 | auto* upperLimit = new QCPGraph(mainXAxis, mainYAxis); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:178:28: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 27 | auto* lowerLimit = new QCPGraph(mainXAxis, mainYAxis); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:182:34: warning: no header providing "QCPLayoutGrid" is directly included [misc-include-cleaner] 27 | auto* valuesAxisLayout = new QCPLayoutGrid; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:185:32: warning: no header providing "QCPAxisRect" is directly included [misc-include-cleaner] 27 | auto* valuesAxisRect = new QCPAxisRect(&customPlot()); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:189:46: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 27 | auto* valuesXAxis = valuesAxisRect->axis(QCPAxis::atBottom); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:190:46: warning: no header providing "QCPAxis" is directly included [misc-include-cleaner] 27 | auto* valuesYAxis = valuesAxisRect->axis(QCPAxis::atLeft); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:197:24: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 27 | auto* points = new QCPGraph(valuesXAxis, valuesYAxis); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:199:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 27 | QVector px; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:200:5: warning: no header providing "QVector" is directly included [misc-include-cleaner] 27 | QVector py; | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:205:27: warning: no header providing "std::as_const" is directly included [misc-include-cleaner] 27 | for(auto value : std::as_const(_values)) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:211:23: warning: no header providing "QColor" is directly included [misc-include-cleaner] 27 | auto pointColor = QColor(0, 0, 255, 53); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:212:29: warning: no header providing "QCPScatterStyle" is directly included [misc-include-cleaner] 27 | points->setScatterStyle(QCPScatterStyle(QCPScatterStyle::ssCircle, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:212:45: warning: no header providing "QCPScatterStyle" is directly included [misc-include-cleaner] 27 | points->setScatterStyle(QCPScatterStyle(QCPScatterStyle::ssCircle, | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:214:26: warning: no header providing "QCPGraph" is directly included [misc-include-cleaner] 27 | points->setLineStyle(QCPGraph::lsNone); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:217:29: warning: no header providing "QCPMarginGroup" is directly included [misc-include-cleaner] 27 | auto* marginGroup = new QCPMarginGroup(&customPlot()); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:218:39: warning: no header providing "QCP::msBottom" is directly included [misc-include-cleaner] 27 | mainAxisRect->setMarginGroup(QCP::msBottom, marginGroup); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:219:41: warning: no header providing "QCP::msBottom" is directly included [misc-include-cleaner] 27 | valuesAxisRect->setMarginGroup(QCP::msBottom, marginGroup); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:223:31: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | axis->setLayer(u"axes"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:224:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 27 | axis->grid()->setLayer(u"grid"_s); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:227:25: warning: no header providing "QCustomPlot" is directly included [misc-include-cleaner] 27 | customPlot().replot(QCustomPlot::rpQueuedReplot); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:230:52: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 27 | void VisualisationMappingPlotItem::mousePressEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:233:31: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 27 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:233:44: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 27 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:242:54: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 27 | void VisualisationMappingPlotItem::mouseReleaseEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:245:31: warning: no header providing "Qt::MouseButton" is directly included [misc-include-cleaner] 27 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:245:44: warning: no header providing "Qt::LeftButton" is directly included [misc-include-cleaner] 27 | if(event->button() == Qt::MouseButton::LeftButton) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:249:51: warning: no header providing "QMouseEvent" is directly included [misc-include-cleaner] 27 | void VisualisationMappingPlotItem::mouseMoveEvent(QMouseEvent* event) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:260:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit manualChangeToMinMax(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:265:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit manualChangeToMinMax(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:273:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 27 | emit manualChangeToMinMax(); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:283:51: warning: no header providing "QHoverEvent" is directly included [misc-include-cleaner] 27 | void VisualisationMappingPlotItem::hoverMoveEvent(QHoverEvent* event) | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:288:23: warning: no header providing "Qt::SizeVerCursor" is directly included [misc-include-cleaner] 27 | setCursor(Qt::SizeVerCursor); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:290:23: warning: no header providing "Qt::SizeAllCursor" is directly included [misc-include-cleaner] 27 | setCursor(Qt::SizeAllCursor); | ^ /home/runner/work/graphia/graphia/source/app/ui/visualisations/visualisationmappingplotitem.cpp:297:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 27 | qmlRegisterType( | ^ /home/runner/work/graphia/graphia/source/shared/utils/statistics.h:57:10: warning: forwarding reference parameter 'fn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 57 | Fn&& fn, bool storeValues = false) | ^ 29594 warnings generated. [193/195] /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:25:1: warning: included header application.h is not used directly [misc-include-cleaner] 25 | #include "application.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 26 | /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:27:1: warning: included header QByteArray is not used directly [misc-include-cleaner] 27 | #include | ^~~~~~~~~~~~~~~~~~~~~ 28 | #include /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:28:1: warning: included header QFile is not used directly [misc-include-cleaner] 28 | #include | ^~~~~~~~~~~~~~~~ 29 | #include /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:29:1: warning: included header QRegularExpression is not used directly [misc-include-cleaner] 29 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | #include /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:30:1: warning: included header QQmlEngine is not used directly [misc-include-cleaner] 30 | #include | ^~~~~~~~~~~~~~~~~~~~~ 31 | /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:36:22: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | ChangeLog::ChangeLog(QObject *parent) : | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:37:5: warning: no header providing "QObject" is directly included [misc-include-cleaner] 33 | 34 | using namespace Qt::Literals::StringLiterals; 35 | 36 | ChangeLog::ChangeLog(QObject *parent) : 37 | QObject(parent) | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:60:25: warning: no header providing "QString" is directly included [misc-include-cleaner] 33 | auto fileName = QString::fromStdString(image["filename"]); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:61:37: warning: no header providing "QString" is directly included [misc-include-cleaner] 33 | auto base64EncodedContent = QString::fromStdString(image["content"]); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:62:24: warning: no header providing "QByteArray" is directly included [misc-include-cleaner] 33 | auto content = QByteArray::fromBase64(base64EncodedContent.toUtf8()); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:64:9: warning: no header providing "QFile" is directly included [misc-include-cleaner] 33 | QFile imageFile(u"%1/%2"_s.arg(_imagesDirectory.path(), fileName)); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:64:33: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | QFile imageFile(u"%1/%2"_s.arg(_imagesDirectory.path(), fileName)); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:65:28: warning: no header providing "QIODevice" is directly included [misc-include-cleaner] 33 | if(!imageFile.open(QIODevice::ReadWrite)) | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:71:13: warning: no header providing "QString" is directly included [misc-include-cleaner] 33 | _text = QString::fromStdString(changeLog["text"]); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:74:49: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | auto replacement = u"![\\1](file:///%1/\\2)"_s.arg(_imagesDirectory.path()); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:75:18: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 33 | static const QRegularExpression re(uR"((?:!\[(.*?)\]\(file:(.*?)\)))"_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:75:74: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 33 | static const QRegularExpression re(uR"((?:!\[(.*?)\]\(file:(.*?)\)))"_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:77:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit textChanged(); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:80:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 33 | emit availableChanged(); | ^ /home/runner/work/graphia/graphia/source/app/updates/changelog.cpp:85:5: warning: no header providing "qmlRegisterType" is directly included [misc-include-cleaner] 33 | qmlRegisterType(APP_URI, APP_MAJOR_VERSION, APP_MINOR_VERSION, "ChangeLog"); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ 19419 warnings generated. [194/195] /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:29:1: warning: included header string.h is not used directly [misc-include-cleaner] 29 | #include "shared/utils/string.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | #include "shared/utils/checksum.h" /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:33:1: warning: included header QStringList is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 34 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:34:1: warning: included header QProcess is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:36:1: warning: included header QDir is not used directly [misc-include-cleaner] 36 | #include | ^~~~~~~~~~~~~~~ 37 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:37:1: warning: included header QTimer is not used directly [misc-include-cleaner] 37 | #include | ^~~~~~~~~~~~~~~~~ 38 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:39:1: warning: included header QStandardPaths is not used directly [misc-include-cleaner] 39 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 40 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:40:1: warning: included header QFutureWatcher is not used directly [misc-include-cleaner] 40 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 41 | /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:42:1: warning: included header QUrl is not used directly [misc-include-cleaner] 42 | #include | ^~~~~~~~~~~~~~~ 43 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:43:1: warning: included header QNetworkReply is not used directly [misc-include-cleaner] 43 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ 44 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:44:1: warning: included header QNetworkRequest is not used directly [misc-include-cleaner] 44 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 45 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:45:1: warning: included header QHttpMultiPart is not used directly [misc-include-cleaner] 45 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ 46 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:46:1: warning: included header QHttpPart is not used directly [misc-include-cleaner] 46 | #include | ^~~~~~~~~~~~~~~~~~~~ 47 | /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:49:1: warning: included header vector is not used directly [misc-include-cleaner] 49 | #include | ^~~~~~~~~~~~~~~~~ 50 | #include /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:50:1: warning: included header utility is not used directly [misc-include-cleaner] 50 | #include | ^~~~~~~~~~~~~~~~~~ 51 | /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:66:28: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 49 | auto appDataLocation = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:66:61: warning: no header providing "QStandardPaths" is directly included [misc-include-cleaner] 49 | auto appDataLocation = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:71:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | return appDataLocation + u"/Updater"_s; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:77:5: warning: no header providing "QDir" is directly included [misc-include-cleaner] 49 | QDir dir(tempUpdaterPath()); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:81:39: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 49 | _networkManager.setRedirectPolicy(QNetworkRequest::NoLessSafeRedirectPolicy); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:83:32: warning: no header providing "QNetworkAccessManager" is directly included [misc-include-cleaner] 49 | connect(&_networkManager, &QNetworkAccessManager::finished, | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:86:30: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 49 | connect(&_timeoutTimer, &QTimer::timeout, this, &Updater::onTimeout); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:87:38: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 49 | connect(&_backgroundCheckTimer, &QTimer::timeout, | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:90:36: warning: no header providing "PreferencesWatcher" is directly included [misc-include-cleaner] 23 | connect(&_preferencesWatcher, &PreferencesWatcher::preferenceChanged, | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:94:61: warning: no header providing "QVariant" is directly included [misc-include-cleaner] 49 | void Updater::onPreferenceChanged(const QString& key, const QVariant&) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:96:48: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | if(key == u"misc/autoBackgroundUpdateCheck"_s) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:107:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | if(!u::pref(u"misc/autoBackgroundUpdateCheck"_s).toBool()) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:159:5: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 49 | QTimer::singleShot(0, [this] | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:161:9: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 49 | QNetworkRequest request; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:162:24: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 49 | request.setUrl(QUrl(u::pref(u"servers/updates"_s).toString())); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:162:55: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | request.setUrl(QUrl(u::pref(u"servers/updates"_s).toString())); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:165:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 49 | Q_ASSERT(_reply == nullptr); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:179:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | update["error"] = u"none"_s; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:186:19: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 49 | const QUrl url = update["url"]; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:193:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | update["error"] = u"invalid"_s; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:202:41: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | update["error"] = u"running"_s; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:213:87: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | const bool runningVersionDoesntMatchInstalledVersion = (status == u"installed"_s) && | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:216:64: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | const bool previousAttemptFailed = (status == u"failed"_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:223:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | update["error"] = status.isEmpty() ? u"existing"_s : status; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:242:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 49 | emit changeLogStored(); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:248:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 49 | emit noNewUpdateAvailable(error == | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:249:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | u"existing"_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:254:15: warning: no header providing "QUrl" is directly included [misc-include-cleaner] 49 | const QUrl url = update["url"]; | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:255:9: warning: no header providing "QNetworkRequest" is directly included [misc-include-cleaner] 49 | QNetworkRequest request(url); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:259:61: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | const QString concatenatedCredentials = u"%1:%2"_s | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:272:9: warning: no header providing "Q_ASSERT" is directly included [misc-include-cleaner] 49 | Q_ASSERT(_reply == nullptr); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:276:10: warning: no header providing "qint64" is directly included [misc-include-cleaner] 49 | (qint64 bytesReceived, qint64 bytesTotal) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:276:32: warning: no header providing "qint64" is directly included [misc-include-cleaner] 49 | (qint64 bytesReceived, qint64 bytesTotal) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:281:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 49 | emit progressChanged(); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:293:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 49 | emit progressChanged(); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:299:19: warning: no header providing "QDir" is directly included [misc-include-cleaner] 49 | const QDir dir(location); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:302:58: warning: no header providing "QDir" is directly included [misc-include-cleaner] 49 | const auto& subFileNames = dir.entryList(QDir::Files|QDir::Dirs|QDir::NoDotAndDotDot); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:302:70: warning: no header providing "QDir" is directly included [misc-include-cleaner] 49 | const auto& subFileNames = dir.entryList(QDir::Files|QDir::Dirs|QDir::NoDotAndDotDot); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:302:81: warning: no header providing "QDir" is directly included [misc-include-cleaner] 49 | const auto& subFileNames = dir.entryList(QDir::Files|QDir::Dirs|QDir::NoDotAndDotDot); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:305:27: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 49 | const QFileInfo info(u"%1/%2"_s.arg(location, subFileName)); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:305:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | const QFileInfo info(u"%1/%2"_s.arg(location, subFileName)); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:308:25: warning: no header providing "QDir" is directly included [misc-include-cleaner] 49 | QDir(info.absoluteFilePath()).removeRecursively(); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:332:9: warning: no header providing "QDir" is directly included [misc-include-cleaner] 49 | QDir().mkpath(QFileInfo(_fileName).absolutePath()); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:332:23: warning: no header providing "QFileInfo" is directly included [misc-include-cleaner] 49 | QDir().mkpath(QFileInfo(_fileName).absolutePath()); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:343:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 49 | emit updateDownloaded(); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:346:13: warning: no header providing "emit" is directly included [misc-include-cleaner] 49 | emit noNewUpdateAvailable(false); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:390:9: warning: no header providing "emit" is directly included [misc-include-cleaner] 49 | emit noNewUpdateAvailable(false); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:414:28: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | if(status == u"skipped"_s || status == u"installed"_s) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:414:56: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | if(status == u"skipped"_s || status == u"installed"_s) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:493:38: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 49 | bool Updater::showUpdatePrompt(const QStringList& arguments) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:495:5: warning: no header providing "QT_CONFIG" is directly included [misc-include-cleaner] 49 | #if QT_CONFIG(process) | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:496:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | auto updaterExeFileName = Application::resolvedExe(u"Updater"_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:507:43: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | quotedArguments.replaceInStrings(u"\""_s, u"\\\""_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:507:54: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | quotedArguments.replaceInStrings(u"\""_s, u"\\\""_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:508:38: warning: no header providing "QRegularExpression" is directly included [misc-include-cleaner] 49 | quotedArguments.replaceInStrings(QRegularExpression(u"^(.*)$"_s), | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:508:66: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | quotedArguments.replaceInStrings(QRegularExpression(u"^(.*)$"_s), | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:509:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 49 | u"\"\\1\""_s); | ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:512:9: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 49 | if(!QProcess::startDetached(updaterExeFileName, quotedArguments)) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:86:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 86 | template bool containsAnyOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:94:104: warning: rvalue reference parameter 'values' is never moved from inside the function body [cppcoreguidelines-rvalue-reference-param-not-moved] 94 | template bool containsAllOf(const C& container, std::initializer_list&& values) | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:210:38: warning: forwarding reference parameter 'container' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 210 | reversing_wrapper reverse(T&& container) { return {container}; } | ^ /home/runner/work/graphia/graphia/source/shared/utils/doasyncthen.h:42:28: warning: forwarding reference parameter 'thenFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 42 | void then(ThenFn&& thenFn) | ^ /home/runner/work/graphia/graphia/source/shared/utils/doasyncthen.h:61:28: warning: forwarding reference parameter 'thisFn' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward] 61 | auto doAsync(AsyncFn&& thisFn) | ^ 21519 warnings generated. [195/195] /home/runner/work/graphia/graphia/source/app/watchdog.cpp:32:1: warning: included header QDebug is not used directly [misc-include-cleaner] 32 | #include | ^~~~~~~~~~~~~~~~~ 33 | #include /home/runner/work/graphia/graphia/source/app/watchdog.cpp:33:1: warning: included header QCoreApplication is not used directly [misc-include-cleaner] 33 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | #include /home/runner/work/graphia/graphia/source/app/watchdog.cpp:34:1: warning: included header QMessageBox is not used directly [misc-include-cleaner] 34 | #include | ^~~~~~~~~~~~~~~~~~~~~~ 35 | #include /home/runner/work/graphia/graphia/source/app/watchdog.cpp:35:1: warning: included header QProcess is not used directly [misc-include-cleaner] 35 | #include | ^~~~~~~~~~~~~~~~~~~ 36 | /home/runner/work/graphia/graphia/source/app/watchdog.cpp:45:24: warning: no header providing "QThread" is directly included [misc-include-cleaner] 25 | connect(&_thread, &QThread::finished, worker, &QObject::deleteLater); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:45:52: warning: no header providing "QObject" is directly included [misc-include-cleaner] 25 | connect(&_thread, &QThread::finished, worker, &QObject::deleteLater); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:59:5: warning: no header providing "QT_CONFIG" is directly included [misc-include-cleaner] 25 | #if QT_CONFIG(process) | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:60:73: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | const QString messageBoxExe = Application::resolvedExe(u"MessageBox"_s); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:64:9: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 25 | qWarning() << "Couldn't resolve MessageBox executable"; | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:68:5: warning: no header providing "QStringList" is directly included [misc-include-cleaner] 25 | QStringList arguments; | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:70:18: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-title"_s << u"Error"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:70:32: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-title"_s << u"Error"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:71:17: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-text"_s << QString( | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:76:18: warning: no header providing "QCoreApplication" is directly included [misc-include-cleaner] 25 | .arg(QCoreApplication::applicationName()) << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:77:17: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-icon"_s << u"Critical"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:77:34: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-icon"_s << u"Critical"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:78:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-button"_s << u"Wait:Reset"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:78:38: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-button"_s << u"Wait:Reset"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:79:19: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-button"_s << u"Close and Report Bug:Destructive"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:79:60: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-button"_s << u"Close and Report Bug:Destructive"_s << | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:80:26: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-defaultButton"_s << u"Wait"_s; | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:80:39: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u"-defaultButton"_s << u"Wait"_s; | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:82:32: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | auto* warningProcess = new QProcess(this); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:85:60: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | connect(this, &WatchdogWorker::reset, warningProcess, &QProcess::kill); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:87:29: warning: no header providing "QOverload" is directly included [misc-include-cleaner] 25 | connect(warningProcess, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:87:44: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | connect(warningProcess, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:87:71: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | connect(warningProcess, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:89:29: warning: no header providing "QOverload" is directly included [misc-include-cleaner] 25 | connect(warningProcess, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:89:44: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | connect(warningProcess, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:89:71: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | connect(warningProcess, QOverload::of(&QProcess::finished), | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:109:22: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 25 | _timer = new QTimer(this); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:111:26: warning: no header providing "QTimer" is directly included [misc-include-cleaner] 25 | connect(_timer, &QTimer::timeout, this, [=, this] | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:111:50: warning: lambdas that capture 'this' should not specify a by-value capture default [cppcoreguidelines-misleading-capture-default-by-value] 111 | connect(_timer, &QTimer::timeout, this, [=, this] | ^~ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:113:28: warning: no header providing "std::chrono::duration_cast" is directly included [misc-include-cleaner] 25 | auto howLate = duration_cast(clock_type::now() - _expectedExpiry); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:113:42: warning: no header providing "std::chrono::milliseconds" is directly included [misc-include-cleaner] 25 | auto howLate = duration_cast(clock_type::now() - _expectedExpiry); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:131:13: warning: no header providing "qWarning" is directly included [misc-include-cleaner] 25 | qWarning() << "Watchdog timed out! Deadlock? " | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:139:50: warning: no header providing "Qt::operator""_s" is directly included [misc-include-cleaner] 25 | u::setCurrentThreadName(u"WatchdogThread"_s); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:142:5: warning: no header providing "emit" is directly included [misc-include-cleaner] 25 | emit reset(); | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:148:5: warning: no header providing "QT_CONFIG" is directly included [misc-include-cleaner] 25 | #if QT_CONFIG(process) | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:149:61: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | void WatchdogWorker::onWarningProcessFinished(int exitCode, QProcess::ExitStatus exitStatus) | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:152:36: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 25 | if(exitCode >= 0 && exitCode < QMessageBox::NRoles && exitStatus == QProcess::NormalExit) | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:152:73: warning: no header providing "QProcess" is directly included [misc-include-cleaner] 25 | if(exitCode >= 0 && exitCode < QMessageBox::NRoles && exitStatus == QProcess::NormalExit) | ^ /home/runner/work/graphia/graphia/source/app/watchdog.cpp:154:24: warning: no header providing "QMessageBox" is directly included [misc-include-cleaner] 25 | if(exitCode == QMessageBox::DestructiveRole) | ^ 13714 warnings generated.