Refactored out the horrible static var in CoreTiming

This commit is contained in:
Hamish Milne
2020-03-28 15:47:36 +00:00
parent 917d651a3c
commit 4aab38f133
6 changed files with 15 additions and 11 deletions

View File

@ -11,8 +11,6 @@
namespace Core {
Timing* Timing::deserializing = nullptr;
// Sort by time, unless the times are the same, in which case sort by the order added to the queue
bool Timing::Event::operator>(const Timing::Event& right) const {
return std::tie(time, fifo_order) > std::tie(right.time, right.fifo_order);