macos: fix compile error

This commit is contained in:
Yuhang Zhao 2023-08-01 16:18:57 +08:00
parent 60a691eb61
commit 90b2fe42c6
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ static inline void cleanupProxy()
if (g_macUtilsData()->isEmpty()) { if (g_macUtilsData()->isEmpty()) {
return; return;
} }
const auto &data = g_macUtilsData(); const auto &data = *g_macUtilsData();
for (auto &&proxy : std::as_const(data)) { for (auto &&proxy : std::as_const(data)) {
Q_ASSERT(proxy); Q_ASSERT(proxy);
if (!proxy) { if (!proxy) {