summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-10 04:26:00 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-10 04:26:00 -0800
commit363fea37f8943ca3d9b3241660bf271fb6e54bc5 (patch)
tree8da4756f2e4318193ad3617c5aa1dd0129f358ea
parent1b8c47a8b14f784f6605eee3a73713dbce6ca572 (diff)
downloadstandingwithresilience-363fea37f8943ca3d9b3241660bf271fb6e54bc5.tar.gz
standingwithresilience-363fea37f8943ca3d9b3241660bf271fb6e54bc5.zip
bugfix with level1 allocation demo
-rw-r--r--starts/meaning-vm/level1.cpp3
1 files changed, 2 insertions, 1 deletions
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;