Use std::optional instead of mbgl::optional (#911)
This commit is contained in:
@@ -38,7 +38,7 @@ std::unique_ptr<Layer> CustomLayer::cloneRef(const std::string&) const {
|
||||
|
||||
using namespace conversion;
|
||||
|
||||
optional<Error> CustomLayer::setPropertyInternal(const std::string&, const Convertible&) {
|
||||
std::optional<Error> CustomLayer::setPropertyInternal(const std::string&, const Convertible&) {
|
||||
return Error { "layer doesn't support this property" };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user