PBD::fatal << string_compose (_("The session's interchange dir is tainted.\nThere is more than one folder in '%1'.\nPlease remove extra subdirs to reduce possible filename ambiguties."), sources_root_path) << endmsg;
assert (0); // not reached
}
- } catch (Glib::FileError) {
+ } catch (Glib::FileError const&) {
;
}
return Glib::build_filename (m_root_path, export_dir_name);
}
+const std::string
+SessionDirectory::backup_path () const
+{
+ return Glib::build_filename (m_root_path, backup_dir_name);
+}
+
const vector<std::string>
SessionDirectory::sub_directories () const
{
tmp_paths.push_back (peak_path ());
tmp_paths.push_back (dead_path ());
tmp_paths.push_back (export_path ());
+ tmp_paths.push_back (backup_path ());
return tmp_paths;
}