summaryrefslogtreecommitdiff
path: root/src/mbgl/text/tagged_string.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-17 16:45:41 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-10-23 12:23:40 +0200
commit729eeeb3f821981cc5d3c9e06ffbb85ed4d857d7 (patch)
tree896c896e65736d328f744d73a765e5730e0bafeb /src/mbgl/text/tagged_string.cpp
parentc87c25cc8407c33e4d88390836a9a52a1626c19e (diff)
downloadqtlocation-mapboxgl-729eeeb3f821981cc5d3c9e06ffbb85ed4d857d7.tar.gz
[core] remove use of <boost/algorithm/string.hpp>
Diffstat (limited to 'src/mbgl/text/tagged_string.cpp')
-rw-r--r--src/mbgl/text/tagged_string.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mbgl/text/tagged_string.cpp b/src/mbgl/text/tagged_string.cpp
index e199a7c962..851e011c4f 100644
--- a/src/mbgl/text/tagged_string.cpp
+++ b/src/mbgl/text/tagged_string.cpp
@@ -1,8 +1,6 @@
#include <mbgl/text/tagged_string.hpp>
#include <mbgl/util/i18n.hpp>
-#include <boost/algorithm/string.hpp>
-
namespace mbgl {
void TaggedString::addSection(const std::u16string& sectionText, double scale, FontStackHash fontStack) {
@@ -12,7 +10,6 @@ void TaggedString::addSection(const std::u16string& sectionText, double scale, F
}
void TaggedString::trim() {
- auto whiteSpace = boost::algorithm::is_any_of(u" \t\n\v\f\r");
std::size_t beginningWhitespace = styledText.first.find_first_not_of(u" \t\n\v\f\r");
if (beginningWhitespace == std::u16string::npos) {
// Entirely whitespace