Common/Core: Minor rvalue reference related cleanups.

This commit is contained in:
Jordan Woyak
2020-01-23 22:58:23 -06:00
parent 42c03c4dad
commit 732032cdb2
6 changed files with 12 additions and 46 deletions

View File

@ -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));