summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-12-15 04:13:57 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2018-01-08 22:58:20 +0200
commitaf9bb97e47cfadbd63231d8a09d874cad9916285 (patch)
treeda636e372ab3392c25ae2f2511e12cde4bc573a8 /include
parent5b789aa4d69164b50d5212623f289350e30987da (diff)
downloadqtlocation-mapboxgl-af9bb97e47cfadbd63231d8a09d874cad9916285.tar.gz
[windows][core] Add missing != operator to Tileset
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/tileset.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/util/tileset.hpp b/include/mbgl/util/tileset.hpp
index 7bef0e89ed..1b7b8f0f75 100644
--- a/include/mbgl/util/tileset.hpp
+++ b/include/mbgl/util/tileset.hpp
@@ -37,6 +37,10 @@ public:
return std::tie(lhs.tiles, lhs.zoomRange, lhs.attribution, lhs.scheme, lhs.bounds)
== std::tie(rhs.tiles, rhs.zoomRange, rhs.attribution, rhs.scheme, rhs.bounds);
}
+
+ friend bool operator!=(const Tileset& lhs, const Tileset& rhs) {
+ return !(lhs == rhs);
+ }
};
} // namespace mbgl