Skip to content

Commit 0809d1c

Browse files
authored
Merge pull request #755 from elbeno/fix-gcc-15
2 parents aa955ab + 9048130 commit 0809d1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/flow/impl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
namespace flow {
1818
namespace detail {
1919
template <stdx::ct_string FlowName, typename CTNode>
20-
constexpr auto run_func() -> void {
20+
constexpr static auto run_func = []() -> void {
2121
if (CTNode::condition) {
2222
if constexpr (not FlowName.empty()) {
2323
logging::log<
@@ -28,7 +28,7 @@ constexpr auto run_func() -> void {
2828
}
2929
typename CTNode::func_t{}();
3030
}
31-
}
31+
};
3232
} // namespace detail
3333

3434
template <stdx::ct_string Name, std::size_t NumSteps> struct impl {

0 commit comments

Comments
 (0)