Skip to content
Permalink
Browse files

Remove protected API from non-inherited class

  • Loading branch information
m-kuhn committed Feb 24, 2017
1 parent 50347b3 commit 10f50ee68a728760dcb1e2be3b6aad14adc3bbbe
Showing with 1 addition and 12 deletions.
  1. +0 −11 python/core/qgsexpression.sip
  2. +1 −1 src/core/qgsexpression.h
@@ -686,17 +686,6 @@ class QgsExpression

int precedence() const;
bool leftAssociative() const;

protected:
bool compare( double diff );
int computeInt( int x, int y );
double computeDouble( double x, double y );

/** Computes the result date time calculation from a start datetime and an interval
* @param d start datetime
* @param i interval to add or subtract (depending on mOp)
*/
QDateTime computeDateTimeFromInterval( const QDateTime& d, QgsInterval *i );
};

class NodeInOperator : QgsExpression::Node
@@ -1043,7 +1043,7 @@ class CORE_EXPORT QgsExpression
int precedence() const;
bool leftAssociative() const;

protected:
private:
bool compare( double diff );
qlonglong computeInt( qlonglong x, qlonglong y );
double computeDouble( double x, double y );

0 comments on commit 10f50ee

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