From 6f4a92f740b2fd75794489ce58f9348f8adf6bf4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 1 Aug 2006 03:23:35 +0000 Subject: Heavy-duty abstraction work to split type-specific classes into specializations of (new, for the most part) generic bases. (eg. most everything from the MIDI branch except for actual MIDI things, so merges have a chance of succeeding). Also the new edit toolbar, and various other cleanup things I did along the way. Should be functionally equivalent (except the toolbar), this is just design work. She's a big'un.... git-svn-id: svn://localhost/ardour2/trunk@727 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/route_group_specialized.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/ardour/route_group_specialized.h') diff --git a/libs/ardour/ardour/route_group_specialized.h b/libs/ardour/ardour/route_group_specialized.h index 0424002dcd..250d3744df 100644 --- a/libs/ardour/ardour/route_group_specialized.h +++ b/libs/ardour/ardour/route_group_specialized.h @@ -7,11 +7,11 @@ namespace ARDOUR { template void -RouteGroup::apply (void (AudioTrack::*func)(T, void *), T val, void *src) +RouteGroup::apply (void (Track::*func)(T, void *), T val, void *src) { for (list::iterator i = routes.begin(); i != routes.end(); i++) { - AudioTrack *at; - if ((at = dynamic_cast(*i)) != 0) { + Track *at; + if ((at = dynamic_cast(*i)) != 0) { (at->*func)(val, this); } } -- cgit v1.2.3