Skip to content
Permalink
Browse files

Fix use of deleted function for QgsLinearMinMaxEnhancementWithClip

  • Loading branch information
pblottiere authored and nyalldawson committed Jun 10, 2020
1 parent 39b63cb commit 7ac386bf0b8052fcb3c992735c1c70e1f968eb3b
@@ -82,6 +82,8 @@ Returns the minimum value.



private:
QgsContrastEnhancementFunction &operator=( const QgsContrastEnhancementFunction & );
};

/************************************************************************
@@ -27,6 +27,9 @@ linearly between min and max.

virtual bool isValueInDisplayableRange( double );


private:
QgsLinearMinMaxEnhancementWithClip &operator=( const QgsLinearMinMaxEnhancementWithClip & );
};

/************************************************************************
@@ -94,7 +94,9 @@ class CORE_EXPORT QgsContrastEnhancementFunction
double mMinimumValuePossible = std::numeric_limits< double >::lowest() SIP_SKIP;

private:
QgsContrastEnhancementFunction &operator=( const QgsContrastEnhancementFunction & ) = delete;
#ifdef SIP_RUN
QgsContrastEnhancementFunction &operator=( const QgsContrastEnhancementFunction & );
#endif
};

#endif
@@ -36,6 +36,11 @@ class CORE_EXPORT QgsLinearMinMaxEnhancementWithClip : public QgsContrastEnhance
int enhance( double ) override;

bool isValueInDisplayableRange( double ) override;

private:
#ifdef SIP_RUN
QgsLinearMinMaxEnhancementWithClip &operator=( const QgsLinearMinMaxEnhancementWithClip & );
#endif
};

#endif

0 comments on commit 7ac386b

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