[1/195] 4562 warnings generated. [2/195] 11051 warnings generated. [3/195] 11668 warnings generated. [4/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 18352 warnings generated. [5/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 11453 warnings generated. [6/195] /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:245:16: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] 245 | if((result = isEdgeList(data))) // bugprone-assignment-in-if-condition | ~~~~~~~^~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:245:16: note: if it should be an assignment, move it out of the 'if' condition /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:245:16: note: if it is meant to be an equality check, change '=' to '==' /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:259:21: warning: an assignment within an 'if' condition is bug-prone [bugprone-assignment-in-if-condition] 259 | else if((result = isAdjacencyMatrix(data, &topLeft))) // bugprone-assignment-in-if-condition | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:259:21: note: if it should be an assignment, move it out of the 'if' condition /home/runner/work/graphia/graphia/source/shared/loading/adjacencymatrixfileparser.cpp:259:21: note: if it is meant to be an equality check, change '=' to '==' /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 19942 warnings generated. [7/195] /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:60:8: warning: an exception may be thrown in function 'operator=' which should not throw exceptions [bugprone-exception-escape] 60 | struct EdgeStatement | ^ /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:415:5: warning: variable 'istreamIt' of type 'boost::spirit::istream_iterator' (aka 'basic_istream_iterator') can be declared 'const' [misc-const-correctness] 415 | boost::spirit::istream_iterator istreamIt(stream); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26655 warnings generated. [8/195] /home/runner/work/graphia/graphia/source/shared/loading/gmlfileparser.cpp:320:5: warning: variable 'istreamIt' of type 'boost::spirit::istream_iterator' (aka 'basic_istream_iterator') can be declared 'const' [misc-const-correctness] 320 | boost::spirit::istream_iterator istreamIt(stream); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26604 warnings generated. [9/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 11653 warnings generated. [10/195] 10863 warnings generated. [11/195] 17251 warnings generated. [12/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 18110 warnings generated. [13/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 13497 warnings generated. [14/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 11338 warnings generated. [15/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 11743 warnings generated. [16/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 11503 warnings generated. [17/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10674 warnings generated. [18/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 18170 warnings generated. [19/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 18083 warnings generated. [20/195] /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 11472 warnings generated. [21/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 21712 warnings generated. [22/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 11773 warnings generated. [23/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 12851 warnings generated. [24/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 20019 warnings generated. [25/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 12601 warnings generated. [26/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 12636 warnings generated. [27/195] 17428 warnings generated. [28/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 17569 warnings generated. [29/195] 10527 warnings generated. [30/195] 7540 warnings generated. [31/195] 4508 warnings generated. [32/195] 10591 warnings generated. [33/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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:182:22: note: Calling 'loadKey' 182 | 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)) | ^ 13256 warnings generated. [34/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 11349 warnings generated. [35/195] 11561 warnings generated. [36/195] 7173 warnings generated. [37/195] 10782 warnings generated. [38/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 11247 warnings generated. [39/195] 6038 warnings generated. [40/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 11799 warnings generated. [41/195] 7907 warnings generated. [42/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:69:9: warning: function-like macro 'SCOPE_TIMER_CONCAT2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 69 | #define SCOPE_TIMER_CONCAT2(a, b) a ## b /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:70:9: warning: function-like macro 'SCOPE_TIMER_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 70 | #define SCOPE_TIMER_CONCAT(a, b) SCOPE_TIMER_CONCAT2(a, b) /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:73:9: warning: function-like macro 'SCOPE_TIMER_MULTISAMPLES' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 73 | #define SCOPE_TIMER_MULTISAMPLES(samples) /* cppcoreguidelines-macro-usage */ \ | ^ 10306 warnings generated. [43/195] 10558 warnings generated. [44/195] 10211 warnings generated. [45/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 3438 warnings generated. [46/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10386 warnings generated. [47/195] /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) | ^ 11223 warnings generated. [48/195] 11051 warnings generated. [49/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 7508 warnings generated. [50/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 22813 warnings generated. [51/195] 19460 warnings generated. 38920 warnings generated. [52/195] 11185 warnings generated. [53/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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) | ^ 18629 warnings generated. [54/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:158:5: warning: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape] 158 | int main(int argc, char *argv[]) | ^ 19358 warnings generated. [55/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/string.h:74:19: warning: 'signed char' to 'int' conversion; consider casting to 'unsigned char' first. [bugprone-signed-char-misuse,cert-str34-c] 74 | for(int b : bytes) // bugprone-signed-char-misuse | ^ 19432 warnings generated. [56/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10298 warnings generated. [57/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.h:454:17: warning: 'operator double' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] 454 | operator double() const { return static_cast(_numerator) / _denominator; } | ^ | explicit /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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) | ^ 15719 warnings generated. [58/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 7627 warnings generated. [59/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10696 warnings generated. [60/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ 38925 warnings generated. [61/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 38003 warnings generated. [62/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 38224 warnings generated. [63/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem_columnannotations.cpp:150:9: warning: variable 'columnAnnotationTicker' of type 'QSharedPointer' can be declared 'const' [misc-const-correctness] 150 | QSharedPointer columnAnnotationTicker(new QCPAxisTickerText); | ^ | const /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 38117 warnings generated. [64/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 37902 warnings generated. [65/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.h:454:17: warning: 'operator double' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] 454 | operator double() const { return static_cast(_numerator) / _denominator; } | ^ | explicit /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplugin.cpp:1421:34: warning: the parameter 'data' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 1421 | std::shared_ptr data, // performance-unnecessary-value-param | ^ | const & /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /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) | ^ 39874 warnings generated. [66/195] 11111 warnings generated. [67/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 7617 warnings generated. [68/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 29419 warnings generated. [69/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.h:454:17: warning: 'operator double' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] 454 | operator double() const { return static_cast(_numerator) / _denominator; } | ^ | explicit /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /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) | ^ 21257 warnings generated. [70/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 20917 warnings generated. [71/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 21108 warnings generated. [72/195] /home/runner/work/graphia/graphia/source/plugins/correlation/correlation.h:454:17: warning: 'operator double' must be marked explicit to avoid unintentional implicit conversions [google-explicit-constructor] 454 | operator double() const { return static_cast(_numerator) / _denominator; } | ^ | explicit /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /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) | ^ 21746 warnings generated. [73/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 29294 warnings generated. [74/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 7690 warnings generated. [75/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 19552 warnings generated. [76/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 19552 warnings generated. [77/195] /home/runner/work/graphia/graphia/source/app/application.cpp:619:5: warning: the value returned by this function should be used [cert-err33-c] 619 | fprintf(stdout, "stdout\n"); fflush(stdout); // cert-err33-c | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/application.cpp:619:5: note: cast the expression to void to silence this warning /home/runner/work/graphia/graphia/source/app/application.cpp:619:5: warning: use 'std::println' instead of 'fprintf' [modernize-use-std-print] 60 | fprintf(stdout, "stdout\n"); fflush(stdout); // cert-err33-c | ^~~~~~~ ~~~~~~~~~~ | std::println "stdout" /home/runner/work/graphia/graphia/source/app/application.cpp:619:34: warning: the value returned by this function should be used [cert-err33-c] 619 | fprintf(stdout, "stdout\n"); fflush(stdout); // cert-err33-c | ^~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/application.cpp:619:34: note: cast the expression to void to silence this warning /home/runner/work/graphia/graphia/source/app/application.cpp:620:5: warning: the value returned by this function should be used [cert-err33-c] 620 | fprintf(stderr, "stderr\n"); fflush(stderr); // cert-err33-c | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/application.cpp:620:5: note: cast the expression to void to silence this warning /home/runner/work/graphia/graphia/source/app/application.cpp:620:5: warning: use 'std::println' instead of 'fprintf' [modernize-use-std-print] 620 | fprintf(stderr, "stderr\n"); fflush(stderr); // cert-err33-c | ^~~~~~~ ~~~~~~~~~~ | std::println "stderr" /home/runner/work/graphia/graphia/source/app/application.cpp:620:34: warning: the value returned by this function should be used [cert-err33-c] 620 | fprintf(stderr, "stderr\n"); fflush(stderr); // cert-err33-c | ^~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/application.cpp:620:34: note: cast the expression to void to silence this warning /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:69:9: warning: function-like macro 'SCOPE_TIMER_CONCAT2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 69 | #define SCOPE_TIMER_CONCAT2(a, b) a ## b /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:70:9: warning: function-like macro 'SCOPE_TIMER_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 70 | #define SCOPE_TIMER_CONCAT(a, b) SCOPE_TIMER_CONCAT2(a, b) /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:73:9: warning: function-like macro 'SCOPE_TIMER_MULTISAMPLES' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 73 | #define SCOPE_TIMER_MULTISAMPLES(samples) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 35791 warnings generated. [78/195] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:177:15: warning: member '_elementId' of type 'const IGraphComponent &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 177 | E _elementId; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 13152 warnings generated. [79/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 21937 warnings generated. [80/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 25682 warnings generated. [81/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 14547 warnings generated. [82/195] /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:42:12: warning: function is not thread safe [concurrency-mt-unsafe] 42 | return std::lgamma(n + 1) - std::lgamma(r + 1) - std::lgamma(n - r + 1); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:42:33: warning: function is not thread safe [concurrency-mt-unsafe] 42 | return std::lgamma(n + 1) - std::lgamma(r + 1) - std::lgamma(n - r + 1); | ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:42:54: warning: function is not thread safe [concurrency-mt-unsafe] 42 | return std::lgamma(n + 1) - std::lgamma(r + 1) - std::lgamma(n - r + 1); | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 11588 warnings generated. [83/195] 10817 warnings generated. [84/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 23059 warnings generated. [85/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 23112 warnings generated. [86/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 21008 warnings generated. [87/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ 11362 warnings generated. [88/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 20537 warnings generated. [89/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 20757 warnings generated. [90/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 21838 warnings generated. [91/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 20989 warnings generated. [92/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 12292 warnings generated. [93/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10614 warnings generated. [94/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10908 warnings generated. [95/195] /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:285:5: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 285 | createAttribute(tr("Node Degree")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:285:5: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 285 | createAttribute(tr("Node Degree")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:293:9: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 293 | createAttribute(tr("Node In Degree")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:8: note: Assuming the condition is true 290 | if(directed()) | ^~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:5: note: Taking true branch 290 | if(directed()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:293:9: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 293 | createAttribute(tr("Node In Degree")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:299:9: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 299 | createAttribute(tr("Node Out Degree")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:8: note: Assuming the condition is true 290 | if(directed()) | ^~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:5: note: Taking true branch 290 | if(directed()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:299:9: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 299 | createAttribute(tr("Node Out Degree")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:306:5: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 306 | createAttribute(tr("Node Multiplicity")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:8: note: Assuming the condition is false 290 | if(directed()) | ^~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:5: note: Taking false branch 290 | if(directed()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:306:5: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 306 | createAttribute(tr("Node Multiplicity")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:312:5: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 312 | createAttribute(tr("Edge Multiplicity")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:8: note: Assuming the condition is false 290 | if(directed()) | ^~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:5: note: Taking false branch 290 | if(directed()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:312:5: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 312 | createAttribute(tr("Edge Multiplicity")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:318:5: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 318 | createAttribute(tr("Component Size")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:8: note: Assuming the condition is false 290 | if(directed()) | ^~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:5: note: Taking false branch 290 | if(directed()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:318:5: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 318 | createAttribute(tr("Component Size")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:324:5: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 324 | createAttribute(tr("Node Component Identifier")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:8: note: Assuming the condition is false 290 | if(directed()) | ^~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:5: note: Taking false branch 290 | if(directed()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:324:5: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 324 | createAttribute(tr("Node Component Identifier")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:333:5: warning: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] 333 | createAttribute(tr("Edge Component Identifier")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:8: note: Assuming the condition is false 290 | if(directed()) | ^~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:290:5: note: Taking false branch 290 | if(directed()) | ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:333:5: note: Call to virtual method 'GraphModel::createAttribute' during construction bypasses virtual dispatch 333 | createAttribute(tr("Edge Component Identifier")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:69:9: warning: function-like macro 'SCOPE_TIMER_CONCAT2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 69 | #define SCOPE_TIMER_CONCAT2(a, b) a ## b /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:70:9: warning: function-like macro 'SCOPE_TIMER_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 70 | #define SCOPE_TIMER_CONCAT(a, b) SCOPE_TIMER_CONCAT2(a, b) /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:73:9: warning: function-like macro 'SCOPE_TIMER_MULTISAMPLES' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 73 | #define SCOPE_TIMER_MULTISAMPLES(samples) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 30474 warnings generated. [96/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10665 warnings generated. [97/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 21214 warnings generated. [98/195] 11073 warnings generated. [99/195] 11011 warnings generated. [100/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 21510 warnings generated. [101/195] 10142 warnings generated. [102/195] 11721 warnings generated. [103/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:69:9: warning: function-like macro 'SCOPE_TIMER_CONCAT2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 69 | #define SCOPE_TIMER_CONCAT2(a, b) a ## b /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:70:9: warning: function-like macro 'SCOPE_TIMER_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 70 | #define SCOPE_TIMER_CONCAT(a, b) SCOPE_TIMER_CONCAT2(a, b) /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:73:9: warning: function-like macro 'SCOPE_TIMER_MULTISAMPLES' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 73 | #define SCOPE_TIMER_MULTISAMPLES(samples) /* cppcoreguidelines-macro-usage */ \ | ^ /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) | ^ 23460 warnings generated. [104/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 21824 warnings generated. [105/195] 10101 warnings generated. [106/195] 8017 warnings generated. [107/195] 10502 warnings generated. [108/195] 11139 warnings generated. [109/195] 11073 warnings generated. [110/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 10799 warnings generated. [111/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 23368 warnings generated. [112/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 23498 warnings generated. [113/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 15630 warnings generated. [114/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 23718 warnings generated. [115/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 24203 warnings generated. [116/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 20915 warnings generated. [117/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 14668 warnings generated. [118/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 24257 warnings generated. [119/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 14654 warnings generated. [120/195] /home/runner/work/graphia/Qt/6.6.3/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/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/app/main.cpp:391:5: warning: variable 'selectors' of type 'QStringList' (aka 'QList') can be declared 'const' [misc-const-correctness] 391 | QStringList selectors; // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:69:9: warning: function-like macro 'SCOPE_TIMER_CONCAT2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 69 | #define SCOPE_TIMER_CONCAT2(a, b) a ## b /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:70:9: warning: function-like macro 'SCOPE_TIMER_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 70 | #define SCOPE_TIMER_CONCAT(a, b) SCOPE_TIMER_CONCAT2(a, b) /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/shared/utils/scopetimer.h:73:9: warning: function-like macro 'SCOPE_TIMER_MULTISAMPLES' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 73 | #define SCOPE_TIMER_MULTISAMPLES(samples) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ /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) | ^ 30322 warnings generated. [121/195] 7583 warnings generated. [122/195] 7593 warnings generated. [123/195] 7577 warnings generated. [124/195] 7580 warnings generated. [125/195] 7577 warnings generated. [126/195] 7577 warnings generated. [127/195] 10620 warnings generated. [128/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 11225 warnings generated. [129/195] 18878 warnings generated. [130/195] 19174 warnings generated. [131/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 11936 warnings generated. [132/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 31933 warnings generated. [133/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 32404 warnings generated. [134/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 32772 warnings generated. [135/195] /home/runner/work/graphia/Qt/6.6.3/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/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 33481 warnings generated. [136/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 23195 warnings generated. [137/195] 18598 warnings generated. [138/195] [139/195] 18917 warnings generated. [140/195] 18920 warnings generated. [141/195] 18917 warnings generated. [142/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 32885 warnings generated. [143/195] 19655 warnings generated. [144/195] 10085 warnings generated. [145/195] 10589 warnings generated. [146/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 18987 warnings generated. [147/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 24403 warnings generated. [148/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 20181 warnings generated. [149/195] 26070 warnings generated. [150/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23562 warnings generated. [151/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23593 warnings generated. [152/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23928 warnings generated. [153/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23831 warnings generated. [154/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23829 warnings generated. [155/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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) | ^ 24659 warnings generated. [156/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26375 warnings generated. [157/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26384 warnings generated. [158/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23820 warnings generated. [159/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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) | ^ 24639 warnings generated. [160/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26366 warnings generated. [161/195] 20659 warnings generated. [162/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23876 warnings generated. [163/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26365 warnings generated. [164/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23760 warnings generated. [165/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 24057 warnings generated. [166/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23760 warnings generated. [167/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26437 warnings generated. [168/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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) | ^ 32992 warnings generated. [169/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 31952 warnings generated. [170/195] /home/runner/work/graphia/graphia/source/app/transform/transforms/spanningtreetransform.cpp:55:15: warning: use emplace_back instead of push_back [modernize-use-emplace] 55 | deque.push_back({componentManager.componentById(componentId)->nodeIds().at(0), {}}); | ^~~~~~~~~~ | emplace_back( 20628 warnings generated. [171/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 23416 warnings generated. [172/195] 20538 warnings generated. [173/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:3145:34: warning: the parameter 'data' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] 3145 | std::shared_ptr data, // performance-unnecessary-value-param | ^ | const & /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/plugins/iplugin.h:101:9: warning: function-like macro 'IPluginIID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 101 | #define IPluginIID(NAME) "app.graphia.IPlugin:" #NAME "/" VERSION // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 33178 warnings generated. [174/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 32612 warnings generated. [175/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 32400 warnings generated. [176/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 32352 warnings generated. [177/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 32557 warnings generated. [178/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 25855 warnings generated. [179/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 20393 warnings generated. [180/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 30034 warnings generated. [181/195] 11468 warnings generated. [182/195] 11298 warnings generated. [183/195] /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:114:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 114 | return _indexes->get(elementId)._set; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:119:16: warning: redundant get() call on smart pointer [readability-redundant-smartptr-get] 119 | return _indexes->get(elementId)._value; // readability-redundant-smartptr-get | ^~~~~~~~~~~~~~~~~~~~~~~ | _indexes /home/runner/work/graphia/graphia/source/shared/loading/userelementdata.h:345:9: warning: variable 'jsonAttributes' of type 'json' (aka 'basic_json<>') can be declared 'const' [misc-const-correctness] 345 | json jsonAttributes = json::object(); // misc-const-correctness | ^ | const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 26525 warnings generated. [184/195] 8294 warnings generated. [185/195] /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:32:9: warning: function-like macro 'QML_TYPE' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 32 | #define QML_TYPE(Type) Qml ## Type /* cppcoreguidelines-macro-usage */ | ^ /home/runner/work/graphia/graphia/source/app/graph/qmlelementid.h:33:9: warning: function-like macro 'QML_ELEMENTID' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 33 | #define QML_ELEMENTID(Type) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 22913 warnings generated. [186/195] 11335 warnings generated. [187/195] 11298 warnings generated. [188/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 11364 warnings generated. [189/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 10445 warnings generated. [190/195] 24775 warnings generated. [191/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ 17446 warnings generated. [192/195] /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 29541 warnings generated. [193/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:34:9: warning: function-like macro 'STATIC_BLOCK_ID_CONCAT' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define STATIC_BLOCK_ID_CONCAT(p, l) p ## l // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:35:9: warning: function-like macro 'STATIC_BLOCK_ID_EXPAND' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 35 | #define STATIC_BLOCK_ID_EXPAND(p, l) STATIC_BLOCK_ID_CONCAT(p, l) // cppcoreguidelines-macro-usage | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:38:9: warning: function-like macro 'STATIC_BLOCK_2' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 38 | #define STATIC_BLOCK_2(f, c) /* cppcoreguidelines-macro-usage */ \ | ^ /home/runner/work/graphia/graphia/source/shared/utils/static_block.h:53:9: warning: function-like macro 'STATIC_BLOCK_1' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 53 | #define STATIC_BLOCK_1(id) /* cppcoreguidelines-macro-usage */ \ | ^ 19398 warnings generated. [194/195] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 205 | template struct reversing_wrapper { T& container; }; // cppcoreguidelines-avoid-const-or-ref-data-members | ^ /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) | ^ 21443 warnings generated. [195/195] /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:34:9: warning: function-like macro 'FATAL_ERROR' used; consider a 'constexpr' template function [cppcoreguidelines-macro-usage] 34 | #define FATAL_ERROR(MESSAGE) /* cppcoreguidelines-macro-usage */ \ | ^ 13678 warnings generated.