mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Merge branch 'dk_copy_file' into master
This commit is contained in:
		
						commit
						59628d0221
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -432,7 +432,7 @@ CopyFileResult copy_file_inner(const std::string& from, const std::string& to, s | ||||||
| 	boost::system::error_code ec; | 	boost::system::error_code ec; | ||||||
| 	boost::filesystem::permissions(target, perms, ec); | 	boost::filesystem::permissions(target, perms, ec); | ||||||
| 	if (ec) | 	if (ec) | ||||||
| 		BOOST_LOG_TRIVIAL(error) << "boost::filesystem::permisions before copy error message (this could be irrelevant message based on file system): " << ec.message(); | 		BOOST_LOG_TRIVIAL(debug) << "boost::filesystem::permisions before copy error message (this could be irrelevant message based on file system): " << ec.message(); | ||||||
| 	ec.clear(); | 	ec.clear(); | ||||||
| 	boost::filesystem::copy_file(source, target, boost::filesystem::copy_option::overwrite_if_exists, ec); | 	boost::filesystem::copy_file(source, target, boost::filesystem::copy_option::overwrite_if_exists, ec); | ||||||
| 	if (ec) { | 	if (ec) { | ||||||
|  | @ -442,7 +442,7 @@ CopyFileResult copy_file_inner(const std::string& from, const std::string& to, s | ||||||
| 	ec.clear(); | 	ec.clear(); | ||||||
| 	boost::filesystem::permissions(target, perms, ec); | 	boost::filesystem::permissions(target, perms, ec); | ||||||
| 	if (ec) | 	if (ec) | ||||||
| 		BOOST_LOG_TRIVIAL(error) << "boost::filesystem::permisions after copy error message (this could be irrelevant message based on file system): " << ec.message(); | 		BOOST_LOG_TRIVIAL(debug) << "boost::filesystem::permisions after copy error message (this could be irrelevant message based on file system): " << ec.message(); | ||||||
| 	return SUCCESS; | 	return SUCCESS; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik