compatible with gcc 5.3.1 amd 6.1.1

This commit is contained in:
Dhanya Maliakal
2016-08-03 17:50:54 +02:00
parent 9139451127
commit 5d3e925ed4
4 changed files with 9 additions and 4 deletions

View File

@ -481,7 +481,11 @@ double XYRangeValues[4];
bool IsXYRange[4];
/** Default timer between plots*/
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6)
static constexpr double PLOT_TIMER_MS = 200;
#else
static const double PLOT_TIMER_MS = 200;
#endif
/** Specific timer value between plots */
double timerValue;
/** every nth frame when to plot */