X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Fsession_state_utils.cc;h=a8550724136b536ca278200649a5184908baee31;hb=c35eae34c39c9962ac93110f67e9ea40f24834b6;hp=00ab88d0ef48732848f6b00de00aee3e9a96b9d3;hpb=e0aaed6d65f160c328cb8b56d7c6552ee15d65e2;p=ardour.git diff --git a/libs/ardour/session_state_utils.cc b/libs/ardour/session_state_utils.cc index 00ab88d0ef..a855072413 100644 --- a/libs/ardour/session_state_utils.cc +++ b/libs/ardour/session_state_utils.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2007 Tim Mayberry + Copyright (C) 2007 Tim Mayberry 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 @@ -27,6 +27,9 @@ #include "i18n.h" +using namespace std; +using namespace PBD; + namespace ARDOUR { bool @@ -52,10 +55,10 @@ create_backup_file (const sys::path & file_path) void get_state_files_in_directory (const sys::path & directory_path, - vector & result) + vector & result) { Glib::PatternSpec state_file_pattern('*' + string(statefile_suffix)); - + find_matching_files_in_directory (directory_path, state_file_pattern, result); }