Skip to content

Commit

Permalink
addGraph function return value fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajad Hosseini committed Oct 16, 2024
1 parent 1dc569d commit 5e58e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jkqtplotter/jkqtplotter.h
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget {
inline void clearGraphs(bool deleteGraphs=true) { plotter->clearGraphs(deleteGraphs); }

/** \copydoc JKQTBasePlotter::addGraph() */
inline void addGraph(JKQTPPlotElement* gr) { plotter->addGraph(gr); }
inline size_t addGraph(JKQTPPlotElement* gr) { return plotter->addGraph(gr); }
/** \copydoc JKQTBasePlotter::addGraphOnTop() */
inline void addGraphOnTop(JKQTPPlotElement* gr) { plotter->addGraphOnTop(gr); }
/** \copydoc JKQTBasePlotter::addGraphAtBottom() */
Expand Down

0 comments on commit 5e58e2f

Please sign in to comment.