diff options
| author | Tilka <tilkax@gmail.com> | 2020-01-25 21:09:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-25 21:09:22 +0000 |
| commit | a632bc73241a7d1dd244102b05283262be0472f1 (patch) | |
| tree | 52f9350c15bb6a39a5fba382cce28b9434160741 /Source/Core/Common/IniFile.cpp | |
| parent | 14ebdf0e9da81eb0c8dbb7f8a86a482028bf7f63 (diff) | |
| parent | 732032cdb26e919b153f16ca07f8d7fa709c11e8 (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.cpp | 8 |
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)); |
