refactor: clean up namespace
This commit is contained in:
parent
3b1446f049
commit
029196237d
@ -14,8 +14,8 @@ GroupedFinder::GroupedFinder(const WordList &word_list) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::forward_list<const std::string *>
|
forward_list<const string *>
|
||||||
GroupedFinder::find_prefix(std::string_view search_prefix) const {
|
GroupedFinder::find_prefix(string_view search_prefix) const {
|
||||||
const auto group = groups_.find(search_prefix.front());
|
const auto group = groups_.find(search_prefix.front());
|
||||||
if (group == groups_.cend()) {
|
if (group == groups_.cend()) {
|
||||||
return {};
|
return {};
|
||||||
|
Reference in New Issue
Block a user