This commit is contained in:
Sönke Ludwig 2017-10-31 23:04:13 +01:00
parent e44db31532
commit fc89257afd
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -90,6 +90,7 @@ struct InterfaceProxy(I) if (is(I == interface)) {
this(IP : InterfaceProxy!J, J)(IP proxy) @safe
{
() @trusted {
m_intf = proxy.m_intf;
swap(proxy.m_value, m_value);
proxy.m_intf = null;
} ();