Skip to content

Commit ee3895f

Browse files
committed
fix compile err
1 parent fdab776 commit ee3895f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ccap_imp_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ bool ProviderDirectShow::open(std::string_view deviceName) {
681681
});
682682

683683
if (!found) {
684-
reportError(ErrorCode::InvalidDevice, "ccap: No video capture device: " + (deviceName.empty() ? unavailableMsg : deviceName));
684+
reportError(ErrorCode::InvalidDevice, "ccap: No video capture device: " + std::string(deviceName.empty() ? unavailableMsg : deviceName));
685685
return false;
686686
}
687687

0 commit comments

Comments
 (0)