diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2026-01-17 22:32:53 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-17 22:32:53 -0600 |
| commit | 6d40f4e897035211be746ea42e6388f384822ad9 (patch) | |
| tree | b09445c77fbed30f3b62e446156bf2761a17ed3b /Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp | |
| parent | 035bcffc63ecc803abeb6987f66a5b2f78f5f0bc (diff) | |
| parent | e822cc3715b94b6736fbadbac748e8c09973df24 (diff) | |
Merge pull request #14265 from JoshuaVandaele/std-unreachable
c++23: Replace Common::Unreachable with std::unreachable
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 |
