Skip to content
Permalink
Browse files

Add const

  • Loading branch information
mhugent committed Oct 19, 2012
1 parent d0eb151 commit d6b155f74c82cd819c5cb0b10fd198a95fbeb532
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/raster/qgsrasterinterface.sip
  2. +1 −1 src/core/raster/qgsrasterinterface.h
@@ -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 );
@@ -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; }

0 comments on commit d6b155f

Please sign in to comment.
You can’t perform that action at this time.