From c8800ed16c0f2e9c2fbb52d2da90e2b046149757 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Tue, 10 Mar 2026 21:40:32 +0800 Subject: [PATCH] gcc path fix --- otherarch/sdcpp/sdtype_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index 13872d453..fe3850b57 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -1058,7 +1058,7 @@ sd_generation_outputs sdtype_generate(const sd_generation_inputs inputs) spec.path = sd_params->lora_paths[i].c_str(); spec.multiplier = multiplier; lora_specs.push_back(spec); - std::string lora_name = std::filesystem::path(sd_params->lora_paths[i]).stem(); + std::string lora_name = std::filesystem::path(sd_params->lora_paths[i]).stem().string(); lora_meta << ""; } }