[core] Use experimental optional instead of mapbox::util::optional

This commit is contained in:
John Firebaugh
2016-01-19 14:47:58 -08:00
parent 48cced9e31
commit 9b62661b07
30 changed files with 87 additions and 80 deletions

View File

@@ -279,7 +279,7 @@ double MapContext::getTopOffsetPixelsForAnnotationIcon(const std::string& name)
return data.getAnnotationManager()->getTopOffsetPixelsForIcon(name);
}
void MapContext::addLayer(std::unique_ptr<StyleLayer> layer, mapbox::util::optional<std::string> after) {
void MapContext::addLayer(std::unique_ptr<StyleLayer> layer, optional<std::string> after) {
style->addLayer(std::move(layer), after);
updateFlags |= Update::Classes;
asyncUpdate.send();