common : delete fs_path_to_utf8() (#31423)

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
Adrien Gallouët authored and GitHub committed 2026-10-30 16:20:04 +01:00
1 parent aa588a3463
commit a34de8618b
8 files changed
+26 -35

No files matched your search

+1 -1
View File
@@ -408,7 +408,7 @@ server_models::server_models(
// set binary path
try {
bin_path = fs_path_to_utf8(get_server_exec_path());
bin_path = get_server_exec_path().string();
} catch (const std::exception & e) {
bin_path = argv[0];
SRV_WRN("failed to get server executable path: %s\n", e.what());