VERY experimental Nintendo Switch 2 emulator
C++
style: Remove extra space preceding the :: operator
Morph203d8f7f60ad
diff --git a/src/core/file_sys/program_metadata.cpp b/src/core/file_sys/program_metadata.cppindex 01ae1a5676..35a53d36c2 100644--- a/src/core/file_sys/program_metadata.cpp+++ b/src/core/file_sys/program_metadata.cpp@@ -77,7 +77,7 @@ void ProgramMetadata::LoadManual(bool is_64_bit, ProgramAddressSpaceType addressaci_header.title_id = title_id;aci_file_access.permissions = filesystem_permissions;npdm_header.system_resource_size = system_resource_size;- aci_kernel_capabilities = std ::move(capabilities);+ aci_kernel_capabilities = std::move(capabilities);}bool ProgramMetadata::Is64BitProgram() const {diff --git a/src/core/hle/kernel/k_handle_table.cpp b/src/core/hle/kernel/k_handle_table.cppindex 6a420d5b0a..44d13169f6 100644--- a/src/core/hle/kernel/k_handle_table.cpp+++ b/src/core/hle/kernel/k_handle_table.cpp@@ -7,7 +7,7 @@namespace Kernel {KHandleTable::KHandleTable(KernelCore& kernel_) : kernel{kernel_} {}-KHandleTable ::~KHandleTable() = default;+KHandleTable::~KHandleTable() = default;ResultCode KHandleTable::Finalize() {// Get the table and clear our record of it.diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cppindex c930996aba..8c363142ca 100644--- a/src/core/hle/service/hid/hid.cpp+++ b/src/core/hle/service/hid/hid.cpp@@ -106,7 +106,7 @@ void IAppletResource::DeactivateController(HidController controller) {controllers[static_cast<size_t>(controller)]->DeactivateController();}-IAppletResource ::~IAppletResource() {+IAppletResource::~IAppletResource() {system.CoreTiming().UnscheduleEvent(pad_update_event, 0);system.CoreTiming().UnscheduleEvent(motion_update_event, 0);}diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cppindex a33e47d0bd..7890002948 100644--- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp+++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp@@ -16,7 +16,7 @@ namespace Service::Nvidia::Devices {nvdisp_disp0::nvdisp_disp0(Core::System& system_, std::shared_ptr<nvmap> nvmap_dev_): nvdevice{system_}, nvmap_dev{std::move(nvmap_dev_)} {}-nvdisp_disp0 ::~nvdisp_disp0() = default;+nvdisp_disp0::~nvdisp_disp0() = default;NvResult nvdisp_disp0::Ioctl1(DeviceFD fd, Ioctl command, const std::vector<u8>& input,std::vector<u8>& output) {diff --git a/src/core/hle/service/time/system_clock_core.cpp b/src/core/hle/service/time/system_clock_core.cppindex bd334bbefb..5c2354cddd 100644--- a/src/core/hle/service/time/system_clock_core.cpp+++ b/src/core/hle/service/time/system_clock_core.cpp@@ -13,7 +13,7 @@ SystemClockCore::SystemClockCore(SteadyClockCore& steady_clock_core_)context.steady_time_point.clock_source_id = steady_clock_core.GetClockSourceId();}-SystemClockCore ::~SystemClockCore() = default;+SystemClockCore::~SystemClockCore() = default;ResultCode SystemClockCore::GetCurrentTime(Core::System& system, s64& posix_time) const {posix_time = 0;diff --git a/src/core/hle/service/time/time_zone_service.cpp b/src/core/hle/service/time/time_zone_service.cppindex 5c31087683..3871e73161 100644--- a/src/core/hle/service/time/time_zone_service.cpp+++ b/src/core/hle/service/time/time_zone_service.cpp@@ -10,8 +10,8 @@namespace Service::Time {-ITimeZoneService ::ITimeZoneService(Core::System& system_,- TimeZone::TimeZoneContentManager& time_zone_manager_)+ITimeZoneService::ITimeZoneService(Core::System& system_,+ TimeZone::TimeZoneContentManager& time_zone_manager_): ServiceFramework{system_, "ITimeZoneService"}, time_zone_content_manager{time_zone_manager_} {static const FunctionInfo functions[] = {{0, &ITimeZoneService::GetDeviceLocationName, "GetDeviceLocationName"},diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cppindex 580063fa9f..170db269ae 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp@@ -58,8 +58,8 @@ void GetCbuf(EmitContext& ctx, std::string_view ret, const IR::Value& binding,const auto cbuf{fmt::format("{}_cbuf{}", ctx.stage_name, binding.U32())};const auto cbuf_cast{fmt::format("{}({}[{}]{{}})", cast, cbuf, index)};const auto extraction{num_bits == 32 ? cbuf_cast- : fmt ::format("bitfieldExtract({},int({}),{})", cbuf_cast,- bit_offset, num_bits)};+ : fmt::format("bitfieldExtract({},int({}),{})", cbuf_cast,+ bit_offset, num_bits)};if (!component_indexing_bug) {const auto result{fmt::format(fmt::runtime(extraction), swizzle)};ctx.Add("{}={};", ret, result);diff --git a/src/yuzu/configuration/configure_profile_manager.cpp b/src/yuzu/configuration/configure_profile_manager.cppindex ac849b01d3..136614bf87 100644--- a/src/yuzu/configuration/configure_profile_manager.cpp+++ b/src/yuzu/configuration/configure_profile_manager.cpp@@ -76,7 +76,7 @@ QString GetProfileUsernameFromUser(QWidget* parent, const QString& description_t}} // Anonymous namespace-ConfigureProfileManager ::ConfigureProfileManager(QWidget* parent)+ConfigureProfileManager::ConfigureProfileManager(QWidget* parent): QWidget(parent), ui(new Ui::ConfigureProfileManager),profile_manager(std::make_unique<Service::Account::ProfileManager>()) {ui->setupUi(this);