Q-W6 review follow-ups: drop stale wav_trim clause, fix stale include comment, idempotent action-table clear, reflow ragged comment, align session.h trailing comments
This commit is contained in:
@@ -61,6 +61,7 @@ int registerAction(reaper_plugin_info_t* rec, const char* suffix,
|
||||
|
||||
void registerActionTable(reaper_plugin_info_t* rec, const ActionTableRow* rows,
|
||||
std::size_t count) {
|
||||
g_table.clear(); // idempotent-by-construction: a re-register never doubles-up rows
|
||||
for (std::size_t i = 0; i < count; ++i) {
|
||||
g_table.push_back(TableEntry{rows[i]});
|
||||
TableEntry& e = g_table.back();
|
||||
|
||||
Reference in New Issue
Block a user