mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Add missing cast (NoteButton to TrackButton)
This commit is contained in:
parent
e1c58aad60
commit
2172337306
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue