From ce76bde13d0f4381ee861f81daf636defaff0bc5 Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Tue, 2 Oct 2018 17:03:50 -0700 Subject: [core] Initial implementation of 'format' expression --- test/util/merge_lines.test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/util/merge_lines.test.cpp') diff --git a/test/util/merge_lines.test.cpp b/test/util/merge_lines.test.cpp index d3a2ebae03..032a09ba21 100644 --- a/test/util/merge_lines.test.cpp +++ b/test/util/merge_lines.test.cpp @@ -24,7 +24,9 @@ public: optional icon_, std::size_t index_) : SymbolFeature(std::make_unique(std::move(id_), type_, std::move(geometry_), std::move(properties_))) { - text = std::move(text_); + if (text_) { + formattedText = TaggedString(*text_, SectionOptions(1.0, 0)); + } icon = std::move(icon_); index = index_; } -- cgit v1.2.1