From e8982ea98193429d4daaf7263def321ed9111b12 Mon Sep 17 00:00:00 2001 From: aprilnovak Date: Fri, 4 Feb 2022 10:24:38 -0600 Subject: [PATCH] Reorder member variables to avoid order compile issue. Refs #1962 --- include/openmc/mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openmc/mesh.h b/include/openmc/mesh.h index ae1e648b3..21c58862d 100644 --- a/include/openmc/mesh.h +++ b/include/openmc/mesh.h @@ -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;