diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-07-24 20:58:54 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-08-08 14:14:34 +0300 |
commit | 83bd4c213583058340d0606f2d24c85489091ccf (patch) | |
tree | 90086452ff7bd0d3bc58f8670b76e96df52d7d6a /test | |
parent | 15a26231474d08e3884e424601b609c53d7ef086 (diff) | |
download | qtlocation-mapboxgl-83bd4c213583058340d0606f2d24c85489091ccf.tar.gz |
[core] Replace remaining dynamic_cast with static_cast
Diffstat (limited to 'test')
-rw-r--r-- | test/map/map.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp index 8e2d9cb9cd..cb45c2900b 100644 --- a/test/map/map.test.cpp +++ b/test/map/map.test.cpp @@ -207,7 +207,7 @@ TEST(Map, SetStyleInvalidJSON) { EXPECT_TRUE(fail); auto observer = Log::removeObserver(); - auto flo = dynamic_cast<FixtureLogObserver*>(observer.get()); + auto flo = static_cast<FixtureLogObserver*>(observer.get()); EXPECT_EQ(1u, flo->count({ EventSeverity::Error, Event::ParseStyle, -1, "Failed to parse style: 0 - Invalid value." })); auto unchecked = flo->unchecked(); |