diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-09 15:31:02 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-09 15:31:02 +0000 |
commit | 5f6a9fa003e0267127e875621d406a69ae243219 (patch) | |
tree | dd848d92f68a7ca967c9f72951082866cb93755c /gtk2_ardour/time_axis_view.cc | |
parent | c3400bc8774db0692f2ba7df2e622526f1339dfb (diff) |
Fix crash introduced in big shared_ptr commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5341 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index e61fa189b8..1f50e93881 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -1210,7 +1210,7 @@ TimeAxisView::covers_y_position (double y) } } - return std::make_pair (this, l); + return std::make_pair (shared_from_this (), l); } for (Children::const_iterator i = children.begin(); i != children.end(); ++i) { |