Mark as noexcept since throwing would lead to deadlocks

This commit is contained in:
Daniel Smith 2020-07-15 23:24:38 +00:00
parent 9de26bfb84
commit 6e0633bf6f

View File

@ -133,7 +133,7 @@ private:
};
static thread_local ThreadData threadData;
static thread_local bool threadInitialized;
static GlobalData* globalData() {
static GlobalData* globalData() noexcept {
#ifdef VALGRIND
ANNOTATE_RWLOCK_ACQUIRED(vLock, 1);
#endif