diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:07:52 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:07:52 +0000 |
commit | e66e9854d7dac2e76753b74f3fe0eb323ac35f4f (patch) | |
tree | 7b9cf94639c87828861e1bf3c6a181645acbe5fe /libs/pbd/file_utils.cc | |
parent | a22dd8c20a656a36d93e3e31ee3c04ca7e9b7278 (diff) |
Overwrite target file in PBD::copy_file
git-svn-id: svn://localhost/ardour2/branches/3.0@12854 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/file_utils.cc')
-rw-r--r-- | libs/pbd/file_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc index 956b7002cb..f323ebcb69 100644 --- a/libs/pbd/file_utils.cc +++ b/libs/pbd/file_utils.cc @@ -139,7 +139,7 @@ copy_file(const std::string & from_path, const std::string & to_path) try { - from_file->copy (to_file); + from_file->copy (to_file, Gio::FILE_COPY_OVERWRITE); } catch(const Glib::Exception& ex) { |