From 787601f22025fc33bbcff768ebc6e554ec2809a2 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 3 Sep 2020 22:32:50 +0200 Subject: Address clazy warnings --- lib/room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/room.cpp') diff --git a/lib/room.cpp b/lib/room.cpp index 0a4e041b..6b2b7b23 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -553,7 +553,7 @@ QStringList Room::localAliases() const QStringList Room::remoteAliases() const { QStringList result; - for (const auto& s : d->aliasServers) + for (const auto& s : std::as_const(d->aliasServers)) result += d->getCurrentState(s)->aliases(); return result; } -- cgit v1.2.3