gecko-dev/netwerk/wifi
Ray Kraesig fe17c87862 Bug 1880192 - [3.5/5] ThreadUtils.h: remove little-used storage cases r=xpcom-reviewers,necko-reviewers,jesup,nika
`const T&&` parameters don't have associated storage semantics defined
for them. Previously they would end up as `StoreCopyPassByRRef`, which
might even have been intentional. Forbid them, and change the one use
case invoking it to a non-reference (becoming StoreCopyPassByConstLRef).

Additionally, there are four optional storage classes that are never
automatically selected. Two of these are never used, and a third is only
used mistakenly (...ByLRef where only ...ByConstLRef is needed). Adjust
the third's use-sites, and remove all three.

The last, `StoreCopyPassByPtr`, has more of an argument to be kept: it's
simpler to use (and, arguably, to understand) than its lambda-function
equivalent when wrapping an XPCOM method that takes an [in]-pointer
argument -- but it has only one use site in the entire codebase. Replace
and remove it, as well.

No functional changes. All deleted cases remain possible via lambda
functions fed to NS_NewRunnableFunction.

Differential Revision: https://phabricator.services.mozilla.com/D202173
2024-03-05 17:22:22 +00:00
..
dbus Bug 1854449 [Linux] Migrate DbusWifiScanner to DBus/GIO r=emilio,necko-reviewers 2023-10-11 08:58:22 +00:00
freebsd
gtest Bug 1833020: Disable TestWifiMonitor for intermittent failures r=gstoll,necko-reviewers,kershaw 2024-01-30 21:31:41 +00:00
mac Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw 2023-09-05 11:23:01 +00:00
solaris
win
moz.build Bug 1854449 [Linux] Migrate DbusWifiScanner to DBus/GIO r=emilio,necko-reviewers 2023-10-11 08:58:22 +00:00
nsIWifiAccessPoint.idl
nsIWifiListener.idl
nsIWifiMonitor.idl
nsWifiAccessPoint.cpp
nsWifiAccessPoint.h
nsWifiMonitor.cpp Bug 1880192 - [3.5/5] ThreadUtils.h: remove little-used storage cases r=xpcom-reviewers,necko-reviewers,jesup,nika 2024-03-05 17:22:22 +00:00
nsWifiMonitor.h Bug 1880192 - [3.5/5] ThreadUtils.h: remove little-used storage cases r=xpcom-reviewers,necko-reviewers,jesup,nika 2024-03-05 17:22:22 +00:00
WifiScanner.h