// May 09, 2002: Fixed bug in Compare that caused longevities to act backwards.
// Credit due to Scott McDonald. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@23 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
b1b73884a5
commit
3d5bb2fce7
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace Loki
|
|||
static bool Compare(const LifetimeTracker* lhs,
|
||||
const LifetimeTracker* rhs)
|
||||
{
|
||||
return rhs->longevity_ > lhs->longevity_;
|
||||
return lhs->longevity_ > rhs->longevity_;
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -441,6 +441,8 @@ namespace Loki
|
|||
// Eike Petersen
|
||||
// March 08, 2002: moved the assignment to pTrackerArray in SetLongevity to fix
|
||||
// exception safety issue. Credit due to Kari Hoijarvi
|
||||
// May 09, 2002: Fixed bug in Compare that caused longevities to act backwards.
|
||||
// Credit due to Scott McDonald.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif // SINGLETON_INC_
|
||||
|
|
Loading…
Reference in a new issue