Core: Get rid of a few c_str/strlen calls

This commit is contained in:
Lioncash 2014-12-03 17:02:21 -05:00
parent c1084b6b93
commit cd26b200b2
2 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ void VirtualDiscFileSystem::LoadFileListIndex() {
line = line.substr(3);
}
if (strlen(line.data()) < 1 || line[0] == ';') {
if (line.empty() || line[0] == ';') {
continue;
}