bugfixed compile errors in CI

This commit is contained in:
jkriege2 2022-09-07 22:00:09 +02:00
parent ffe9e904bc
commit 7a870b420a
2 changed files with 4 additions and 4 deletions

View File

@ -556,12 +556,12 @@ QVector<JKQTPCustomGraphSymbolFunctor> JKQTPlotterDrawingTools::JKQTPCustomGraph
JKQTPGraphSymbols JKQTPRegisterCustomGraphSymbol(JKQTPCustomGraphSymbolFunctor&& f) JKQTPGraphSymbols JKQTPRegisterCustomGraphSymbol(JKQTPCustomGraphSymbolFunctor&& f)
{ {
JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.emplace_back(std::move(f)); JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.push_back(std::move(f));
return JKQTPFirstCustomSymbol+(JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.size()-1); return JKQTPFirstCustomSymbol+(JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.size()-1);
} }
JKQTPGraphSymbols JKQTPRegisterCustomGraphSymbol(const JKQTPCustomGraphSymbolFunctor& f) JKQTPGraphSymbols JKQTPRegisterCustomGraphSymbol(const JKQTPCustomGraphSymbolFunctor& f)
{ {
JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.emplace_back(f); JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.push_back(f);
return JKQTPFirstCustomSymbol+(JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.size()-1); return JKQTPFirstCustomSymbol+(JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.size()-1);
} }

View File

@ -250,13 +250,13 @@ JKQTCOMMON_LIB_EXPORT JKQTPGraphSymbols String2JKQTPGraphSymbols(const QString&
inline QDataStream& operator<<(QDataStream& str, JKQTPGraphSymbols s) { inline QDataStream& operator<<(QDataStream& str, JKQTPGraphSymbols s) {
str<<static_cast<uint64_t>(s); str<<static_cast<quint64>(s);
return str; return str;
} }
inline QDataStream& operator>>(QDataStream& str, JKQTPGraphSymbols& s) { inline QDataStream& operator>>(QDataStream& str, JKQTPGraphSymbols& s) {
str<<reinterpret_cast<uint64_t&>(s); str<<reinterpret_cast<quint64&>(s);
return str; return str;
} }