aboutsummaryrefslogtreecommitdiff
path: root/events
diff options
context:
space:
mode:
authorRoman Plášil <me@rplasil.name>2018-03-01 23:46:35 +0800
committerRoman Plášil <me@rplasil.name>2018-03-03 18:19:53 +0800
commit4916c0b65f8415db1e189e7a9963fce71d3b8b71 (patch)
tree15d0d96d54b971d2f514aee45d2cd30990c17506 /events
parente15645d0e7afc0f45727d0d6611445fc26ef5219 (diff)
downloadlibquotient-4916c0b65f8415db1e189e7a9963fce71d3b8b71.tar.gz
libquotient-4916c0b65f8415db1e189e7a9963fce71d3b8b71.zip
Improve compatibility with gcc 4.9 to be able to build for Android with QtCreator
Diffstat (limited to 'events')
-rw-r--r--events/tagevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/events/tagevent.cpp b/events/tagevent.cpp
index 886a10c6..c643ac62 100644
--- a/events/tagevent.cpp
+++ b/events/tagevent.cpp
@@ -44,7 +44,7 @@ QStringList TagEvent::tagNames() const
QHash<QString, TagRecord> TagEvent::tags() const
{
QHash<QString, TagRecord> result;
- auto allTags { tagsObject() };
+ auto allTags = tagsObject();
for (auto it = allTags.begin(); it != allTags.end(); ++ it)
result.insert(it.key(), TagRecord(it.value().toObject()));
return result;