summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-05-04 08:24:59 +0100
committerGitHub <noreply@github.com>2024-05-04 08:24:59 +0100
commitc442c0d5e5dc993562b43871a7548d64bc82a1ad (patch)
treef8d0e97e62b7212788ef1d121598e160fb163662 /Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
parentc23562b7b5f43d27dab62ce6e3a25a2c3c35aed4 (diff)
parentfbbfea8e8e536800a6a911eb90cecdd1f343f9e3 (diff)
Merge pull request #10957 from Pokechu22/std-bitcast
Replace Common::BitCast with std::bit_cast
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/ThreadWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/ThreadWidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
index 12f13f956d..e48097d0e4 100644
--- a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
@@ -3,6 +3,8 @@
#include "DolphinQt/Debugger/ThreadWidget.h"
+#include <bit>
+
#include <QGroupBox>
#include <QHeaderView>
#include <QLabel>
@@ -11,7 +13,6 @@
#include <QTableWidget>
#include <QVBoxLayout>
-#include "Common/BitUtils.h"
#include "Core/Core.h"
#include "Core/PowerPC/MMU.h"
#include "Core/PowerPC/PowerPC.h"
@@ -363,8 +364,7 @@ void ThreadWidget::UpdateThreadContext(const Common::Debug::PartialContext& cont
const auto format_f64_as_u64_idx = [](const auto& table, std::size_t index) {
if (!table || index >= table->size())
return QString{};
- return QStringLiteral("%1").arg(Common::BitCast<u64>(table->at(index)), 16, 16,
- QLatin1Char('0'));
+ return QStringLiteral("%1").arg(std::bit_cast<u64>(table->at(index)), 16, 16, QLatin1Char('0'));
};
m_context_table->setRowCount(0);