1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Replace std::tie by structured binding

This commit is contained in:
elsid 2021-01-09 14:09:27 +01:00
parent 90c8e77e2c
commit e4cce88142
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -82,9 +82,7 @@ namespace MWSound
if (sfx->getHandle() == nullptr)
{
Sound_Handle handle;
size_t size;
std::tie(handle, size) = mOutput->loadSound(sfx->getResourceName());
auto [handle, size] = mOutput->loadSound(sfx->getResourceName());
if (handle == nullptr)
return {};