use std::optional<bool> for forward compat flag

This commit is contained in:
ConfiG 2024-01-14 16:00:33 +03:00
parent b70b64dfc9
commit 516a1c67da
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B
2 changed files with 763 additions and 765 deletions

File diff suppressed because it is too large Load diff

View file

@ -29,9 +29,8 @@ namespace geode {
public:
mutable std::mutex m_mutex;
bool m_forwardCompatModeSet = false;
std::string m_gdVersion;
bool m_forwardCompatMode = false;
std::optional<bool> m_forwardCompatMode;
std::vector<ghc::filesystem::path> m_modSearchDirectories;
std::vector<LoadProblem> m_problems;