Clang warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-02-26 15:52:00 +02:00
parent ae5650f1f0
commit 3b33eabc22

View File

@ -46,7 +46,12 @@ VLayoutGenerator::VLayoutGenerator(QObject *parent)
paperWidth(0),
margins(),
usePrinterFields(true),
#ifdef Q_CC_MSVC
// See https://stackoverflow.com/questions/15750917/initializing-stdatomic-bool
stopGeneration(ATOMIC_VAR_INIT(false)),
#else
stopGeneration(false),
#endif
state(LayoutErrors::NoError),
shift(0),
rotate(true),