We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa955ab + 9048130 commit 0809d1cCopy full SHA for 0809d1c
include/flow/impl.hpp
@@ -17,7 +17,7 @@
17
namespace flow {
18
namespace detail {
19
template <stdx::ct_string FlowName, typename CTNode>
20
-constexpr auto run_func() -> void {
+constexpr static auto run_func = []() -> void {
21
if (CTNode::condition) {
22
if constexpr (not FlowName.empty()) {
23
logging::log<
@@ -28,7 +28,7 @@ constexpr auto run_func() -> void {
28
}
29
typename CTNode::func_t{}();
30
31
-}
+};
32
} // namespace detail
33
34
template <stdx::ct_string Name, std::size_t NumSteps> struct impl {
0 commit comments