summaryrefslogtreecommitdiff
path: root/test/algorithm
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-07-04 18:26:50 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-07-06 12:32:54 +0200
commit107622a72ba6929bdd70e42d96c16b62c9f65dd7 (patch)
treecc24f68de0b8171c8454651ce63524cb049a6f81 /test/algorithm
parent6d526c7b1dad81c8da1cf0d221d0b83ed2be9862 (diff)
downloadqtlocation-mapboxgl-107622a72ba6929bdd70e42d96c16b62c9f65dd7.tar.gz
[core] don't use unordered_* collections for things we need to sort anyway
Diffstat (limited to 'test/algorithm')
-rw-r--r--test/algorithm/generate_clip_ids.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/algorithm/generate_clip_ids.test.cpp b/test/algorithm/generate_clip_ids.test.cpp
index 730dc7b7f3..404ab79912 100644
--- a/test/algorithm/generate_clip_ids.test.cpp
+++ b/test/algorithm/generate_clip_ids.test.cpp
@@ -10,7 +10,7 @@ struct Renderable {
bool used = true;
bool operator==(const Renderable& rhs) const {
- return clip == rhs.clip;
+ return id == rhs.id && clip == rhs.clip;
}
};