fix: small const for debt
This commit is contained in:
+1
-1
@@ -281,7 +281,7 @@ void state_apply_event(SharedContext *context, const StateConfig *state_config,
|
||||
}
|
||||
}
|
||||
|
||||
void state_apply(SharedContext *context, const StateConfig *state_config,
|
||||
void state_apply(const SharedContext *context, const StateConfig *state_config,
|
||||
const MidiDevice *midi) {
|
||||
if (!midi->error) {
|
||||
update_values(context, state_config, midi);
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ void state_reset(SharedContext *context);
|
||||
|
||||
void state_randomize(SharedContext *context, const StateConfig *state_config);
|
||||
|
||||
void state_apply(SharedContext *context, const StateConfig *state_config,
|
||||
void state_apply(const SharedContext *context, const StateConfig *state_config,
|
||||
const MidiDevice *midi);
|
||||
|
||||
void state_save(const SharedContext *context, const StateConfig *state_config,
|
||||
|
||||
Reference in New Issue
Block a user