[build] Use mapbox-base optional

This commit is contained in:
Bruno de Oliveira Abinader
2019-07-29 11:18:57 +03:00
parent 41e30343f7
commit 6f0cda8c8b
15 changed files with 23 additions and 49 deletions

View File

@@ -176,7 +176,7 @@ std::vector<std::string> split(const std::string& s, char delim) {
return elems;
}
optional<Color> parse(const std::string& css_str) {
mbgl::optional<Color> parse(const std::string& css_str) {
std::string str = css_str;
// Remove all whitespace, not compliant, but should just be more accepting.