diff options
Diffstat (limited to 'include/mbgl/map/backend.hpp')
-rw-r--r-- | include/mbgl/map/backend.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/map/backend.hpp b/include/mbgl/map/backend.hpp index 884c4b5256..69a998709b 100644 --- a/include/mbgl/map/backend.hpp +++ b/include/mbgl/map/backend.hpp @@ -3,6 +3,7 @@ #include <mbgl/map/map_observer.hpp> #include <mbgl/util/image.hpp> #include <mbgl/util/size.hpp> +#include <mbgl/util/util.hpp> #include <memory> #include <mutex> @@ -80,4 +81,8 @@ private: friend class BackendScope; }; +constexpr bool operator==(const Backend& a, const Backend& b) { + return &a == &b; +} + } // namespace mbgl |