Fix std::optional related compilation errors on some platforms

This commit is contained in:
Jonathan G Rennison
2023-06-05 20:04:13 +01:00
parent 3d382fe531
commit ffb4548f1b
4 changed files with 6 additions and 4 deletions

View File

@@ -2549,7 +2549,7 @@ class LanguagePackGlyphSearcher : public MissingGlyphSearcher {
return FS_NORMAL;
}
std::optional<std::string_view> NextString() override
opt::optional<std::string_view> NextString() override
{
if (this->i >= TEXT_TAB_END) return std::nullopt;