Merge pull request #13578 from tygyh/Core/HW-Remove-redundant-empty-lambda-parameter-lists

Core/HW: Remove redundant empty lambda parameter lists
This commit is contained in:
JMC47 2025-04-24 00:48:28 -04:00 committed by GitHub
commit f675048768
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -1114,7 +1114,7 @@ void ZeldaAudioRenderer::ApplyReverb(bool post_rendering)
for (u16 i = 0; i < 8; ++i)
(*last8_samples_buffers[rpb_idx])[i] = buffer[0x50 + i];
auto ApplyFilter = [&]() {
auto ApplyFilter = [&] {
// Filter the buffer using provided coefficients.
for (u16 i = 0; i < 0x50; ++i)
{

View file

@ -144,7 +144,7 @@ bool DeserializeDesiredState(DesiredWiimoteState* state, const SerializedWiimote
return false;
}
const size_t expected_size = [&]() {
const size_t expected_size = [&] {
size_t s = 1;
if (has_buttons && has_accel)
s += 5;

View file

@ -80,7 +80,7 @@ std::unordered_map<BTH_ADDR, std::time_t> s_connect_times;
bool load_hid()
{
auto loader = [&]() {
auto loader = [&] {
s_hid_lib = ::LoadLibrary(_T("hid.dll"));
if (!s_hid_lib)
{
@ -116,7 +116,7 @@ bool load_hid()
bool load_bthprops()
{
auto loader = [&]() {
auto loader = [&] {
s_bthprops_lib = ::LoadLibrary(_T("bthprops.cpl"));
if (!s_bthprops_lib)
{