projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c58aa
)
Add missing cast (NoteButton to TrackButton)
author
Robin Gareus
<robin@gareus.org>
Thu, 6 Sep 2018 21:03:55 +0000
(23:03 +0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 6 Sep 2018 21:03:55 +0000
(23:03 +0200)
libs/surfaces/launch_control_xl/controllers.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/launch_control_xl/controllers.cc
b/libs/surfaces/launch_control_xl/controllers.cc
index dfdfa540d14944813554ab69ee83362a98f5e560..2470d4497eb670c55436fb83f38afae9cd480082 100644
(file)
--- a/
libs/surfaces/launch_control_xl/controllers.cc
+++ b/
libs/surfaces/launch_control_xl/controllers.cc
@@
-271,10
+271,10
@@
LaunchControlXL::track_button_by_range(uint8_t n, uint8_t first, uint8_t middle)
}
if (b != nn_note_button_map.end()) {
- return (b->second);
+ return
boost::dynamic_pointer_cast<TrackButton>
(b->second);
}
- return boost::shared_ptr<
LaunchControlXL::
TrackButton>();
+ return boost::shared_ptr<TrackButton>();
}
void