Browse Source

Merge pull request #1092 from majestrate/master

fix federoa rawhide build with gcc 8
pull/1093/head
orignal 7 years ago committed by GitHub
parent
commit
0728991821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libi2pd/TunnelBase.h

2
libi2pd/TunnelBase.h

@ -59,7 +59,7 @@ namespace tunnel @@ -59,7 +59,7 @@ namespace tunnel
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 ())
return t1->GetCreationTime () > t2->GetCreationTime ();

Loading…
Cancel
Save