mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 09:56:35 +02: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue