Use std::optional instead of mbgl::optional (#911)
This commit is contained in:
@@ -31,8 +31,8 @@ public:
|
||||
return id;
|
||||
}
|
||||
|
||||
optional<Value> getValue(const std::string& key) const override {
|
||||
return properties.count(key) ? properties.at(key) : optional<Value>();
|
||||
std::optional<Value> getValue(const std::string& key) const override {
|
||||
return properties.count(key) ? properties.at(key) : std::optional<Value>();
|
||||
}
|
||||
|
||||
const GeometryCollection& getGeometries() const override {
|
||||
|
||||
Reference in New Issue
Block a user