mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Fix use of deleted function for QgsLinearMinMaxEnhancementWithClip
This commit is contained in:
parent
39b63cbbdc
commit
7ac386bf0b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user