Skip to content

Commit 1f16247

Browse files
clang
1 parent 4c67c5a commit 1f16247

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/capture_source.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace {
5353
// Report validation and synchronous send failures through the same future as
5454
// asynchronous creation errors. All public factories share this path.
5555
template <typename Config>
56-
std::future<std::shared_ptr<CaptureSource>> createCaptureSource(Config config) {
56+
std::future<std::shared_ptr<CaptureSource>> createCaptureSource(const Config& config) {
5757
try {
5858
return FfiClient::instance().newCaptureSourceAsync(toProto(std::move(config)));
5959
} catch (const std::exception& error) {

0 commit comments

Comments
 (0)