aboutsummaryrefslogtreecommitdiffstats
path: root/common/strutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/strutils.h')
-rw-r--r--common/strutils.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/common/strutils.h b/common/strutils.h
index 0c7a0e22..67f057a7 100644
--- a/common/strutils.h
+++ b/common/strutils.h
@@ -1,10 +1,9 @@
#ifndef AL_STRUTILS_H
#define AL_STRUTILS_H
+#include <optional>
#include <string>
-#include "aloptional.h"
-
#ifdef _WIN32
#include <wchar.h>
@@ -14,9 +13,9 @@ std::wstring utf8_to_wstr(const char *str);
namespace al {
-al::optional<std::string> getenv(const char *envname);
+std::optional<std::string> getenv(const char *envname);
#ifdef _WIN32
-al::optional<std::wstring> getenv(const wchar_t *envname);
+std::optional<std::wstring> getenv(const wchar_t *envname);
#endif
} // namespace al