mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
More cleanup. Fix some warnings.
This commit is contained in:
1 parent
14ddad5ce3
commit
4ec26d5002
5 files changed
+28
-12
No files matched your search
@@ -308,13 +308,10 @@ void Section::Set(std::string_view key, const std::vector<std::string> &newValue
|
||||
Set(key, temp.c_str());
|
||||
}
|
||||
|
||||
bool Section::Get(std::string_view key, std::vector<std::string> *values, const std::vector<std::string_view> *defaultValues) const {
|
||||
bool Section::Get(std::string_view key, std::vector<std::string> *values) const {
|
||||
std::string temp;
|
||||
bool retval = Get(key, &temp);
|
||||
if (!retval) {
|
||||
if (defaultValues) {
|
||||
CopyStrings(values, *defaultValues);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
SplitString(temp, ',', *values, true);
|
||||
|
||||
Reference in new issue
Block a user