summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qaction/tst_qaction.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-26 10:36:46 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-28 00:24:36 +0200
commite65ea360187bbbf50f844a965faddc392322a0e7 (patch)
treef1251c7dd6dc86fb7adea1b5cca0847342c5287c /tests/auto/widgets/kernel/qaction/tst_qaction.cpp
parent3ccbf19761ec203a88480d25f147cac047a58ee3 (diff)
RHI: Fix deprecation warnings about QAtomicInteger::load()
Replace by loadRelaxed(), fixing: rhi\qrhi.cpp: In static member function 'static QRhiShaderResourceBinding QRhiShaderResourceBinding::uniformBuffer(int, QRhiShaderResourceBinding::StageFlags, QRhiBuffer*)': rhi\qrhi.cpp:2578:26: warning: 'T QBasicAtomicInteger<T>::load() const [with T = int]' is deprecated: Use loadRelaxed [-Wdeprecated-declarations] Q_ASSERT(d->ref.load() == 1); Change-Id: Iebe9a62d20498e67bde34b2f0cab8cc38682154f Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests/auto/widgets/kernel/qaction/tst_qaction.cpp')
0 files changed, 0 insertions, 0 deletions