Skip to content

Commit f1b05b6

Browse files
committed
[WLANWIZ] Playing a guess game, who causes the build failure.
1 parent e644ac1 commit f1b05b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dll/shellext/wlanwiz/scan.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
#include "main.h"
88

99
#include <algorithm>
10-
#include <numeric>
11-
#include <string>
10+
//#include <numeric>
1211
#include <vector>
1312

1413
LRESULT CWlanWizard::OnScanNetworks(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
@@ -103,8 +102,9 @@ LRESULT CWlanWizard::OnScanNetworks(WORD wNotifyCode, WORD wID, HWND hWndCtl, BO
103102
DWORD dwConnectedTo = MAXDWORD;
104103
std::set<DWORD> setDiscoveredAdHocIndexes;
105104
std::set<DWORD> setAPsWithProfiles;
105+
#if 0
106106
std::iota(vecIndexesBySignalQuality.begin(), vecIndexesBySignalQuality.end(), 0);
107-
107+
#endif
108108
/* Sort networks by signal level */
109109
std::sort(vecIndexesBySignalQuality.begin(), vecIndexesBySignalQuality.end(), [&](auto left, auto right)
110110
{
@@ -144,7 +144,7 @@ LRESULT CWlanWizard::OnScanNetworks(WORD wNotifyCode, WORD wID, HWND hWndCtl, BO
144144
}
145145

146146
DPRINT("Discovered %lu access points (%u are known)\n", this->lstWlanNetworks->dwNumberOfItems, setAPsWithProfiles.size());
147-
147+
148148
/* Shift all ad hoc networks to end */
149149
for (const auto& dwAdHocIdx : setDiscoveredAdHocIndexes)
150150
{

0 commit comments

Comments
 (0)