We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 677095f commit bd00b0fCopy full SHA for bd00b0f
src/core/qgsexpression.h
@@ -358,7 +358,7 @@ class CORE_EXPORT QgsExpression
358
static const int HOUR = 60 * 60;
359
static const int MINUTE = 60;
360
public:
361
- Interval( double seconds = 0 ) { mSeconds = seconds; }
+ Interval( double seconds = 0 ): mSeconds(seconds), mValid(true) { }
362
~Interval();
363
double years() { return mSeconds / YEARS;}
364
double months() { return mSeconds / MONTHS; }
0 commit comments