From 634a247b4ccc8599b61d8b1e5a36bd342bb7e6f6 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 26 Oct 2023 01:42:01 +0200 Subject: [PATCH] Fix macos not supporting emplace of aggregates yet --- src/ui/UserProfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp index 1b66a97d..338f3658 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp @@ -264,7 +264,7 @@ UserProfile::setIgnored(bool ignore) std::vector content; for (const QString &item : std::as_const(old)) { - content.emplace_back(item.toStdString()); + content.push_back({item.toStdString()}); } mtx::events::account_data::IgnoredUsers payload{.users{content}};