Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/flow/impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace flow {
namespace detail {
template <stdx::ct_string FlowName, typename CTNode>
constexpr auto run_func() -> void {
constexpr static auto run_func = []() -> void {
if (CTNode::condition) {
if constexpr (not FlowName.empty()) {
logging::log<
Expand All @@ -28,7 +28,7 @@ constexpr auto run_func() -> void {
}
typename CTNode::func_t{}();
}
}
};
} // namespace detail

template <stdx::ct_string Name, std::size_t NumSteps> struct impl {
Expand Down
Loading