mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
shared_ptr fixes
git-svn-id: svn://localhost/ardour2/trunk@709 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
caf0739b59
commit
2d5b1ab4aa
2 changed files with 3 additions and 3 deletions
|
|
@ -693,7 +693,7 @@ TranzportControlProtocol::update_state ()
|
|||
/* per track */
|
||||
|
||||
if (route_table[0]) {
|
||||
AudioTrack* at = dynamic_cast<AudioTrack*> (route_table[0]);
|
||||
boost::shared_ptr<AudioTrack> at = boost::dynamic_pointer_cast<AudioTrack> (route_table[0]);
|
||||
if (at && at->record_enabled()) {
|
||||
pending_lights[LightTrackrec] = true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue