Skip to content

Commit

Permalink
Fix constness in EditBufferCapability
Browse files Browse the repository at this point in the history
  • Loading branch information
christofmuc committed Dec 27, 2020
1 parent 58de912 commit 0b3a0c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Matrix1000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ namespace midikraft {
return gMatrix1000GlobalSettings;
}

juce::MidiMessage Matrix1000::requestEditBufferDump()
juce::MidiMessage Matrix1000::requestEditBufferDump() const
{
return createRequest(EDIT_BUFFER, 0x00);
}
Expand Down
2 changes: 1 addition & 1 deletion Matrix1000.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace midikraft {
virtual PatchData filterVoiceRelevantData(std::shared_ptr<DataFile> unfilteredData) const override;

// Edit Buffer Capability
virtual MidiMessage requestEditBufferDump() override;
virtual MidiMessage requestEditBufferDump() const override;
virtual bool isEditBufferDump(const MidiMessage& message) const override;
virtual std::shared_ptr<DataFile> patchFromSysex(const MidiMessage& message) const override;
virtual std::vector<MidiMessage> patchToSysex(std::shared_ptr<DataFile> patch) const override;
Expand Down

0 comments on commit 0b3a0c3

Please sign in to comment.