diff --git a/lib/jkqtcommon/jkqtpdrawingtools.cpp b/lib/jkqtcommon/jkqtpdrawingtools.cpp index eb92f0a3c9..091beca2a3 100644 --- a/lib/jkqtcommon/jkqtpdrawingtools.cpp +++ b/lib/jkqtcommon/jkqtpdrawingtools.cpp @@ -556,12 +556,12 @@ QVector 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); } diff --git a/lib/jkqtcommon/jkqtpdrawingtools.h b/lib/jkqtcommon/jkqtpdrawingtools.h index df22661a42..28f27c63d5 100644 --- a/lib/jkqtcommon/jkqtpdrawingtools.h +++ b/lib/jkqtcommon/jkqtpdrawingtools.h @@ -250,13 +250,13 @@ JKQTCOMMON_LIB_EXPORT JKQTPGraphSymbols String2JKQTPGraphSymbols(const QString& inline QDataStream& operator<<(QDataStream& str, JKQTPGraphSymbols s) { - str<(s); + str<(s); return str; } inline QDataStream& operator>>(QDataStream& str, JKQTPGraphSymbols& s) { - str<(s); + str<(s); return str; }