Skip to content

Commit

Permalink
Tweak definition of all_points to clarify call site usage
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Aug 16, 2024
1 parent 04c9cf5 commit 4d55b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/forcing/MeshPointsSelectors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#include <string>
#include <boost/variant.hpp>

struct all_points {};
struct AllPoints {} all_points;

struct MeshPointsSelector
{
std::string variable_name;
std::chrono::time_point<std::chrono::steady_clock> init_time;
std::chrono::duration<std::chrono::steady_clock> duration;
std::string output_units;
boost::variant<all_points, std::vector<int>> points;
boost::variant<AllPoints, std::vector<int>> points;
};

0 comments on commit 4d55b6c

Please sign in to comment.