Re-impl CC_ASSERT & CC_ASSERTF (#13588)

This commit is contained in:
江战
2022-12-05 17:12:30 +08:00
committed by GitHub
parent 9a9f3da6e1
commit 046a2b1378
125 changed files with 655 additions and 411 deletions
+2 -2
View File
@@ -295,7 +295,7 @@ ccstd::vector<MacroRecord> EffectAsset::generateRecords(const ccstd::string &key
ret.emplace_back(record);
}
} else {
CC_ASSERT(false);
CC_ABORT();
}
return ret;
@@ -325,7 +325,7 @@ ccstd::vector<MacroRecord> EffectAsset::insertInfoValue(const ccstd::vector<Macr
ret.emplace_back(tmpRecord);
}
} else {
CC_ASSERT(false);
CC_ABORT();
}
}