give access to _timeout for shitty compilers in TimerCompare
This commit is contained in:
parent
8152d45329
commit
c4427cc1f3
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ private:
|
||||||
return timercmp(&a->_timeout, &b->_timeout, >);
|
return timercmp(&a->_timeout, &b->_timeout, >);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
friend struct TimerCompare; // give access to _timeout for shitty compilers
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
std::priority_queue<Timer*, std::vector<Timer*>, TimerCompare> TimerQ;
|
std::priority_queue<Timer*, std::vector<Timer*>, TimerCompare> TimerQ;
|
||||||
|
|
Loading…
Reference in a new issue