mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[SHELLBTRFS] Fix build (don't use C++11 auto)
This commit is contained in:
parent
d21ff0ed13
commit
bb6feced9f
1 changed files with 5 additions and 2 deletions
|
@ -237,9 +237,12 @@ static void find_devices(HWND hwnd, const GUID* guid, const mountmgr& mm, vector
|
|||
free(dli);
|
||||
} else {
|
||||
try {
|
||||
auto v = mm.query_points(L"", L"", wstring_view(path.Buffer, path.Length / sizeof(WCHAR)));
|
||||
std::vector<mountmgr_point> v;
|
||||
v = mm.query_points(L"", L"", wstring_view(path.Buffer, path.Length / sizeof(WCHAR)));
|
||||
|
||||
for (const auto& p : v) {
|
||||
for (size_t i = 0; i < v.size(); ++i)
|
||||
{
|
||||
const mountmgr_point& p = v[i];
|
||||
if (p.symlink.length() == 14 && p.symlink.substr(0, dosdevices.length()) == dosdevices && p.symlink[13] == ':') {
|
||||
WCHAR dr[3];
|
||||
|
||||
|
|
Loading…
Reference in a new issue