fixed build for gcc 4.6 and boost 1.46

This commit is contained in:
orignal 2015-11-06 09:01:02 -05:00
parent d50ba1259c
commit 73037b86ac
2 changed files with 3 additions and 2 deletions

View file

@ -138,7 +138,8 @@ namespace tunnel
hop = m_Config->GetLastHop ();
while (hop)
{
auto tunnelHop = new TunnelHop{ .ident = hop->ident };
auto tunnelHop = new TunnelHop;
tunnelHop->ident = hop->ident;
tunnelHop->decryption.SetKeys (hop->layerKey, hop->ivKey);
m_Hops.push_back (std::unique_ptr<TunnelHop>(tunnelHop));
hop = hop->prev;