Skip to content

Commit 10f50ee

Browse files
committedFeb 24, 2017
Remove protected API from non-inherited class
1 parent 50347b3 commit 10f50ee

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed
 

‎python/core/qgsexpression.sip

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -686,17 +686,6 @@ class QgsExpression
686686

687687
int precedence() const;
688688
bool leftAssociative() const;
689-
690-
protected:
691-
bool compare( double diff );
692-
int computeInt( int x, int y );
693-
double computeDouble( double x, double y );
694-
695-
/** Computes the result date time calculation from a start datetime and an interval
696-
* @param d start datetime
697-
* @param i interval to add or subtract (depending on mOp)
698-
*/
699-
QDateTime computeDateTimeFromInterval( const QDateTime& d, QgsInterval *i );
700689
};
701690

702691
class NodeInOperator : QgsExpression::Node

‎src/core/qgsexpression.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ class CORE_EXPORT QgsExpression
10431043
int precedence() const;
10441044
bool leftAssociative() const;
10451045

1046-
protected:
1046+
private:
10471047
bool compare( double diff );
10481048
qlonglong computeInt( qlonglong x, qlonglong y );
10491049
double computeDouble( double x, double y );

0 commit comments

Comments
 (0)
Please sign in to comment.