mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-04-29 14:59:26 -04:00
macOS compile error fix attempt no. 3
This commit is contained in:
parent
c74891a4fb
commit
5fe8d8d90a
1 changed files with 2 additions and 2 deletions
|
@ -62,9 +62,9 @@ std::vector<CameraManager::DeviceInfo> CameraManager::EnumerateDevices()
|
||||||
const auto name = Cap_getDeviceName(m_ctx, deviceNo);
|
const auto name = Cap_getDeviceName(m_ctx, deviceNo);
|
||||||
|
|
||||||
if (name)
|
if (name)
|
||||||
infos.emplace_back(DeviceInfo{uniqueId, fmt::format("{}: {}", deviceNo + 1, name)});
|
infos.emplace_back(DeviceInfo{std::string(uniqueId), fmt::format("{}: {}", deviceNo + 1, name)});
|
||||||
else
|
else
|
||||||
infos.emplace_back(DeviceInfo(uniqueId, fmt::format("{}: Unknown", deviceNo + 1)));
|
infos.emplace_back(DeviceInfo(std::string(uniqueId), fmt::format("{}: Unknown", deviceNo + 1)));
|
||||||
}
|
}
|
||||||
return infos;
|
return infos;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue