Change the SessionDirectory constructor to take a sys::path instead of a string
authorTim Mayberry <mojofunk@gmail.com>
Tue, 4 Sep 2007 07:15:17 +0000 (07:15 +0000)
committerTim Mayberry <mojofunk@gmail.com>
Tue, 4 Sep 2007 07:15:17 +0000 (07:15 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2400 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/session_directory.h
libs/ardour/session_directory.cc

index 93340a991a2cbd2ac1d88a574b2c9c206800625f..06fa52a53bc86cbd38ad26d7ac169b6814336bab 100644 (file)
@@ -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
index 99a252ecb502be34d1abc960b1df93240d15b3b2..ee5af0adf4070e041fb5aa4fbc077a541ed5a8a5 100644 (file)
@@ -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)
 {