diff options
Diffstat (limited to 'src/libslic3r/Utils.hpp')
-rw-r--r-- | src/libslic3r/Utils.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libslic3r/Utils.hpp b/src/libslic3r/Utils.hpp index 8862951a8..7d7422240 100644 --- a/src/libslic3r/Utils.hpp +++ b/src/libslic3r/Utils.hpp @@ -93,7 +93,8 @@ enum CopyFileResult { FAIL_CHECK_TARGET_NOT_OPENED }; // Copy a file, adjust the access attributes, so that the target is writable. -CopyFileResult copy_file_inner(const std::string &from, const std::string &to, std::string& error_message); +CopyFileResult copy_file_inner(const std::string& from, const std::string& to, std::string& error_message); +CopyFileResult copy_file_inner(const boost::filesystem::path& from, const boost::filesystem::path& to, std::string& error_message); // Copy file to a temp file first, then rename it to the final file name. // If with_check is true, then the content of the copied file is compared to the content // of the source file before renaming. |