From 5273a841a7b7808004db912594d7c754f78a2d0f Mon Sep 17 00:00:00 2001 From: Reg Tiangha Date: Sat, 23 Mar 2024 09:53:04 -0600 Subject: [PATCH] apply clang-format --- src/citra_qt/util/graphics_device_info.cpp | 3 ++- src/core/hle/service/soc/soc_u.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/util/graphics_device_info.cpp b/src/citra_qt/util/graphics_device_info.cpp index 3b1cac925..8653ba8bd 100644 --- a/src/citra_qt/util/graphics_device_info.cpp +++ b/src/citra_qt/util/graphics_device_info.cpp @@ -22,7 +22,8 @@ QString GetOpenGLRenderer() { QOpenGLContext context; if (context.create()) { context.makeCurrent(&surface); - return QString::fromUtf8(reinterpret_cast(context.functions()->glGetString(GL_RENDERER))); + return QString::fromUtf8( + reinterpret_cast(context.functions()->glGetString(GL_RENDERER))); } else { return QStringLiteral(""); } diff --git a/src/core/hle/service/soc/soc_u.cpp b/src/core/hle/service/soc/soc_u.cpp index 12bc0e401..ae2ecfcb2 100644 --- a/src/core/hle/service/soc/soc_u.cpp +++ b/src/core/hle/service/soc/soc_u.cpp @@ -2251,7 +2251,7 @@ std::optional SOC_U::GetDefaultInterfaceInfo() { socklen_t s_info_len = sizeof(struct sockaddr_in); sockaddr_in s_info; - if (static_cast(sock_fd = ::socket(AF_INET, SOCK_STREAM, 0)) == -1) { + if (static_cast(sock_fd = ::socket(AF_INET, SOCK_STREAM, 0)) == -1) { return std::nullopt; }