fix: Use of non-atomic variables

This commit is contained in:
WerWolv
2025-12-22 11:08:36 +01:00
parent 40651e8dfd
commit bff78704cc

View File

@@ -121,13 +121,13 @@ namespace hex::plugin::builtin {
bool m_triggerEvaluation = false;
std::atomic<bool> m_triggerAutoEvaluate = false;
volatile bool m_lastEvaluationProcessed = true;
int m_lastEvaluationResult = false;
std::atomic<bool> m_lastEvaluationProcessed = true;
std::atomic<int> m_lastEvaluationResult = 0;
std::atomic<u32> m_runningEvaluators = 0;
std::atomic<u32> m_runningParsers = 0;
bool m_changesWereParsed = false;
std::atomic<bool> m_changesWereParsed = false;
PerProvider<bool> m_hasUnevaluatedChanges;
std::chrono::time_point<std::chrono::steady_clock> m_lastEditorChangeTime;