diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-13 17:57:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-13 17:57:32 +0300 |
commit | c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf (patch) | |
tree | 37b78a9b847d938b5a34acf2f000fef3f31eef44 /src/gui/models | |
parent | 1302ad311b666459c4de36420af09c2a1e7867d0 (diff) | |
download | plus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.gz plus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.bz2 plus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.tar.xz plus-c4d8fa788e0f89d73ba5ae2b66b79ad0351c5fbf.zip |
Add missing const references to constructor parameters.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/worldlistmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/models/worldlistmodel.h b/src/gui/models/worldlistmodel.h index 4436f848c..f22c808bb 100644 --- a/src/gui/models/worldlistmodel.h +++ b/src/gui/models/worldlistmodel.h @@ -35,7 +35,7 @@ class WorldListModel final : public ListModel { public: - explicit WorldListModel(Worlds worlds) : + explicit WorldListModel(const Worlds &worlds) : mWorlds(worlds) { } |