mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-06 19:53:28 +00:00
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…
x
Reference in New Issue
Block a user