mirror of https://github.com/stella-emu/stella.git
Pacify MSVCC
This commit is contained in:
parent
8c6bb5cd93
commit
2f4e0f51fc
|
@ -43,7 +43,10 @@ void FpsMeter::render(uInt32 frameCount)
|
||||||
}
|
}
|
||||||
|
|
||||||
uInt32 queueSize = myQueue.capacity();
|
uInt32 queueSize = myQueue.capacity();
|
||||||
entry first, last = (entry){.frames = frameCount, .timestamp = high_resolution_clock::now()};
|
entry first, last;
|
||||||
|
|
||||||
|
last.frames = frameCount;
|
||||||
|
last.timestamp = high_resolution_clock::now();
|
||||||
|
|
||||||
if (myQueue.size() < queueSize) {
|
if (myQueue.size() < queueSize) {
|
||||||
myQueue.push_back(last);
|
myQueue.push_back(last);
|
||||||
|
|
Loading…
Reference in New Issue