From b7d1ebada630aa1ed4e2929a1d19f1c52ecec0da Mon Sep 17 00:00:00 2001 From: Phil Miller Date: Fri, 23 Aug 2024 09:16:09 -0700 Subject: [PATCH] Fix declaration of all_points to avoid linking errors on duplicate definition --- include/forcing/MeshPointsSelectors.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/forcing/MeshPointsSelectors.hpp b/include/forcing/MeshPointsSelectors.hpp index bddae4c267..0a230e34c3 100644 --- a/include/forcing/MeshPointsSelectors.hpp +++ b/include/forcing/MeshPointsSelectors.hpp @@ -4,7 +4,8 @@ #include #include -struct AllPoints {} all_points; +struct AllPoints {}; +static AllPoints all_points; struct MeshPointsSelector {