diff options
| author | Karol Kosek <krkk@krkk.ct8.pl> | 2020-12-30 17:34:12 +0100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2020-12-30 20:31:39 +0100 |
| commit | cf4568bb5d5d6d098e411461c28b832908e965a7 (patch) | |
| tree | 6c629e655278d4f9e2bc9cade34d8f8611bd1134 /src/trustedhostcollection.cpp | |
| parent | 91e3729fe67cd7bd645c9babbbfe11ea31ad7229 (diff) | |
| download | kristall-cf4568bb5d5d6d098e411461c28b832908e965a7.tar.gz | |
Use const variables
Diffstat (limited to 'src/trustedhostcollection.cpp')
| -rw-r--r-- | src/trustedhostcollection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trustedhostcollection.cpp b/src/trustedhostcollection.cpp index 57a45df..5171fd3 100644 --- a/src/trustedhostcollection.cpp +++ b/src/trustedhostcollection.cpp @@ -104,7 +104,7 @@ void TrustedHostCollection::clear() bool TrustedHostCollection::insert(const TrustedHost &host) { - for(auto const & item : items) + for(auto const & item : qAsConst(items)) { if(item.host_name == host.host_name) return false; |
