summaryrefslogtreecommitdiff
path: root/game/network/link.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 16:44:00 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-14 16:44:00 +0000
commit4562557d599fd70d32b15313ffebd976c3ddfa7d (patch)
tree54d0a6798be87fb1f38f2152c12e60b1dc033639 /game/network/link.h
parentBroken down Brush47 (diff)
downloadilt-4562557d599fd70d32b15313ffebd976c3ddfa7d.tar.bz2
ilt-4562557d599fd70d32b15313ffebd976c3ddfa7d.tar.xz
ilt-4562557d599fd70d32b15313ffebd976c3ddfa7d.zip
Maintain a history of links traversed
Diffstat (limited to 'game/network/link.h')
-rw-r--r--game/network/link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/network/link.h b/game/network/link.h
index 207ecd0..4968eba 100644
--- a/game/network/link.h
+++ b/game/network/link.h
@@ -28,6 +28,7 @@ using NodePtr = std::shared_ptr<Node>;
// it joins 2 nodes
class Link;
using LinkPtr = std::shared_ptr<Link>;
+using LinkCPtr = std::shared_ptr<const Link>;
using LinkWPtr = std::weak_ptr<const Link>;
class Link {
public: