Moved pathinfo struct to common place

This commit is contained in:
Dennis Luxen 2011-04-15 16:33:37 +00:00
parent 8502b62c77
commit 92b467ae77
2 changed files with 5 additions and 5 deletions

View File

@ -27,6 +27,11 @@ or see http://www.gnu.org/licenses/agpl.txt.
#include "HashTable.h" #include "HashTable.h"
#include "Util.h" #include "Util.h"
struct _PathData {
_PathData(NodeID n) : node(n) { }
NodeID node;
};
/* Default Speed Profile: /* Default Speed Profile:
motorway 110 motorway 110
motorway_link 90 motorway_link 90

View File

@ -29,11 +29,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
#ifndef BASICDESCRIPTOR_H_ #ifndef BASICDESCRIPTOR_H_
#define BASICDESCRIPTOR_H_ #define BASICDESCRIPTOR_H_
struct _PathData {
_PathData(NodeID n) : node(n) { }
NodeID node;
};
class BasicDescriptor { class BasicDescriptor {
public: public:
template<class SearchEngineT> template<class SearchEngineT>