eliminate extra pointers for tunnel hops

This commit is contained in:
orignal 2021-11-13 15:11:59 -05:00
parent 4052b1ea6d
commit 9abd383014
2 changed files with 12 additions and 9 deletions

View file

@ -114,7 +114,7 @@ namespace tunnel
private:
std::shared_ptr<const TunnelConfig> m_Config;
std::vector<std::unique_ptr<TunnelHop> > m_Hops;
std::vector<TunnelHop> m_Hops;
bool m_IsShortBuildMessage;
std::shared_ptr<TunnelPool> m_Pool; // pool, tunnel belongs to, or null
TunnelState m_State;