R4SAS 7 years ago
parent
commit
4af0caa506
  1. 3
      libi2pd/TunnelBase.h

3
libi2pd/TunnelBase.h

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

Loading…
Cancel
Save