Skip to content

Commit 51076a8

Browse files
committed
fix(rime_api): deploy_schema type cast failure
1 parent 6d5bbc1 commit 51076a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rime_api.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ RIME_API Bool RimeDeployWorkspace() {
148148

149149
RIME_API Bool RimeDeploySchema(const char* schema_file) {
150150
Deployer& deployer(Service::instance().deployer());
151-
return Bool(deployer.RunTask("schema_update", string(schema_file)));
151+
return Bool(deployer.RunTask("schema_update", path(schema_file)));
152152
}
153153

154154
RIME_API Bool RimeDeployConfigFile(const char* file_name,

0 commit comments

Comments
 (0)