diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-27 16:41:48 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-01 09:33:37 +0100 |
commit | c53cbe52461e3c1f6f4e1bb6383a6a2e3e5a2cae (patch) | |
tree | d4a2e81a7012ee1843900a52e8ddea1117dbaf23 /src/mbgl/layout | |
parent | 95deab32ceadd2bca3912d866e76c6b0f1b931f4 (diff) | |
download | qtlocation-mapboxgl-c53cbe52461e3c1f6f4e1bb6383a6a2e3e5a2cae.tar.gz |
[core] include what you use
Diffstat (limited to 'src/mbgl/layout')
-rw-r--r-- | src/mbgl/layout/pattern_layout.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layout/pattern_layout.hpp b/src/mbgl/layout/pattern_layout.hpp index 744f6ab170..8dabfab919 100644 --- a/src/mbgl/layout/pattern_layout.hpp +++ b/src/mbgl/layout/pattern_layout.hpp @@ -46,7 +46,7 @@ public: for (const auto& layer : layers) { const typename B::PossiblyEvaluatedPaintProperties evaluatedProps = static_cast<const PatternLayer*>(layer)->evaluated; const auto patternProperty = evaluatedProps.template get<typename PatternLayer::PatternProperty>(); - const auto constantPattern = patternProperty.constantOr(Faded<std::basic_string<char> >{ "", ""}); + const auto constantPattern = patternProperty.constantOr({ "", "" }); // determine if layer group has any layers that use *-pattern property and add // constant pattern dependencies. if (!patternProperty.isConstant()) { |