about summary refs log tree commit diff stats
path: root/077hash.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-17 10:09:48 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-17 10:09:48 -0800
commit3adc9e08715fb695b8a7f53d5cfb3db1bd434b05 (patch)
tree2336287ac111e0038fd01391ea9d4c57fe9a3f2b /077hash.cc
parent89500176d9ff86eedcc99c2d2d11b1ac96022c97 (diff)
downloadmu-3adc9e08715fb695b8a7f53d5cfb3db1bd434b05.tar.gz
2667 - redo container data structure
I've been gradually Greenspunning reagents. Just go all the way.
Diffstat (limited to '077hash.cc')
-rw-r--r--077hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/077hash.cc b/077hash.cc
index ea185cfa..f2cc403d 100644
--- a/077hash.cc
+++ b/077hash.cc
@@ -104,7 +104,7 @@ size_t hash_mu_container(size_t h, const reagent& r) {
     element.set_value(address+offset);
     h = hash(h, element);
 //?     cerr << i << ": " << h << '\n';
-    offset += size_of(info.elements.at(i));
+    offset += size_of(info.elements.at(i).type);
   }
   return h;
 }