mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Core: Get rid of a few c_str/strlen calls
This commit is contained in:
@@ -88,7 +88,7 @@ void VirtualDiscFileSystem::LoadFileListIndex() {
|
||||
line = line.substr(3);
|
||||
}
|
||||
|
||||
if (strlen(line.data()) < 1 || line[0] == ';') {
|
||||
if (line.empty() || line[0] == ';') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user