summaryrefslogtreecommitdiff
path: root/game/network
diff options
context:
space:
mode:
Diffstat (limited to 'game/network')
-rw-r--r--game/network/link.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/network/link.h b/game/network/link.h
index e541975..afb3900 100644
--- a/game/network/link.h
+++ b/game/network/link.h
@@ -44,7 +44,8 @@ public:
std::array<End, 2> ends;
float length;
using Next = std::pair<LinkWPtr, unsigned char /*end*/>;
- std::array<std::vector<Next>, 2> nexts;
+ using Nexts = std::vector<Next>;
+ std::array<Nexts, 2> nexts;
};
bool operator<(const glm::vec3 & a, const glm::vec3 & b);