Fix another use of auto uniform initialization

This commit is contained in:
Chris Robinson 2018-11-01 08:15:47 -07:00
parent 759c3a996c
commit 95966c4d92

View File

@ -1817,7 +1817,7 @@ static void ALCpulseBackendFactory_probe(ALCpulseBackendFactory* UNUSED(self), e
{
auto add_device = [outnames](const DevMap &entry) -> void
{
auto name{entry.name.c_str()};
const char *name{entry.name.c_str()};
size_t namelen{entry.name.length()};
/* +1 to also append the null char (to ensure a null-separated list
* and double-null terminated list).