Remove src/3rdparty/optional

This commit is contained in:
Jonathan G Rennison
2023-06-05 21:25:52 +01:00
parent ab83725d73
commit bc07331056
14 changed files with 23 additions and 1025 deletions

View File

@@ -14,7 +14,7 @@
#include "strings_func.h"
#include "textfile_type.h"
#include "window_gui.h"
#include "3rdparty/optional/ottd_optional.h"
#include <optional>
const char *GetTextfile(TextfileType type, Subdirectory dir, const char *filename);
@@ -37,7 +37,7 @@ struct TextfileWindow : public Window, MissingGlyphSearcher {
void Reset() override;
FontSize DefaultSize() override;
opt::optional<std::string_view> NextString() override;
std::optional<std::string_view> NextString() override;
bool Monospace() override;
void SetFontNames(FontCacheSettings *settings, const char *font_name, const void *os_data) override;