Skip to content

Commit 63616d8

Browse files
committed
Fix for windows
1 parent 0b2b130 commit 63616d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sherpa-onnx/csrc/session.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Ort::SessionOptions GetSessionOptionsImpl(
172172
}
173173

174174
if (config.find("ProfilingFilePrefix") != config.end()) {
175-
sess_opts.EnableProfiling(config["ProfilingFilePrefix"].c_str());
175+
sess_opts.EnableProfiling(SHERPA_ONNX_TO_ORT_PATH(config["ProfilingFilePrefix"]));
176176
config.erase("ProfilingFilePrefix");
177177
}
178178

0 commit comments

Comments
 (0)