Use std::optional instead of mbgl::optional (#911)
This commit is contained in:
@@ -41,7 +41,7 @@ std::string read_file(const std::string &filename) {
|
||||
}
|
||||
}
|
||||
|
||||
optional<std::string> readFile(const std::string &filename) {
|
||||
std::optional<std::string> readFile(const std::string &filename) {
|
||||
std::ifstream file(filename, std::ios::binary);
|
||||
if (file.good()) {
|
||||
std::stringstream data;
|
||||
|
||||
Reference in New Issue
Block a user