Skip to content

Commit 5076968

Browse files
committed
fix
1 parent 0f36a35 commit 5076968

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
FCITX_DATA_DIRS: /opt/fcitx/share/fcitx5/testing/addon:/opt/fcitx/share/fcitx5/testing
2929
steps:
3030
- name: Install dependencies
31-
run: pacman -Syu --noconfirm base-devel clang cmake ninja extra-cmake-modules fmt libuv marisa
31+
run: pacman -Syu --noconfirm base-devel clang cmake ninja extra-cmake-modules fmt libuv marisa nlohmann-json
3232

3333
- uses: actions/checkout@v4
3434
with:

src/hallelujah.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ void HallelujahEngine::loadWords() {
345345

346346
void HallelujahEngine::loadPinyin() {
347347
const auto &sp = fcitx::StandardPaths::global();
348-
std::string pinyin_path =
348+
auto pinyin_path =
349349
sp.locate(fcitx::StandardPathsType::Data, "hallelujah/cedict.json");
350350
if (pinyin_path.empty()) {
351351
throw std::runtime_error("Failed to locate cedict.json");

0 commit comments

Comments
 (0)