Skip to content

Commit

Permalink
fix(rime_api): deploy_schema type cast failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Mar 15, 2024
1 parent 6d5bbc1 commit 51076a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ RIME_API Bool RimeDeployWorkspace() {

RIME_API Bool RimeDeploySchema(const char* schema_file) {
Deployer& deployer(Service::instance().deployer());
return Bool(deployer.RunTask("schema_update", string(schema_file)));
return Bool(deployer.RunTask("schema_update", path(schema_file)));
}

RIME_API Bool RimeDeployConfigFile(const char* file_name,
Expand Down

0 comments on commit 51076a8

Please sign in to comment.