Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Nov 29, 2018
1 parent 7fa4d16 commit b9116f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xs/src/libslic3r/SurfaceCollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ SurfacesConstPtr
SurfaceCollection::filter_by_type(std::initializer_list<SurfaceType> types) const
{
SurfacesConstPtr ss;
for (Surface& s : this->surfaces)
for (const Surface& s : this->surfaces)
for (const SurfaceType& t : types)
if (s.surface_type == t) {
ss.push_back(&s);
Expand Down

0 comments on commit b9116f4

Please sign in to comment.