Skip to content

Commit

Permalink
Fix declaration of all_points to avoid linking errors on duplicate de…
Browse files Browse the repository at this point in the history
…finition
  • Loading branch information
PhilMiller committed Aug 23, 2024
1 parent d687db0 commit b7d1eba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/forcing/MeshPointsSelectors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#include <string>
#include <boost/variant.hpp>

struct AllPoints {} all_points;
struct AllPoints {};
static AllPoints all_points;

struct MeshPointsSelector
{
Expand Down

0 comments on commit b7d1eba

Please sign in to comment.