Skip to content

Commit

Permalink
addGraph function return value fixed (#140)
Browse files Browse the repository at this point in the history
authored-by: Sajad Hosseini <[email protected]>
  • Loading branch information
sajadblog authored Oct 16, 2024
1 parent 8ff150a commit 2e0d0d7
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 2e0d0d7

Please sign in to comment.