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

Restores accidentally-cropped functionality.

This commit is contained in:
Thomas Harte 2019-04-29 22:10:00 -04:00
parent 7332c64964
commit 1b8fada6aa

View File

@ -365,6 +365,10 @@ struct ProcessorStorageConstructor {
return size_t(position - storage_.all_bus_steps_.begin()); return size_t(position - storage_.all_bus_steps_.begin());
} }
const auto start = storage_.all_bus_steps_.size();
std::copy(steps.begin(), steps.end(), std::back_inserter(storage_.all_bus_steps_));
return start;
/* /*
// If the new steps already exist, just return the existing index to them; // If the new steps already exist, just return the existing index to them;
// otherwise insert them. A lookup table of steps to start positions within // otherwise insert them. A lookup table of steps to start positions within
@ -390,8 +394,7 @@ struct ProcessorStorageConstructor {
++index; ++index;
} }
return start; return start;*/
*/
} }
/*! /*!