mirror of
https://github.com/Chatterino/chatterino2.git
synced 2026-08-24 10:04:53 -05:00
chore: require 202211 for expected from std (#7054)
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <version>
|
||||
|
||||
#if __cpp_lib_expected >= 202202L
|
||||
#if __cpp_lib_expected >= 202211L
|
||||
# include <expected>
|
||||
#else
|
||||
# define CHATTERINO_USING_NONSTD_EXPECTED
|
||||
@@ -19,7 +19,7 @@ class QString;
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
#if __cpp_lib_expected >= 202202L
|
||||
#if __cpp_lib_expected >= 202211L
|
||||
template <typename T, typename E>
|
||||
using Expected = std::expected<T, E>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user