mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
Fixed internal compiler error when using newer GCC@master. (#15188)
This commit is contained in:
parent
5790aea02e
commit
fa8f120071
@ -71,7 +71,8 @@ namespace vcpkg::Json
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
destroy_underlying();
|
destroy_underlying();
|
||||||
new (&(this->*mp)) T(std::move(other.*mp));
|
auto* address = &(this->*mp);
|
||||||
|
new (address) T(std::move(other.*mp));
|
||||||
tag = vk;
|
tag = vk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user