From 21c35f770b26ebf00f94365769bab74753fa06d1 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 3 Feb 2018 13:46:22 -0500 Subject: [PATCH] fix federoa rawhide build with gcc 8 --- libi2pd/TunnelBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/TunnelBase.h b/libi2pd/TunnelBase.h index 8b7fb408..97fb2b51 100644 --- a/libi2pd/TunnelBase.h +++ b/libi2pd/TunnelBase.h @@ -59,7 +59,7 @@ namespace tunnel struct TunnelCreationTimeCmp { - bool operator() (std::shared_ptr t1, std::shared_ptr t2) const + bool operator() (const std::shared_ptr & t1, const std::shared_ptr & t2) const { if (t1->GetCreationTime () != t2->GetCreationTime ()) return t1->GetCreationTime () > t2->GetCreationTime ();