Merge remote-tracking branch 'lethosor/css-skip-temp-save' into develop

develop
lethosor 2023-08-06 00:22:49 -04:00
commit 4087a9f303
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 1 deletions

@ -821,7 +821,7 @@ void Checker::check_stl_vector(const QueueItem & item, type_identity *item_ident
auto vec_items = validate_vector_size(item, CheckedStructure(item_identity)); auto vec_items = validate_vector_size(item, CheckedStructure(item_identity));
// skip bad pointer vectors // skip bad pointer vectors
if (item.path.length() > 4 && item.path.substr(item.path.length() - 4) == ".bad" && item_identity->type() == IDTYPE_POINTER) if ((item.path.ends_with(".bad") || item.path.ends_with(".temp_save")) && item_identity->type() == IDTYPE_POINTER)
{ {
return; return;
} }