mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 18:07:42 +01:00
return GUI Note object's NotePtr as const ref, not copy
This commit is contained in:
parent
d322b74941
commit
acd1611d36
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class NoteBase : public sigc::trackable
|
|||
float mouse_x_fraction() const { return _mouse_x_fraction; }
|
||||
float mouse_y_fraction() const { return _mouse_y_fraction; }
|
||||
|
||||
const NotePtr note() const { return _note; }
|
||||
NotePtr const & note() const { return _note; }
|
||||
MidiRegionView& region_view() const { return _region; }
|
||||
|
||||
static void set_colors ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue