aboutsummaryrefslogtreecommitdiff
path: root/src/2022/day12/aoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/2022/day12/aoc.h')
-rw-r--r--src/2022/day12/aoc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/2022/day12/aoc.h b/src/2022/day12/aoc.h
index 9fe707e..743b41b 100644
--- a/src/2022/day12/aoc.h
+++ b/src/2022/day12/aoc.h
@@ -26,15 +26,6 @@ struct heightmap {
pos start;
pos end;
- char* indent (int s) {
- static char space[100] = {0};
- memset(space, 0 ,100);
- for(int i = 0; i < s; i++) {
- space[i] = ' ';
- }
- return space;
- };
-
char& get(pos p) {
return heights[p.y * col + p.x].h;
}