aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-09-03 22:32:50 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-09-03 22:32:50 +0200
commit787601f22025fc33bbcff768ebc6e554ec2809a2 (patch)
tree0f51e5121b314abe085759c07f6aad813e49f434 /lib/room.cpp
parent813c8e3fe0da9ee3b46fff1618d3e4ed05f2c429 (diff)
downloadlibquotient-787601f22025fc33bbcff768ebc6e554ec2809a2.tar.gz
libquotient-787601f22025fc33bbcff768ebc6e554ec2809a2.zip
Address clazy warnings
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp2
1 files changed, 1 insertions, 1 deletions
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<RoomAliasesEvent>(s)->aliases();
return result;
}