mirror of https://github.com/AxioDL/metaforce.git
Use `std::string::empty` rather than string comparison
This commit is contained in:
parent
6260708ba4
commit
9e2486ba0e
|
@ -307,7 +307,7 @@ void SpecBase::flattenDependenciesBlend(const hecl::ProjectPath& in, std::vector
|
||||||
}
|
}
|
||||||
|
|
||||||
hecl::SystemStringConv chSysName(sub.name);
|
hecl::SystemStringConv chSysName(sub.name);
|
||||||
if (sub.cskrId != "") {
|
if (!sub.cskrId.empty()) {
|
||||||
hecl::SystemStringConv cskrSysName(sub.cskrId);
|
hecl::SystemStringConv cskrSysName(sub.cskrId);
|
||||||
pathsOut.push_back(asGlob.ensureAuxInfo(fmt::format(fmt(_SYS_STR("{}_{}.CSKR")), chSysName, cskrSysName)));
|
pathsOut.push_back(asGlob.ensureAuxInfo(fmt::format(fmt(_SYS_STR("{}_{}.CSKR")), chSysName, cskrSysName)));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue