1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 17:32:45 +01:00

Codechange: introduce GetEnv that returns optional based on std::getenv

This commit is contained in:
Rubidium
2025-05-03 11:44:34 +02:00
committed by rubidium42
parent 04a6a55e94
commit 96fd291693
4 changed files with 25 additions and 25 deletions

View File

@@ -167,4 +167,6 @@ inline bool IsWhitespace(char32_t c)
#include <sys/param.h>
#endif
std::optional<std::string_view> GetEnv(const char *variable);
#endif /* STRING_FUNC_H */