diff options
Diffstat (limited to 'src/mbgl/style/sources/custom_geometry_source_impl.cpp')
-rw-r--r-- | src/mbgl/style/sources/custom_geometry_source_impl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/style/sources/custom_geometry_source_impl.cpp b/src/mbgl/style/sources/custom_geometry_source_impl.cpp index 95da377277..e456bd8719 100644 --- a/src/mbgl/style/sources/custom_geometry_source_impl.cpp +++ b/src/mbgl/style/sources/custom_geometry_source_impl.cpp @@ -13,6 +13,10 @@ CustomGeometrySource::Impl::Impl(std::string id_, CustomGeometrySource::Options CustomGeometrySource::Impl::Impl(const Impl& impl, ActorRef<CustomTileLoader> loaderRef_) : Source::Impl(impl), tileOptions(impl.tileOptions), zoomRange(impl.zoomRange), loaderRef(loaderRef_) {} +bool CustomGeometrySource::Impl::operator!=(const Impl& other) const noexcept { + return tileOptions != other.tileOptions || zoomRange != other.zoomRange || bool(loaderRef) != bool(other.loaderRef); +} + optional<std::string> CustomGeometrySource::Impl::getAttribution() const { return {}; } |