mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-13 03:37:05 +01:00
settings: key check with string view
make our string comparisons nicer also clean-up namespaces for storage access
This commit is contained in:
@@ -36,7 +36,7 @@ namespace {
|
||||
void deletePrefixes(query::StringViewIterator prefixes) {
|
||||
std::vector<String> to_purge;
|
||||
|
||||
internal::foreach_prefix([&](StringView, String key, const kvs_type::ReadResult&) {
|
||||
foreach_prefix([&](StringView, String key, const kvs_type::ReadResult&) {
|
||||
to_purge.push_back(std::move(key));
|
||||
}, prefixes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user