Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mokapsing authored Apr 3, 2024
1 parent 84d52a8 commit 2cc6dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rimeengine.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ class OrderedMap {

// 根据键查找值,并且在常数时间内返回
bool count(std::string key) {
return map.count(key) > 0
return map.count(key) > 0;
}

std::list<std::string>::iterator find(std::string key) {
return std::find(order.begin(), order.end(), key)
return std::find(order.begin(), order.end(), key);
}

void clear() {
Expand Down

0 comments on commit 2cc6dc5

Please sign in to comment.