From 911c873e56501cbbcd4f54f28011c5fd1de7d49f Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Tue, 4 Sep 2007 07:15:17 +0000 Subject: [PATCH] Change the SessionDirectory constructor to take a sys::path instead of a string git-svn-id: svn://localhost/ardour2/trunk@2400 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/session_directory.h | 2 +- libs/ardour/session_directory.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/ardour/session_directory.h b/libs/ardour/ardour/session_directory.h index 93340a991a..06fa52a53b 100644 --- a/libs/ardour/ardour/session_directory.h +++ b/libs/ardour/ardour/session_directory.h @@ -37,7 +37,7 @@ public: /** * @param session_path An absolute path to a session directory. */ - SessionDirectory (const string& session_path); + SessionDirectory (const path& session_path); /** * @return the absolute path to the root directory of the session diff --git a/libs/ardour/session_directory.cc b/libs/ardour/session_directory.cc index 99a252ecb5..ee5af0adf4 100644 --- a/libs/ardour/session_directory.cc +++ b/libs/ardour/session_directory.cc @@ -34,7 +34,7 @@ namespace ARDOUR { using namespace PBD::sys; -SessionDirectory::SessionDirectory (const string& session_path) +SessionDirectory::SessionDirectory (const path& session_path) : m_root_path(session_path) {