Linkgraph: Replace a std::list with a std::vector.

This commit is contained in:
Jonathan G Rennison
2017-02-08 20:38:05 +00:00
parent c86a027e88
commit 117b56caeb
4 changed files with 30 additions and 25 deletions

View File

@@ -15,13 +15,13 @@
#include "../thread/thread.h"
#include "../core/dyn_arena_alloc.hpp"
#include "linkgraph.h"
#include <list>
#include <vector>
#include <memory>
class LinkGraphJob;
class Path;
class LinkGraphJobGroup;
typedef std::list<Path *> PathList;
typedef std::vector<Path *> PathList;
/** Type of the pool for link graph jobs. */
typedef Pool<LinkGraphJob, LinkGraphJobID, 32, 0xFFFF> LinkGraphJobPool;