mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
fixed eriks bug, must initialize const double values inside cpp not in h from gccc 4.4.6 onwards
This commit is contained in:
parent
cec2e5c6b4
commit
7d860cc7cd
@ -479,11 +479,8 @@ double XYRangeValues[4];
|
|||||||
bool IsXYRange[4];
|
bool IsXYRange[4];
|
||||||
|
|
||||||
/** Default timer between plots*/
|
/** Default timer between plots*/
|
||||||
//#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6)
|
static const double PLOT_TIMER_MS;
|
||||||
//static constexpr double PLOT_TIMER_MS = 200;
|
|
||||||
//#else
|
|
||||||
static const double PLOT_TIMER_MS = 200;
|
|
||||||
//#endif
|
|
||||||
/** Specific timer value between plots */
|
/** Specific timer value between plots */
|
||||||
double timerValue;
|
double timerValue;
|
||||||
/** every nth frame when to plot */
|
/** every nth frame when to plot */
|
||||||
|
@ -30,6 +30,7 @@ using namespace std;
|
|||||||
|
|
||||||
//-------------------------------------------------------------------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
const double qDrawPlot::PLOT_TIMER_MS = 200;
|
||||||
|
|
||||||
qDrawPlot::qDrawPlot(QWidget *parent,multiSlsDetector*& detector):
|
qDrawPlot::qDrawPlot(QWidget *parent,multiSlsDetector*& detector):
|
||||||
QWidget(parent),myDet(detector),plot1D_hists(0){
|
QWidget(parent),myDet(detector),plot1D_hists(0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user