refactor(Core/Misc): Use .empty() instead of == "" (#7870)

This commit is contained in:
Kitzunu 2021-09-20 00:46:00 +02:00 committed by GitHub
parent 6df7303b24
commit 339d58ecdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -325,7 +325,7 @@ public:
std::string type;
parsedStream >> type;
if (type == "")
if (type.empty())
break;
if (type == "uint8")