13
0

Fix crash introduced in big shared_ptr commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@5341 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-07-09 15:31:02 +00:00
parent c3400bc877
commit 5f6a9fa003

View File

@ -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) {