aboutsummaryrefslogtreecommitdiff
path: root/DijkstraPathfinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'DijkstraPathfinder.h')
-rw-r--r--DijkstraPathfinder.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/DijkstraPathfinder.h b/DijkstraPathfinder.h
index 93e6943..ab21361 100644
--- a/DijkstraPathfinder.h
+++ b/DijkstraPathfinder.h
@@ -20,10 +20,6 @@ private:
unsigned int distance = -1;
XY parent;
};
- struct Neighbor {
- unsigned int distance = -1;
- XY position;
- };
Node & map_get(const XY &);
std::unordered_map<XY, Node> map;