mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 21:06:03 +01:00
Mirror of Ardour Source Code
This issue could be seen when dragging an arrangement marker beyond the bottom of the list in the right edge. IIUC, std::reverse_iterator<Iter>::operator* creates a temporary iterator which it then dereferences. This is a problem because what we are derefencing is a Gtk::TreeIter<Gtk::TreeRow>. gtkmm documentation for Gtk::TreeIter< T >::operator* states, "The returned reference is implemented by casting from *this, and so the returned reference is only valid while this iter is." Additionally, cpp documentation for std::reverse_iterator states, "std::reverse_iterator does not work with iterators whose dereference returns a reference to a member of *this." We also are not advancing this iterator at all, so whether it is reverse or not is irrelevant (we just want the last one). Thus, *prev(rows.end ()) instead of *rows.rbegin (). |
||
|---|---|---|
| doc | ||
| gtk2_ardour | ||
| headless | ||
| libs | ||
| luasession | ||
| msvc_extra_headers | ||
| MSVCardour3 | ||
| MSVCMixbus3 | ||
| MSVCvst_scan | ||
| session_utils | ||
| share | ||
| tools | ||
| .dir-locals.el | ||
| .gitattributes | ||
| .gitignore | ||
| ardour.1 | ||
| COPYING | ||
| nutempo-todo | ||
| PACKAGER_README | ||
| README | ||
| README-GITHUB.txt | ||
| system_config | ||
| TRANSLATORS | ||
| waf | ||
| wscript | ||
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html