|
|
@ -59,7 +59,7 @@ namespace tunnel |
|
|
|
|
|
|
|
|
|
|
|
struct TunnelCreationTimeCmp |
|
|
|
struct TunnelCreationTimeCmp |
|
|
|
{ |
|
|
|
{ |
|
|
|
bool operator() (std::shared_ptr<const TunnelBase> t1, std::shared_ptr<const TunnelBase> t2) const |
|
|
|
bool operator() (const std::shared_ptr<const TunnelBase> & t1, const std::shared_ptr<const TunnelBase> & t2) const |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (t1->GetCreationTime () != t2->GetCreationTime ()) |
|
|
|
if (t1->GetCreationTime () != t2->GetCreationTime ()) |
|
|
|
return t1->GetCreationTime () > t2->GetCreationTime (); |
|
|
|
return t1->GetCreationTime () > t2->GetCreationTime (); |
|
|
|