mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
fix build on GCC 8.0.1
https://bugzilla.redhat.com/show_bug.cgi?id=1541688
This commit is contained in:
parent
0728991821
commit
4af0caa506
@ -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…
Reference in New Issue
Block a user