Skip to content

Commit

Permalink
Merge pull request #185 from tcbrindle/pr/gcc_14_fixes
Browse files Browse the repository at this point in the history
Fixes for GCC 14
  • Loading branch information
tcbrindle committed May 17, 2024
2 parents 7e98c0a + 1d2de01 commit ce8132b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/flux/op/zip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include <flux/core.hpp>
#include <flux/source/empty.hpp>

#include <algorithm> // for std::min({ilist...})

namespace flux {

namespace detail {
Expand Down
1 change: 1 addition & 0 deletions module/flux.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

module;

#include <algorithm>
#include <array>
#include <bitset>
#include <compare>
Expand Down
2 changes: 1 addition & 1 deletion test/test_flatten.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ constexpr
#endif
bool issue_150()
{
const std::vector<std::string> vec{"a", "b", "c"};
const std::vector<std::string_view> vec{"a", "b", "c"};

auto str = flux::ref(vec).flatten().to<std::string>();

Expand Down

0 comments on commit ce8132b

Please sign in to comment.