mirror of
https://github.com/Chatterino/chatterino2.git
synced 2026-08-24 02:24:18 -05:00
deps: update magic_enum to v0.9.8 (#6980)
This commit is contained in:
+1
-1
Submodule lib/magic_enum updated: e55b9b54d5...1384769c66
@@ -57,7 +57,7 @@ template <typename BinaryPredicate>
|
||||
constexpr bool eq(
|
||||
QStringView a, QStringView b,
|
||||
[[maybe_unused]] BinaryPredicate &&
|
||||
p) noexcept(magic_enum::detail::is_nothrow_invocable<BinaryPredicate>())
|
||||
p) noexcept(magic_enum::detail::is_nothrow_invocable_v<BinaryPredicate>)
|
||||
{
|
||||
// Note: QStringView::operator== isn't constexpr
|
||||
if (a.size() != b.size())
|
||||
|
||||
@@ -71,7 +71,8 @@ inline constexpr auto TAGGED_DATA_STORAGE =
|
||||
template <typename C, typename E, typename Tag, E V>
|
||||
consteval auto enumTaggedDataStorage()
|
||||
{
|
||||
constexpr std::string_view utf8 = TAGGED_DATA_STORAGE<decltype(V), Tag, V>;
|
||||
constexpr std::string_view utf8 =
|
||||
TAGGED_DATA_STORAGE<decltype(V), Tag, V>.str();
|
||||
|
||||
static_assert(isLatin1<utf8.size()>(utf8),
|
||||
"Can't convert non-latin1 UTF8 to UTF16");
|
||||
|
||||
Reference in New Issue
Block a user