diff options
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 1d17d9238c..d7d9a0a9d1 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -65,7 +65,7 @@ Track::init () return -1; } - boost::shared_ptr<Route> rp (shared_from_this()); + boost::shared_ptr<Route> rp (boost::dynamic_pointer_cast<Route> (shared_from_this())); boost::shared_ptr<Track> rt = boost::dynamic_pointer_cast<Track> (rp); _record_enable_control.reset (new RecordEnableControl (_session, EventTypeMap::instance().to_symbol (RecEnableAutomation), *this)); |