mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 11:06:43 +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)
|
if (sfx->getHandle() == nullptr)
|
||||||
{
|
{
|
||||||
Sound_Handle handle;
|
auto [handle, size] = mOutput->loadSound(sfx->getResourceName());
|
||||||
size_t size;
|
|
||||||
std::tie(handle, size) = mOutput->loadSound(sfx->getResourceName());
|
|
||||||
if (handle == nullptr)
|
if (handle == nullptr)
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue