mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	boost::filesystem instead std::
This commit is contained in:
		
							parent
							
								
									58a8e9e7e0
								
							
						
					
					
						commit
						74e24213e6
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -20,7 +20,7 @@ GUID WceusbshGUID = { 0x25dbce51, 0x6c8f, 0x4a72, | |||
| #include <glob.h> | ||||
| #include <libgen.h> | ||||
| #include <pwd.h> | ||||
| #include <filesystem> | ||||
| #include <boost/filesystem.hpp> | ||||
| #endif | ||||
| 
 | ||||
| namespace Slic3r { | ||||
|  | @ -311,9 +311,9 @@ void RemovableDriveManager::inspect_file(const std::string &path, const std::str | |||
| 	if(!compare_filesystem_id(path, parent_path)) | ||||
| 	{ | ||||
| 		//free space
 | ||||
| 		std::filesystem::space_info fs_si = std::filesystem::space(path); | ||||
| 		boost::filesystem::space_info si = boost::filesystem::space(path); | ||||
| 		//std::cout << "Free space: " << fs_si.free << "Available space: " << fs_si.available << " " << path << '\n';
 | ||||
| 		if(fs_si.free != 0 && fs_si.available != 0) | ||||
| 		if(si.available != 0) | ||||
| 		{ | ||||
| 			//user id
 | ||||
| 			struct stat buf; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik