13
0

lv2: reserve vector for return values from TempoMap::get_grid()

This commit is contained in:
Paul Davis 2023-07-17 11:35:23 -06:00
parent 9fd0076c93
commit 93cbbf57d1

View File

@ -2807,6 +2807,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs,
uint32_t atom_port_index = 0;
TempoMapPoints tempo_map_points;
tempo_map_points.reserve (16);
bool got_grid = false;
for (uint32_t port_index = 0; port_index < num_ports; ++port_index) {