Apply suggested changes

This commit is contained in:
Igor Pissolati
2025-04-21 21:52:40 -03:00
parent 7dbf498ea9
commit b40cfa2bed
3 changed files with 8 additions and 6 deletions

View File

@@ -114,7 +114,7 @@ std::optional<registry_key> registry_manager::get_key(const utils::path_key& key
return {std::move(reg_key)};
}
std::optional<registry_value> registry_manager::get_value(const registry_key& key, const std::string& name)
std::optional<registry_value> registry_manager::get_value(const registry_key& key, std::string_view name)
{
const auto iterator = this->hives_.find(key.hive);
if (iterator == this->hives_.end())