From 2e142b112a9f10bd35e0ca33d7b9ff7783d26380 Mon Sep 17 00:00:00 2001 From: Tristan Brindle Date: Fri, 17 May 2024 16:42:20 +0100 Subject: [PATCH] Fix missing #include in zip.hpp A couple of the zip functions use the init-list overload of std::min. Unfortunately this means we need to bring in the header (previously we happened to be getting away without it on all three platforms). I'd rather avoid dragging in this large header, so a better long-term solution would be to add an overload of our own cmp::min which does the equivalent of std:min({ilist...}) --- include/flux/op/zip.hpp | 2 ++ module/flux.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/include/flux/op/zip.hpp b/include/flux/op/zip.hpp index 1fa0d555..50caf5cf 100644 --- a/include/flux/op/zip.hpp +++ b/include/flux/op/zip.hpp @@ -9,6 +9,8 @@ #include #include +#include // for std::min({ilist...}) + namespace flux { namespace detail { diff --git a/module/flux.cpp b/module/flux.cpp index 3141bf41..f63737a0 100644 --- a/module/flux.cpp +++ b/module/flux.cpp @@ -1,6 +1,7 @@ module; +#include #include #include #include