diff options
Diffstat (limited to 'src/mbgl/style/image_impl.hpp')
-rw-r--r-- | src/mbgl/style/image_impl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/style/image_impl.hpp b/src/mbgl/style/image_impl.hpp index 76a68017e2..11ceab4838 100644 --- a/src/mbgl/style/image_impl.hpp +++ b/src/mbgl/style/image_impl.hpp @@ -48,5 +48,8 @@ using ImageMap = std::unordered_map<std::string, Immutable<style::Image::Impl>>; using ImageDependencies = std::unordered_map<std::string, ImageType>; using ImageRequestPair = std::pair<ImageDependencies, uint64_t>; using ImageVersionMap = std::unordered_map<std::string, uint32_t>; +inline bool operator<(const Immutable<mbgl::style::Image::Impl>& a, const Immutable<mbgl::style::Image::Impl>& b) { + return a->id < b->id; +} } // namespace mbgl |