diff options
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 3d34b92d2c..c15877b28b 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -117,6 +117,11 @@ Route::Route (Session& sess, string name, PresentationInfo::Flag flag, DataType processor_max_streams.reset(); } +boost::weak_ptr<Route> +Route::weakroute () { + return boost::weak_ptr<Route> (shared_from_this ()); +} + int Route::init () { |