fix typo referenced in #1083

This commit is contained in:
AlexandreRouma 2024-01-22 19:22:26 +01:00
parent 74ae8a45d9
commit 93cafe7109

View File

@ -93,7 +93,7 @@ namespace dsp {
void disableBlock(Processor<T, T>* block, Func onOutputChange) {
// Check that the block is part of the chain
if (!blockExists(block)) {
throw std::runtime_error("[chain] Tried to enable a block that isn't part of the chain");
throw std::runtime_error("[chain] Tried to disable a block that isn't part of the chain");
}
// If already disabled, don't do anything