summaryrefslogtreecommitdiff
path: root/src/linkgraph
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-03-03 17:30:09 +0000
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commitc01a2e2a81d8e7bcd47d46292ed0b7d452081c31 (patch)
treeb38441ec8469136a6a2252f8c856d22f14ee689e /src/linkgraph
parent6570f7989f5c1fc5a1276505a8e6efce7838efd9 (diff)
downloadopenttd-c01a2e2a81d8e7bcd47d46292ed0b7d452081c31.tar.xz
Codechange: Removed SmallVector completely
Diffstat (limited to 'src/linkgraph')
-rw-r--r--src/linkgraph/linkgraph.h2
-rw-r--r--src/linkgraph/linkgraphjob.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/linkgraph/linkgraph.h b/src/linkgraph/linkgraph.h
index 1900c0b1f..3283eb9bf 100644
--- a/src/linkgraph/linkgraph.h
+++ b/src/linkgraph/linkgraph.h
@@ -435,7 +435,7 @@ public:
void RemoveEdge(NodeID to);
};
- typedef SmallVector<BaseNode, 16> NodeVector;
+ typedef std::vector<BaseNode> NodeVector;
typedef SmallMatrix<BaseEdge> EdgeMatrix;
/** Minimum effective distance for timeout calculation. */
diff --git a/src/linkgraph/linkgraphjob.h b/src/linkgraph/linkgraphjob.h
index b4587a784..b47dd70b9 100644
--- a/src/linkgraph/linkgraphjob.h
+++ b/src/linkgraph/linkgraphjob.h
@@ -50,7 +50,7 @@ private:
void Init(uint supply);
};
- typedef SmallVector<NodeAnnotation, 16> NodeAnnotationVector;
+ typedef std::vector<NodeAnnotation> NodeAnnotationVector;
typedef SmallMatrix<EdgeAnnotation> EdgeAnnotationMatrix;
friend const SaveLoad *GetLinkGraphJobDesc();