diff options
Diffstat (limited to 'libs/midi++2/midi++/midnam_patch.h')
-rw-r--r-- | libs/midi++2/midi++/midnam_patch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/midi++2/midi++/midnam_patch.h b/libs/midi++2/midi++/midnam_patch.h index 338642025e..64eea6f2bf 100644 --- a/libs/midi++2/midi++/midnam_patch.h +++ b/libs/midi++2/midi++/midnam_patch.h @@ -362,9 +362,9 @@ public: const CustomDeviceModeNames& custom_device_mode_names() const { return _custom_device_mode_names; } - boost::shared_ptr<CustomDeviceMode> custom_device_mode_by_name(std::string mode_name); - boost::shared_ptr<ChannelNameSet> channel_name_set_by_device_mode_and_channel(std::string mode, uint8_t channel); - boost::shared_ptr<Patch> find_patch(std::string mode, uint8_t channel, const PatchPrimaryKey& key); + boost::shared_ptr<CustomDeviceMode> custom_device_mode_by_name(const std::string& mode_name); + boost::shared_ptr<ChannelNameSet> channel_name_set_by_device_mode_and_channel(const std::string& mode, uint8_t channel); + boost::shared_ptr<Patch> find_patch(const std::string& mode, uint8_t channel, const PatchPrimaryKey& key); boost::shared_ptr<NoteNameList> note_name_list(const std::string& name); boost::shared_ptr<ChannelNameSet> channel_name_set(const std::string& name); |