diff options
| author | Joshua Vandaƫle <joshua@vandaele.software> | 2026-01-08 22:51:39 +0100 |
|---|---|---|
| committer | Joshua Vandaƫle <joshua@vandaele.software> | 2026-01-17 23:53:21 +0100 |
| commit | e822cc3715b94b6736fbadbac748e8c09973df24 (patch) | |
| tree | 654951d452263527ae575f8e3b602033ac154565 /Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp | |
| parent | b556bd99d72d996364f423b663af5d02a9610c4f (diff) | |
c++23: Replace Common::Unreachable with std::unreachable
Requires at least GCC 12, Clang 15, MSVC 19.32, or AppleClang 14.0.3.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp b/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp index 3911b6c311..25701d26f4 100644 --- a/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp +++ b/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp @@ -5,9 +5,9 @@ #include <array> #include <span> +#include <utility> #include "Common/Assert.h" -#include "Common/Unreachable.h" #include "Core/Core.h" #include "Core/PowerPC/JitInterface.h" #include "Core/PowerPC/PPCSymbolDB.h" @@ -284,7 +284,7 @@ QVariant JitBlockTableModel::DisplayRoleData(const QModelIndex& index) const } } static_assert(Column::NumberOfColumns == 14); - Common::Unreachable(); + std::unreachable(); } QVariant JitBlockTableModel::TextAlignmentRoleData(const QModelIndex& index) const @@ -310,7 +310,7 @@ QVariant JitBlockTableModel::TextAlignmentRoleData(const QModelIndex& index) con return QVariant::fromValue(Qt::AlignLeft | Qt::AlignVCenter); } static_assert(Column::NumberOfColumns == 14); - Common::Unreachable(); + std::unreachable(); } QVariant JitBlockTableModel::SortRoleData(const QModelIndex& index) const @@ -358,7 +358,7 @@ QVariant JitBlockTableModel::SortRoleData(const QModelIndex& index) const return static_cast<double>(profile_data->time_spent.count()) / profile_data->run_count; } static_assert(Column::NumberOfColumns == 14); - Common::Unreachable(); + std::unreachable(); } QVariant JitBlockTableModel::data(const QModelIndex& index, int role) const |
