mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
Replace std::tie by structured binding
This commit is contained in:
parent
90c8e77e2c
commit
e4cce88142
@ -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…
x
Reference in New Issue
Block a user