mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-04 11:00:45 -04:00
AudioCommon: Use left const for non-pointer variables
This commit is contained in:
@@ -159,7 +159,7 @@ ComPtr<IMMDevice> WASAPIStream::GetDeviceByName(std::string_view name)
|
||||
bool WASAPIStream::Init()
|
||||
{
|
||||
ASSERT(m_enumerator == nullptr);
|
||||
HRESULT const result = CoCreateInstance(__uuidof(MMDeviceEnumerator), nullptr,
|
||||
const HRESULT result = CoCreateInstance(__uuidof(MMDeviceEnumerator), nullptr,
|
||||
CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&m_enumerator));
|
||||
|
||||
if (!HandleWinAPI("Failed to create MMDeviceEnumerator", result))
|
||||
|
||||
Reference in New Issue
Block a user