mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-01 00:28:11 +08:00 
			
		
		
		
	Convert filesystem path to std::string explicitly (#1672)
This commit is contained in:
		| @@ -11,7 +11,7 @@ | ||||
| using namespace mlx::core; | ||||
|  | ||||
| std::string get_temp_file(const std::string& name) { | ||||
|   return std::filesystem::temp_directory_path().append(name); | ||||
|   return std::filesystem::temp_directory_path().append(name).string(); | ||||
| } | ||||
|  | ||||
| TEST_CASE("test save_safetensors") { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Cheng
					Cheng