From fbbfea8e8e536800a6a911eb90cecdd1f343f9e3 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 5 Aug 2022 21:10:17 -0700 Subject: Replace Common::BitCast with std::bit_cast --- Source/Core/DolphinQt/Debugger/ThreadWidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinQt/Debugger/ThreadWidget.cpp') 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 + #include #include #include @@ -11,7 +13,6 @@ #include #include -#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(table->at(index)), 16, 16, - QLatin1Char('0')); + return QStringLiteral("%1").arg(std::bit_cast(table->at(index)), 16, 16, QLatin1Char('0')); }; m_context_table->setRowCount(0); -- cgit v1.2.3