[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

@@ -469,7 +469,7 @@ void Map::addCustomLayer(const std::string& id,
const char* before) {
context->invoke(&MapContext::addLayer,
std::make_unique<CustomLayer>(id, initialize, render, deinitialize, context_),
before ? std::string(before) : mapbox::util::optional<std::string>());
before ? std::string(before) : optional<std::string>());
}
void Map::removeCustomLayer(const std::string& id) {