Browse Source

fix federoa rawhide build with gcc 8

pull/1092/head
Jeff Becker 7 years ago
parent
commit
21c35f770b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  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