make 3.0 catch up with transport and other changes in 2.X (hand applied, not merged)
[ardour.git] / libs / ardour / ardour / route_group_specialized.h
index 9e04c46d0e07587bc3fe9f795498438279f3032e..c9d06a93c9aeaa243235d8560be52656cac0be26 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2007 Paul Davis 
+    Copyright (C) 2000-2007 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #ifndef __ardour_route_group_specialized_h__
 #define __ardour_route_group_specialized_h__
 
-#include <ardour/route_group.h>
-#include <ardour/audio_track.h>
+#include "ardour/route_group.h"
+#include "ardour/track.h"
 
 namespace ARDOUR {
 
-template<class T> void 
-RouteGroup::apply (void (Track::*func)(T, void *), T val, void *src) 
+template<class T> void
+RouteGroup::apply (void (Track::*func)(T, void *), T val, void */*src*/)
 {
-       for (list<Route *>::iterator i = routes.begin(); i != routes.end(); i++) {
+       for (std::list<Route *>::iterator i = routes.begin(); i != routes.end(); i++) {
                Track *at;
                if ((at = dynamic_cast<Track*>(*i)) != 0) {
                        (at->*func)(val, this);
                }
        }
 }
+
 } /* namespace ARDOUR */
 
 #endif /* __ardour_route_group_specialized_h__ */