Codechange: replace x.size() == 0 with x.empty()
This commit is contained in:
@@ -35,7 +35,7 @@ void GameScannerInfo::RegisterAPI(class Squirrel *engine)
|
||||
|
||||
GameInfo *GameScannerInfo::FindInfo(const std::string &name, int version, bool force_exact_match)
|
||||
{
|
||||
if (this->info_list.size() == 0) return nullptr;
|
||||
if (this->info_list.empty()) return nullptr;
|
||||
if (name.empty()) return nullptr;
|
||||
|
||||
if (version == -1) {
|
||||
|
Reference in New Issue
Block a user