mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +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
|
||||
{
|
||||
destroy_underlying();
|
||||
new (&(this->*mp)) T(std::move(other.*mp));
|
||||
auto* address = &(this->*mp);
|
||||
new (address) T(std::move(other.*mp));
|
||||
tag = vk;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user