mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 09:51: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;
|
using namespace mlx::core;
|
||||||
|
|
||||||
std::string get_temp_file(const std::string& name) {
|
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") {
|
TEST_CASE("test save_safetensors") {
|
||||||
|
Loading…
Reference in New Issue
Block a user