mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Fixed compiler warnings
This commit is contained in:
parent
0d70a2be69
commit
d291bb397b
4 changed files with 4 additions and 5 deletions
|
@ -1224,7 +1224,8 @@ bool TriangleSelector::has_facets(const std::pair<std::vector<std::pair<int, int
|
|||
std::vector<int> parents_children;
|
||||
parents_children.reserve(64);
|
||||
|
||||
for (auto [triangle_id, ibit] : data.first) {
|
||||
for (const std::pair<int, int> &triangle_id_and_ibit : data.first) {
|
||||
int ibit = triangle_id_and_ibit.second;
|
||||
assert(ibit < data.second.size());
|
||||
auto next_nibble = [&data, &ibit = ibit]() {
|
||||
int n = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue