Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
macos: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Aug 1, 2023
1 parent 5500e50 commit 60a691e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/utils_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,8 @@ static inline void cleanupProxy()
if (g_macUtilsData()->isEmpty()) {
return;
}
for (auto &&proxy : std::as_const(g_macUtilsData())) {
const auto &data = g_macUtilsData();
for (auto &&proxy : std::as_const(data)) {
Q_ASSERT(proxy);
if (!proxy) {
continue;
Expand Down

0 comments on commit 60a691e

Please sign in to comment.