mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
Move PBD::sys::copy_file/s into pbd/file_utils.h and PBD:: namespace
Copy files no longer depends on PBD::sys::path so move it git-svn-id: svn://localhost/ardour2/branches/3.0@12853 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4cda435203
commit
a22dd8c20a
7 changed files with 67 additions and 62 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include "ardour/export_timespan.h"
|
||||
#include "ardour/sndfile_helpers.h"
|
||||
|
||||
#include "pbd/filesystem.h"
|
||||
#include "pbd/file_utils.h"
|
||||
#include "pbd/cpus.h"
|
||||
|
||||
using namespace AudioGrapher;
|
||||
|
|
@ -216,7 +216,7 @@ ExportGraphBuilder::Encoder::copy_files (std::string orig_path)
|
|||
{
|
||||
while (filenames.size()) {
|
||||
ExportFilenamePtr & filename = filenames.front();
|
||||
PBD::sys::copy_file (orig_path, filename->get_path (config.format).c_str());
|
||||
PBD::copy_file (orig_path, filename->get_path (config.format).c_str());
|
||||
filenames.pop_front();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue