From 711f7b2d75effd759f834ce4e61e17f9b6f51c0e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 27 Dec 2022 22:50:12 -0500 Subject: [PATCH] C++17 makes this a single step. --- Components/9918/Implementation/9918Base.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Components/9918/Implementation/9918Base.hpp b/Components/9918/Implementation/9918Base.hpp index 07726a035..61b864313 100644 --- a/Components/9918/Implementation/9918Base.hpp +++ b/Components/9918/Implementation/9918Base.hpp @@ -368,9 +368,7 @@ class Base { // 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 // is output_lag cycles ago from the point of view of the input stream. - upcoming_cram_dots_.emplace_back(); - CRAMDot &dot = upcoming_cram_dots_.back(); - + CRAMDot &dot = upcoming_cram_dots_.emplace_back(); dot.location.column = write_pointer_.column - output_lag; dot.location.row = write_pointer_.row;