aboutsummaryrefslogtreecommitdiff
path: root/src/2017/day7/aoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/2017/day7/aoc.h')
-rw-r--r--src/2017/day7/aoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/2017/day7/aoc.h b/src/2017/day7/aoc.h
index f3b9104..1a5a7d9 100644
--- a/src/2017/day7/aoc.h
+++ b/src/2017/day7/aoc.h
@@ -7,6 +7,7 @@ namespace aoc2017 {
struct disc {
line_view name;
int weight;
+ int total = 0;
std::vector<disc*> subs;
const char* xp = nullptr;