From 968414044e87be7399f73a01b718b4894bb65e01 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 25 Jun 2022 18:56:44 -0700 Subject: Move EvalState and the eval coroutines to a separate header. --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 25bd99b..6c0705c 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,7 @@ #include #include "aisa/aisa.h" +#include "aisa/eval.h" #include "git-tag.h" int main(int argc, const char *argv[]) @@ -63,7 +64,7 @@ int main(int argc, const char *argv[]) std::cout << "\n\n\n"; - auto w = step.eval(state); + auto w = state.eval(step); std::cout << "run\n"; w(); std::cout << "run\n"; w(); std::cout << "run\n"; w(); -- cgit v1.2.3