refactor: clean up namespace

This commit is contained in:
Michael Mandl 2024-03-21 10:59:20 +01:00
parent 3b1446f049
commit 029196237d
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -14,8 +14,8 @@ GroupedFinder::GroupedFinder(const WordList &word_list) {
}
}
std::forward_list<const std::string *>
GroupedFinder::find_prefix(std::string_view search_prefix) const {
forward_list<const string *>
GroupedFinder::find_prefix(string_view search_prefix) const {
const auto group = groups_.find(search_prefix.front());
if (group == groups_.cend()) {
return {};