From: Pierre Schweitzer Date: Tue, 12 Nov 2019 22:29:08 +0000 (+0100) Subject: [SHELLBTRFS] Replace emplace_back by something less efficient if not avaible X-Git-Tag: 0.4.14-RC~1252 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=5f779048d30bb7fc44e855289c3680706687ad66;ds=inline [SHELLBTRFS] Replace emplace_back by something less efficient if not avaible --- diff --git a/dll/shellext/shellbtrfs/mountmgr_local.cpp b/dll/shellext/shellbtrfs/mountmgr_local.cpp index 061962369ff..45a47e68e15 100644 --- a/dll/shellext/shellbtrfs/mountmgr_local.cpp +++ b/dll/shellext/shellbtrfs/mountmgr_local.cpp @@ -217,7 +217,11 @@ vector mountmgr::query_points(const wstring_view& symlink, const if (mmps->MountPoints[i].DeviceNameLength) mpdn = wstring_view((WCHAR*)((uint8_t*)mmps + mmps->MountPoints[i].DeviceNameOffset), mmps->MountPoints[i].DeviceNameLength / sizeof(WCHAR)); +#ifndef __REACTOS__ v.emplace_back(mpsl, mpuid, mpdn); +#else + v.push_back(mountmgr_point(mpsl, mpuid, mpdn)); +#endif } return v;