projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Overwrite target file in PBD::copy_file
[ardour.git]
/
libs
/
pbd
/
file_utils.cc
diff --git
a/libs/pbd/file_utils.cc
b/libs/pbd/file_utils.cc
index 956b7002cbd12bcdd2234ca7d42f421e96431080..f323ebcb69715d781f2b7a408f68c70a453d57d9 100644
(file)
--- 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)
{