From 9fc6895565fc81ec6061088fe7f4fc4e8318c800 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 17 Jan 2007 12:16:46 +0000 Subject: a better version of: fix compile with FFT_ANALYSIS=1, problem caused by a change in the type of RegionSelection git-svn-id: svn://localhost/ardour2/trunk@1335 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/analysis_window.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/analysis_window.cc b/gtk2_ardour/analysis_window.cc index e21d09e5f0..dd749d2bb1 100644 --- a/gtk2_ardour/analysis_window.cc +++ b/gtk2_ardour/analysis_window.cc @@ -226,7 +226,6 @@ AnalysisWindow::analyze_data (Gtk::Button *button) TimeSelection ts = s.time; RegionSelection ars = s.regions; - for (TrackSelection::iterator i = s.tracks.begin(); i != s.tracks.end(); ++i) { boost::shared_ptr pl = boost::dynamic_pointer_cast((*i)->playlist()); @@ -278,7 +277,7 @@ AnalysisWindow::analyze_data (Gtk::Button *button) TimeAxisView *current_axis = (*i); - for (std::list::iterator j = ars.begin(); j != ars.end(); ++j) { + for (RegionSelection::iterator j = ars.begin(); j != ars.end(); ++j) { // Check that the region is actually audio (so we can analyze it) AudioRegionView* arv = dynamic_cast(*j); if (!arv) -- cgit v1.2.3