[counting_visitor] fix the path for ValueCounter

This commit is contained in:
Ming-Hung Tsai 2016-06-19 21:35:58 +08:00
parent e8f1bda1a5
commit 60eb608825

View File

@ -37,7 +37,7 @@ namespace persistent_data {
for (unsigned i = 0; i < nr; i++) {
// FIXME: confirm l2 is correct
node_location l2(l);
l2.push_key(i);
l2.push_key(n.key_at(i));
vc_.visit(l2, n.value_at(i));
}