Clang warning.
--HG-- branch : develop
This commit is contained in:
parent
ae5650f1f0
commit
3b33eabc22
|
@ -46,7 +46,12 @@ VLayoutGenerator::VLayoutGenerator(QObject *parent)
|
||||||
paperWidth(0),
|
paperWidth(0),
|
||||||
margins(),
|
margins(),
|
||||||
usePrinterFields(true),
|
usePrinterFields(true),
|
||||||
|
#ifdef Q_CC_MSVC
|
||||||
|
// See https://stackoverflow.com/questions/15750917/initializing-stdatomic-bool
|
||||||
stopGeneration(ATOMIC_VAR_INIT(false)),
|
stopGeneration(ATOMIC_VAR_INIT(false)),
|
||||||
|
#else
|
||||||
|
stopGeneration(false),
|
||||||
|
#endif
|
||||||
state(LayoutErrors::NoError),
|
state(LayoutErrors::NoError),
|
||||||
shift(0),
|
shift(0),
|
||||||
rotate(true),
|
rotate(true),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user