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

@@ -15,7 +15,7 @@
#include "gfx_type.h"
#include "core/bitmath_func.hpp"
#include "vehicle_type.h"
#include "3rdparty/optional/ottd_optional.h"
#include <optional>
/**
* Extract the StringTab from a StringID.
@@ -267,7 +267,7 @@ public:
* Get the next string to search through.
* @return The next string or nullopt if there is none.
*/
virtual opt::optional<std::string_view> NextString() = 0;
virtual std::optional<std::string_view> NextString() = 0;
/**
* Get the default (font) size of the string.