From 363fea37f8943ca3d9b3241660bf271fb6e54bc5 Mon Sep 17 00:00:00 2001 From: olpc user Date: Tue, 10 Dec 2019 04:26:00 -0800 Subject: bugfix with level1 allocation demo --- starts/meaning-vm/level1.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/starts/meaning-vm/level1.cpp b/starts/meaning-vm/level1.cpp index b1d06f1..aa945b3 100644 --- a/starts/meaning-vm/level1.cpp +++ b/starts/meaning-vm/level1.cpp @@ -10,6 +10,7 @@ int main() std::cout << intellect::level0::allocated() << " allocated" << std::endl; decls(make, linked, habit); + std::cout << intellect::level0::allocated() << " allocated" << std::endl; decls(needs, assumes, makes); decls(not, topic); decls(A, B, C); @@ -64,7 +65,7 @@ int main() std::cout << apple.dump("dumped", true) << std::endl; std::cout << intellect::level0::allocated() << " allocated" << std::endl; - intellect::level0::dealloc(intellect::level0::concepts::allocations(), intellect::level0::concepts::level0allocations()); + intellect::level0::dealloc(intellect::level0::concepts::allocations(), intellect::level0::concepts::allocations()); std::cout << intellect::level0::allocated() << " allocated" << std::endl; return 0; -- cgit v1.2.3