mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Common/Core: Minor rvalue reference related cleanups.
This commit is contained in:
@ -185,13 +185,7 @@ bool IniFile::Exists(std::string_view section_name, std::string_view key) const
|
||||
return section->Exists(key);
|
||||
}
|
||||
|
||||
void IniFile::SetLines(std::string_view section_name, const std::vector<std::string>& lines)
|
||||
{
|
||||
Section* section = GetOrCreateSection(section_name);
|
||||
section->SetLines(lines);
|
||||
}
|
||||
|
||||
void IniFile::SetLines(std::string_view section_name, std::vector<std::string>&& lines)
|
||||
void IniFile::SetLines(std::string_view section_name, std::vector<std::string> lines)
|
||||
{
|
||||
Section* section = GetOrCreateSection(section_name);
|
||||
section->SetLines(std::move(lines));
|
||||
|
Reference in New Issue
Block a user