summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2020-01-23 22:58:23 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2020-01-23 22:58:23 -0600
commit732032cdb26e919b153f16ca07f8d7fa709c11e8 (patch)
treea058662cd9d1e1b309dfcf2f0548131c7f36fb40 /Source/Core/Common/IniFile.cpp
parent42c03c4dadd9e507a91b07bb01ff597bbd1df728 (diff)
Common/Core: Minor rvalue reference related cleanups.
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
-rw-r--r--Source/Core/Common/IniFile.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp
index b1b9bcba6d..9023db682c 100644
--- a/Source/Core/Common/IniFile.cpp
+++ b/Source/Core/Common/IniFile.cpp
@@ -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));