Use `std::string::empty` rather than string comparison

This commit is contained in:
Phillip Stephens 2019-10-13 19:47:24 -07:00
parent 6260708ba4
commit 9e2486ba0e
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ void SpecBase::flattenDependenciesBlend(const hecl::ProjectPath& in, std::vector
}
hecl::SystemStringConv chSysName(sub.name);
if (sub.cskrId != "") {
if (!sub.cskrId.empty()) {
hecl::SystemStringConv cskrSysName(sub.cskrId);
pathsOut.push_back(asGlob.ensureAuxInfo(fmt::format(fmt(_SYS_STR("{}_{}.CSKR")), chSysName, cskrSysName)));
} else {