From cc1ea759a681cadcfd06fd7bdda79ca6deb38c62 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 15 May 2017 14:09:06 -0700 Subject: [core, node, darwin, android, qt] Make image ID part of Image More like Source and Layer. --- src/mbgl/style/image_impl.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/mbgl/style/image_impl.cpp') diff --git a/src/mbgl/style/image_impl.cpp b/src/mbgl/style/image_impl.cpp index 910bffa905..ce327262e8 100644 --- a/src/mbgl/style/image_impl.cpp +++ b/src/mbgl/style/image_impl.cpp @@ -4,10 +4,12 @@ namespace mbgl { namespace style { -Image::Impl::Impl(PremultipliedImage&& image_, - const float pixelRatio_, - bool sdf_) - : image(std::move(image_)), +Image::Impl::Impl(std::string id_, + PremultipliedImage&& image_, + const float pixelRatio_, + bool sdf_) + : id(std::move(id_)), + image(std::move(image_)), pixelRatio(pixelRatio_), sdf(sdf_) { -- cgit v1.2.1