mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: Fix cppcheck issues
This commit is contained in:
@@ -404,7 +404,7 @@ namespace hex {
|
||||
|
||||
if (s_tasks.empty()) {
|
||||
std::scoped_lock lock(s_deferredCallsMutex);
|
||||
for (auto &call : s_tasksFinishedCallbacks)
|
||||
for (const auto &call : s_tasksFinishedCallbacks)
|
||||
call();
|
||||
s_tasksFinishedCallbacks.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user