2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-03 02:01:21 +00:00

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

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 {