1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

C++17 makes this a single step.

This commit is contained in:
Thomas Harte 2022-12-27 22:50:12 -05:00
parent dca8c51384
commit 711f7b2d75

View File

@ -368,9 +368,7 @@ class Base {
// Schedule a CRAM dot; this is scheduled for wherever it should appear // Schedule a CRAM dot; this is scheduled for wherever it should appear
// on screen. So it's wherever the output stream would be now. Which // on screen. So it's wherever the output stream would be now. Which
// is output_lag cycles ago from the point of view of the input stream. // is output_lag cycles ago from the point of view of the input stream.
upcoming_cram_dots_.emplace_back(); CRAMDot &dot = upcoming_cram_dots_.emplace_back();
CRAMDot &dot = upcoming_cram_dots_.back();
dot.location.column = write_pointer_.column - output_lag; dot.location.column = write_pointer_.column - output_lag;
dot.location.row = write_pointer_.row; dot.location.row = write_pointer_.row;