mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
macOS compile error fix attempt
This commit is contained in:
parent
b9000bd667
commit
8042e1c14c
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);
|
||||
|
||||
if (name)
|
||||
infos.emplace_back(uniqueId, fmt::format("{}: {}", deviceNo + 1, name));
|
||||
infos.emplace_back(std::string(uniqueId), fmt::format("{}: {}", deviceNo + 1, name));
|
||||
else
|
||||
infos.emplace_back(uniqueId, fmt::format("{}: Unknown", deviceNo + 1));
|
||||
infos.emplace_back(std::string(uniqueId), fmt::format("{}: Unknown", deviceNo + 1));
|
||||
}
|
||||
return infos;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue