fix typos

This commit is contained in:
remi durand 2022-02-10 14:24:23 +01:00 committed by supermerill
parent 35d334eb1c
commit 329272ea9e
2 changed files with 2 additions and 2 deletions

View File

@ -2327,7 +2327,7 @@ void Print::_extrude_brim_from_tree(std::vector<std::vector<BrimLoop>>& loops, c
print_me_first->append(ExtrusionEntitiesPtr{ children });
}
}
assert(print_me_first.size() > 0);
assert(print_me_first->entities().size() > 0);
}
};
extrude_ptr = &extrude;

View File

@ -281,7 +281,7 @@ void PresetUpdater::priv::sync_version() const
boost::property_tree::read_json(json_stream, root);
bool i_am_pre = false;
//at least two number, use '.' as separator. can be followed by -Az23 for prereleased and +Az42 for metadata
std::regex matcher("[0-9]+\.[0-9]+(\.[0-9]+)*(-[A-Za-z0-9]+)?(\\+[A-Za-z0-9]+)?");
std::regex matcher("[0-9]+\\.[0-9]+(\\.[0-9]+)*(-[A-Za-z0-9]+)?(\\+[A-Za-z0-9]+)?");
Semver current_version(SLIC3R_VERSION_FULL);
Semver best_pre(1,0,0,0);