Skip to content

Commit

Permalink
Add const
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Oct 19, 2012
1 parent d0eb151 commit d6b155f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/raster/qgsrasterinterface.sip
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class QgsRasterInterface
virtual QgsRasterInterface * input() const;

/** Is on/off */
virtual bool on();
virtual bool on() const;

/** Set on/off */
virtual void setOn( bool on );
Expand Down
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class CORE_EXPORT QgsRasterInterface
virtual QgsRasterInterface * input() const { return mInput; }

/** Is on/off */
virtual bool on() { return mOn; }
virtual bool on() const { return mOn; }

/** Set on/off */
virtual void setOn( bool on ) { mOn = on; }
Expand Down

0 comments on commit d6b155f

Please sign in to comment.