diff options
author | David Robillard <d@drobilla.net> | 2014-12-02 03:36:33 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-02 03:36:33 -0500 |
commit | cf47d71761ec5b7539a4dce493e711387f442e43 (patch) | |
tree | 5a2f200c22019642bfa8612592a7a8fc8be7ea1a /libs/evoral/evoral/TypeMap.hpp | |
parent | 07a381a8f5572ae7550c60e5b1bd18c3dcdc7369 (diff) |
Fix lost MIDI events due to broken range check.
Diffstat (limited to 'libs/evoral/evoral/TypeMap.hpp')
-rw-r--r-- | libs/evoral/evoral/TypeMap.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/evoral/TypeMap.hpp b/libs/evoral/evoral/TypeMap.hpp index 154cdff613..d09439daa6 100644 --- a/libs/evoral/evoral/TypeMap.hpp +++ b/libs/evoral/evoral/TypeMap.hpp @@ -52,7 +52,7 @@ public: virtual uint32_t midi_event_type(uint8_t status) const = 0; /** Return the description of a parameter. */ - virtual const ParameterDescriptor& descriptor(const Parameter& param) const = 0; + virtual ParameterDescriptor descriptor(const Parameter& param) const = 0; virtual std::string to_symbol(const Parameter& param) const = 0; }; |