diff options
author | Sean McBride <sean@rogue-research.com> | 2023-10-20 18:28:36 (GMT) |
---|---|---|
committer | Sean McBride <sean@rogue-research.com> | 2023-10-21 00:15:46 (GMT) |
commit | 6ed999674c9677b67c9584e0b763e2346fda7c90 (patch) | |
tree | a7e1731982d4cc195cdc7ca8f3a05fa6e6ce4d4c /Source/cmQtAutoMocUic.cxx | |
parent | 162e017b2dd40b1c238da959e93665d997bd1ff2 (diff) | |
download | CMake-6ed999674c9677b67c9584e0b763e2346fda7c90.zip CMake-6ed999674c9677b67c9584e0b763e2346fda7c90.tar.gz CMake-6ed999674c9677b67c9584e0b763e2346fda7c90.tar.bz2 |
Fix clang -Wdeprecated-pragma warnings by removing deprecated ATOMIC_VAR_INIT
Diffstat (limited to 'Source/cmQtAutoMocUic.cxx')
-rw-r--r-- | Source/cmQtAutoMocUic.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoMocUic.cxx b/Source/cmQtAutoMocUic.cxx index ece657d..50110ed 100644 --- a/Source/cmQtAutoMocUic.cxx +++ b/Source/cmQtAutoMocUic.cxx @@ -190,7 +190,7 @@ public: { public: // -- Parse Cache - std::atomic<bool> ParseCacheChanged = ATOMIC_VAR_INIT(false); + std::atomic<bool> ParseCacheChanged{ false }; cmFileTime ParseCacheTime; ParseCacheT ParseCache; @@ -583,7 +583,7 @@ private: std::string SettingsStringMoc_; std::string SettingsStringUic_; // -- Worker thread pool - std::atomic<bool> JobError_ = ATOMIC_VAR_INIT(false); + std::atomic<bool> JobError_{ false }; cmWorkerPool WorkerPool_; // -- Concurrent processing mutable std::mutex CMakeLibMutex_; |