summaryrefslogtreecommitdiff
path: root/test/util/merge_lines.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/merge_lines.test.cpp')
-rw-r--r--test/util/merge_lines.test.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/util/merge_lines.test.cpp b/test/util/merge_lines.test.cpp
index 5dc846ad6e..5137a245e5 100644
--- a/test/util/merge_lines.test.cpp
+++ b/test/util/merge_lines.test.cpp
@@ -19,11 +19,15 @@ LineString<int16_t> emptyLine;
class SymbolFeatureStub : public SymbolFeature {
public:
- SymbolFeatureStub(FeatureIdentifier id_, FeatureType type_, GeometryCollection geometry_,
- PropertyMap properties_, optional<std::u16string> text_,
- optional<std::string> icon_, std::size_t index_) :
- SymbolFeature(std::make_unique<StubGeometryTileFeature>(std::move(id_), type_, std::move(geometry_), std::move(properties_)))
- {
+ SymbolFeatureStub(FeatureIdentifier id_,
+ FeatureType type_,
+ GeometryCollection geometry_,
+ PropertyMap properties_,
+ optional<std::u16string> text_,
+ optional<style::expression::Image> icon_,
+ std::size_t index_)
+ : SymbolFeature(std::make_unique<StubGeometryTileFeature>(
+ std::move(id_), type_, std::move(geometry_), std::move(properties_))) {
if (text_) {
formattedText = TaggedString(*text_, SectionOptions(1.0, {}));
}