aboutsummaryrefslogtreecommitdiffstats
path: root/core/cpu_caps.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-11-28 12:51:46 +0100
committerSven Gothel <[email protected]>2023-11-28 12:51:46 +0100
commit1aaf4f070011490bcece50394b9b32dfa593fd9e (patch)
tree17d68284e401a35eea3d3a574d986d446a60763a /core/cpu_caps.h
parent6e7cee4fa9a8af03f28ca26cd89f8357390dfc90 (diff)
parent571b546f35eead77ce109f8d4dd6c3de3199d573 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'core/cpu_caps.h')
-rw-r--r--core/cpu_caps.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/cpu_caps.h b/core/cpu_caps.h
index ffd671d0..0826a49b 100644
--- a/core/cpu_caps.h
+++ b/core/cpu_caps.h
@@ -1,10 +1,9 @@
#ifndef CORE_CPU_CAPS_H
#define CORE_CPU_CAPS_H
+#include <optional>
#include <string>
-#include "aloptional.h"
-
extern int CPUCapFlags;
enum {
@@ -21,6 +20,6 @@ struct CPUInfo {
int mCaps{0};
};
-al::optional<CPUInfo> GetCPUInfo();
+std::optional<CPUInfo> GetCPUInfo();
#endif /* CORE_CPU_CAPS_H */