summaryrefslogtreecommitdiffstats
path: root/netwerk/wifi/nsWifiMonitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/wifi/nsWifiMonitor.cpp')
-rw-r--r--netwerk/wifi/nsWifiMonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/wifi/nsWifiMonitor.cpp b/netwerk/wifi/nsWifiMonitor.cpp
index 5a7be15d16..f437dec4bd 100644
--- a/netwerk/wifi/nsWifiMonitor.cpp
+++ b/netwerk/wifi/nsWifiMonitor.cpp
@@ -364,13 +364,13 @@ nsresult nsWifiMonitor::DoScan() {
}
return NS_DispatchToMainThread(
- NewRunnableMethod<const nsTArray<RefPtr<nsIWifiAccessPoint>>&&, bool>(
+ NewRunnableMethod<nsTArray<RefPtr<nsIWifiAccessPoint>>, bool>(
"CallWifiListeners", this, &nsWifiMonitor::CallWifiListeners,
mLastAccessPoints.Clone(), accessPointsChanged));
}
nsresult nsWifiMonitor::CallWifiListeners(
- nsTArray<RefPtr<nsIWifiAccessPoint>>&& aAccessPoints,
+ const nsTArray<RefPtr<nsIWifiAccessPoint>>& aAccessPoints,
bool aAccessPointsChanged) {
MOZ_ASSERT(NS_IsMainThread());
LOG(("Sending wifi access points to the listeners"));