summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2020-01-25 21:09:22 +0000
committerGitHub <noreply@github.com>2020-01-25 21:09:22 +0000
commita632bc73241a7d1dd244102b05283262be0472f1 (patch)
tree52f9350c15bb6a39a5fba382cce28b9434160741 /Source/Core/Common/IniFile.cpp
parent14ebdf0e9da81eb0c8dbb7f8a86a482028bf7f63 (diff)
parent732032cdb26e919b153f16ca07f8d7fa709c11e8 (diff)
Merge pull request #8579 from jordan-woyak/rvalue-cleanups
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));