aboutsummaryrefslogtreecommitdiffstats
path: root/core/cpu_caps.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-04 08:03:40 -0700
committerChris Robinson <[email protected]>2023-05-04 08:03:40 -0700
commit7cda37a67c8f147536c53f0073df9a9e61d40587 (patch)
tree68a0997c94ec905dd3438f26418234bf63aa76f4 /core/cpu_caps.h
parent40483b512218bab50fccaaeb11b51e5ca528fbe1 (diff)
Replace al::optional with std::optional
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 */