mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Core/UI: use clear() and empty() for std containers
This commit is contained in:
1 parent
dbb34075bc
commit
d406f63102
5 files changed
+6
-6
No files matched your search
@@ -322,7 +322,7 @@ bool ConfigSetting::RestoreToDefault(ConfigBlock *configBlock, bool log) const {
|
||||
} else if (default_.s != nullptr) {
|
||||
*ptr_s = default_.s;
|
||||
} else {
|
||||
*ptr_s = "";
|
||||
ptr_s->clear();
|
||||
}
|
||||
if (*ptr_s != origValue) {
|
||||
if (log) {
|
||||
|
||||
Reference in new issue
Block a user