mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-17 09:11:36 -05:00
Fix clang -Wdeprecated-pragma warnings by removing deprecated ATOMIC_VAR_INIT
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user