diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-12-15 04:13:57 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-12-15 17:06:03 +0200 |
commit | 45a8fb8964d25bca70469346a9d8959d0e32ce98 (patch) | |
tree | bda9c19789701b55525a909be45602aea14fc1c4 | |
parent | 5f2f9a755f89fdf92c54e5326f9807a7e3f722e3 (diff) | |
download | qtlocation-mapboxgl-45a8fb8964d25bca70469346a9d8959d0e32ce98.tar.gz |
[windows][core] Add missing != operator to Tileset
-rw-r--r-- | include/mbgl/util/tileset.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/util/tileset.hpp b/include/mbgl/util/tileset.hpp index 5a03e1a9da..ac3d8d182b 100644 --- a/include/mbgl/util/tileset.hpp +++ b/include/mbgl/util/tileset.hpp @@ -34,6 +34,11 @@ public: return std::tie(lhs.tiles, lhs.zoomRange, lhs.attribution, lhs.scheme) == std::tie(rhs.tiles, rhs.zoomRange, rhs.attribution, rhs.scheme); } + + friend bool operator!=(const Tileset& lhs, const Tileset& rhs) { + return std::tie(lhs.tiles, lhs.zoomRange, lhs.attribution, lhs.scheme) + != std::tie(rhs.tiles, rhs.zoomRange, rhs.attribution, rhs.scheme); + } }; } // namespace mbgl |