MSBuild: Make switchable between VS2019 and VS2022
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
963c2e44ac
commit
9ff26e1422
@ -19,6 +19,7 @@ namespace UnitTests
|
||||
Assert::IsTrue(ConvertStringSecurityDescriptorToSecurityDescriptorW(L"O:BAD:PAI(A;;FA;;;BA)", SDDL_REVISION_1, sa, NULL));
|
||||
Assert::IsNotNull(sa.lpSecurityDescriptor);
|
||||
winstd::security_attributes sa2(move(sa));
|
||||
#pragma warning(suppress: 26800) // That's exactly what we are testing here: if the object is in a sane state after being moved from.
|
||||
Assert::IsNull(sa.lpSecurityDescriptor);
|
||||
Assert::IsNotNull(sa2.lpSecurityDescriptor);
|
||||
}
|
||||
|
@ -30,7 +30,7 @@
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user