correct check for presence of / or \ in a session name
[ardour.git] / gtk2_ardour / automation_pan_line.cc
index 5493ac5301aaefe8666ad76d62b9e110e06f2066..04cfb0a31109bde247112be15b79cd8d400ae515 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #include <sigc++/signal.h>
@@ -31,8 +30,9 @@
 #include <ardour/session.h>
 
 using namespace ARDOUR;
+using namespace PBD;
 
-AutomationPanLine::AutomationPanLine (string name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c)
+AutomationPanLine::AutomationPanLine (const string & name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c)
 
        : AutomationLine (name, tv, parent, c),
          session (s)