mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +08:00
bugfixed compile errors in CI
This commit is contained in:
parent
ffe9e904bc
commit
7a870b420a
@ -556,12 +556,12 @@ QVector<JKQTPCustomGraphSymbolFunctor> JKQTPlotterDrawingTools::JKQTPCustomGraph
|
||||
|
||||
JKQTPGraphSymbols JKQTPRegisterCustomGraphSymbol(JKQTPCustomGraphSymbolFunctor&& f)
|
||||
{
|
||||
JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.emplace_back(std::move(f));
|
||||
JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.push_back(std::move(f));
|
||||
return JKQTPFirstCustomSymbol+(JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.size()-1);
|
||||
}
|
||||
|
||||
JKQTPGraphSymbols JKQTPRegisterCustomGraphSymbol(const JKQTPCustomGraphSymbolFunctor& f)
|
||||
{
|
||||
JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.emplace_back(f);
|
||||
JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.push_back(f);
|
||||
return JKQTPFirstCustomSymbol+(JKQTPlotterDrawingTools::JKQTPCustomGraphSymbolStore.size()-1);
|
||||
}
|
||||
|
@ -250,13 +250,13 @@ JKQTCOMMON_LIB_EXPORT JKQTPGraphSymbols String2JKQTPGraphSymbols(const QString&
|
||||
|
||||
|
||||
inline QDataStream& operator<<(QDataStream& str, JKQTPGraphSymbols s) {
|
||||
str<<static_cast<uint64_t>(s);
|
||||
str<<static_cast<quint64>(s);
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
inline QDataStream& operator>>(QDataStream& str, JKQTPGraphSymbols& s) {
|
||||
str<<reinterpret_cast<uint64_t&>(s);
|
||||
str<<reinterpret_cast<quint64&>(s);
|
||||
return str;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user