Skip to content

Commit 836435d

Browse files
authored
Fix compilation error in non-Apple builds. (#3071)
Make the no-op connectivity monitor accept worker queue by a shared pointer (a followup to #3004).
1 parent ef0d038 commit 836435d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firestore/core/src/firebase/firestore/remote/connectivity_monitor_noop.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ using util::AsyncQueue;
2929
// build doesn't break on platforms which don't yet implement
3030
// `ConnectivityMonitor`.
3131
std::unique_ptr<ConnectivityMonitor> ConnectivityMonitor::Create(
32-
AsyncQueue* worker_queue) {
32+
const std::shared_ptr<AsyncQueue>& worker_queue) {
3333
return absl::make_unique<ConnectivityMonitor>(worker_queue);
3434
}
3535

0 commit comments

Comments
 (0)