Fix macos shadowing

This commit is contained in:
Nicolas Werner 2022-08-05 22:10:22 +02:00
parent 9d8d6b4bca
commit cd289e0587
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -33,11 +33,11 @@ RoomSummary::RoomSummary(std::string roomIdOrAlias_,
http::client()->get_summary( http::client()->get_summary(
roomIdOrAlias, roomIdOrAlias,
[proxy = std::move(ctx)](const mtx::responses::PublicRoom &room, mtx::http::RequestErr e) { [proxy = std::move(ctx)](const mtx::responses::PublicRoom &room_, mtx::http::RequestErr e) {
if (e) { if (e) {
emit proxy->failed(); emit proxy->failed();
} else { } else {
emit proxy->loaded(room); emit proxy->loaded(room_);
} }
}, },
vias); vias);