mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
Fix clang-tidy warning
This commit is contained in:
@@ -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, std::string name)
|
||||
std::optional<registry_value> registry_manager::get_value(const registry_key& key, const std::string& name)
|
||||
{
|
||||
const auto iterator = this->hives_.find(key.hive);
|
||||
if (iterator == this->hives_.end())
|
||||
|
||||
@@ -47,7 +47,7 @@ class registry_manager
|
||||
registry_manager& operator=(const registry_manager&) = delete;
|
||||
|
||||
std::optional<registry_key> get_key(const utils::path_key& key);
|
||||
std::optional<registry_value> get_value(const registry_key& key, std::string name);
|
||||
std::optional<registry_value> get_value(const registry_key& key, const std::string& name);
|
||||
std::optional<registry_value> get_value(const registry_key& key, size_t index);
|
||||
|
||||
std::optional<std::string_view> get_sub_key_name(const registry_key& key, size_t index);
|
||||
|
||||
Reference in New Issue
Block a user