mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 01:41:17 +08:00
Convert filesystem path to std::string explicitly (#1672)
This commit is contained in:
parent
d92ea094f1
commit
7c10c93a1f
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user