From 732032cdb26e919b153f16ca07f8d7fa709c11e8 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 23 Jan 2020 22:58:23 -0600 Subject: Common/Core: Minor rvalue reference related cleanups. --- Source/Core/Common/IniFile.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Source/Core/Common/IniFile.cpp') 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& lines) -{ - Section* section = GetOrCreateSection(section_name); - section->SetLines(lines); -} - -void IniFile::SetLines(std::string_view section_name, std::vector&& lines) +void IniFile::SetLines(std::string_view section_name, std::vector lines) { Section* section = GetOrCreateSection(section_name); section->SetLines(std::move(lines)); -- cgit v1.2.3