Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit b274887

Browse files
committed
Fix warnings
1 parent 1d393df commit b274887

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plot/include/plot/plot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Plot
7777

7878
Plot( Context context );
7979

80-
Plot( AbstractPlot &plot );
80+
Plot( const AbstractPlot &plot );
8181

8282
Plot &AxisStyle( Style style, const std::vector< std::pair< std::string, std::string >> &params = {} );
8383

plot/src/plot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
#include <assert.h>
3232

33-
PLOTLIB_INLINE Plot::Plot( AbstractPlot &plot )
33+
PLOTLIB_INLINE Plot::Plot( const AbstractPlot &plot )
3434
: Plot()
3535
{
3636
AddPlot( plot );

0 commit comments

Comments
 (0)