1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-17 16:02:43 +01:00

SymbolStr: Remove std::string conversion

This refactoring allows the symbol table to be stored as something
other than std::strings.
This commit is contained in:
Eelco Dolstra 2024-06-06 16:33:41 +02:00
parent 0363dbf2b9
commit 61080554ab
15 changed files with 37 additions and 37 deletions

View file

@ -35,8 +35,8 @@ public:
) const;
static Suggestions bestMatches (
std::set<std::string> allMatches,
std::string query
const std::set<std::string> & allMatches,
std::string_view query
);
Suggestions& operator+=(const Suggestions & other);