Merge pull request #1963 from aprilnovak/fix-reorder

Reorder member variables to avoid order compile issue.
This commit is contained in:
Paul Romano 2022-02-04 16:40:53 -06:00 committed by GitHub
commit 6c643bbb7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,8 +145,8 @@ public:
: next_index {_index}, max_surface {_max_surface}, distance {_distance}
{}
int next_index {-1};
double distance {INFTY};
bool max_surface {true};
double distance {INFTY};
bool operator<(const MeshDistance& o) const
{
return distance < o.distance;