fix federoa rawhide build with gcc 8

This commit is contained in:
Jeff Becker 2018-02-03 13:46:22 -05:00
parent b6e75e9c5a
commit 21c35f770b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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 ();