Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove protected API from non-inherited class
  • Loading branch information
m-kuhn committed Feb 24, 2017
1 parent 50347b3 commit 10f50ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions python/core/qgsexpression.sip
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsexpression.h
Expand Up @@ -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 );
Expand Down

0 comments on commit 10f50ee

Please sign in to comment.