pcm/{Dop,Dsd*}: explicitly capture "this"
Implicit capturing is deprecated in C++20.
This commit is contained in:
@@ -92,5 +92,5 @@ ConstBuffer<uint32_t>
|
||||
DsdToDopConverter::Convert(ConstBuffer<uint8_t> src) noexcept
|
||||
{
|
||||
return rest_buffer.Process<uint32_t>(buffer, src, 2 * channels,
|
||||
[=](auto && arg1, auto && arg2, auto && arg3) { return DsdToDop(arg1, arg2, arg3, channels); });
|
||||
[this](auto && arg1, auto && arg2, auto && arg3) { return DsdToDop(arg1, arg2, arg3, channels); });
|
||||
}
|
||||
|
@@ -64,5 +64,5 @@ ConstBuffer<uint16_t>
|
||||
Dsd16Converter::Convert(ConstBuffer<uint8_t> src) noexcept
|
||||
{
|
||||
return rest_buffer.Process<uint16_t>(buffer, src, channels,
|
||||
[=](auto && arg1, auto && arg2, auto && arg3) { return Dsd8To16(arg1, arg2, arg3, channels); });
|
||||
[this](auto && arg1, auto && arg2, auto && arg3) { return Dsd8To16(arg1, arg2, arg3, channels); });
|
||||
}
|
||||
|
@@ -66,5 +66,5 @@ ConstBuffer<uint32_t>
|
||||
Dsd32Converter::Convert(ConstBuffer<uint8_t> src) noexcept
|
||||
{
|
||||
return rest_buffer.Process<uint32_t>(buffer, src, channels,
|
||||
[=](auto && arg1, auto && arg2, auto && arg3) { return Dsd8To32(arg1, arg2, arg3, channels); });
|
||||
[this](auto && arg1, auto && arg2, auto && arg3) { return Dsd8To32(arg1, arg2, arg3, channels); });
|
||||
}
|
||||
|
Reference in New Issue
Block a user