summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Pavlenko <artem@mapnik.org>2020-02-13 15:05:47 +0000
committerArtem Pavlenko <artem@mapnik.org>2020-02-13 15:05:47 +0000
commit37a4660ca367f141b9e0dedf3932c74f0ee0c920 (patch)
tree4e2a50fa7005d64b9c84e3c728266746f7115374
parentc3dc96b4d35c2aef659796a72c9a4063cec6625e (diff)
downloadqtlocation-mapboxgl-37a4660ca367f141b9e0dedf3932c74f0ee0c920.tar.gz
update style.test
-rw-r--r--test/style/style.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/style.test.cpp b/test/style/style.test.cpp
index 01ecaf8578..d968998165 100644
--- a/test/style/style.test.cpp
+++ b/test/style/style.test.cpp
@@ -129,7 +129,7 @@ TEST(Style, SourceImplsOrder) {
TEST(Style, AddRemoveImage) {
util::RunLoop loop;
auto fileSource = std::make_shared<StubFileSource>();
- Style::Impl style{fileSource, 1.0};
+ StyleImpl style{fileSource, 1.0};
style.addImage(std::make_unique<style::Image>("one", PremultipliedImage({16, 16}), 2));
style.addImage(std::make_unique<style::Image>("two", PremultipliedImage({16, 16}), 2));
style.addImage(std::make_unique<style::Image>("three", PremultipliedImage({16, 16}), 2));
@@ -140,4 +140,4 @@ TEST(Style, AddRemoveImage) {
EXPECT_TRUE(!!style.getImage("three"));
EXPECT_FALSE(!!style.getImage("two"));
EXPECT_FALSE(!!style.getImage("four"));
-} \ No newline at end of file
+}