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:
parent
90c8e77e2c
commit
e4cce88142
1 changed files with 1 additions and 3 deletions
|
@ -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 {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue