aboutsummaryrefslogtreecommitdiff
path: root/src/warnings.cpp
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2022-04-20 17:10:13 +1000
committerAnthony Towns <aj@erisian.com.au>2022-05-21 01:23:23 +1000
commitbba87c0553780eacf0317fbfec7330ea27aa02f8 (patch)
tree61fcec9f73e23a29c1d0d465572afdb5e9e8867d /src/warnings.cpp
parenta559509a0b8cade27199740212d7b589f71a0e3b (diff)
scripted-diff: Convert global Mutexes to GlobalMutexes
-BEGIN VERIFY SCRIPT- sed -i -E -e '/^([a-z]+ )?Mutex [a-z]/ s/Mutex/GlobalMutex/' $(git grep -lE '^([a-z]+ )?Mutex [a-z]') -END VERIFY SCRIPT-
Diffstat (limited to 'src/warnings.cpp')
-rw-r--r--src/warnings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/warnings.cpp b/src/warnings.cpp
index 60388cc713..dabb194ce1 100644
--- a/src/warnings.cpp
+++ b/src/warnings.cpp
@@ -12,7 +12,7 @@
#include <vector>
-static Mutex g_warnings_mutex;
+static GlobalMutex g_warnings_mutex;
static bilingual_str g_misc_warnings GUARDED_BY(g_warnings_mutex);
static bool fLargeWorkInvalidChainFound GUARDED_BY(g_warnings_mutex) = false;