We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lua_processor 可利用config在增加 segment translator filter 也可以在 component initialize前修改參數 唯獨無法再增加 engine/processors (ConfigList) 可否將 for (size_t i=0 ; i <n; ++i) 改成 for(iter ...
librime/src/rime/engine.cc
Line 302 in dd6af3d
@@ -299,8 +299,8 @@ void ConcreteEngine::InitializeComponents() { // create processors if (auto processor_list = config->GetList("engine/processors")) { size_t n = processor_list->size(); - for (size_t i = 0; i < n; ++i) { - auto prescription = As<ConfigValue>(processor_list->GetAt(i)); + for (auto iter=processor_list->begin();iter != processor_list->end(); iter++){ + auto prescription = As<ConfigValue>(*iter);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
lua_processor 可利用config在增加 segment translator filter
也可以在 component initialize前修改參數
唯獨無法再增加 engine/processors (ConfigList)
可否將 for (size_t i=0 ; i <n; ++i) 改成 for(iter ...
librime/src/rime/engine.cc
Line 302 in dd6af3d
The text was updated successfully, but these errors were encountered: