From f663df87d44fe947e0ba072af0b6c1403abc8d1f Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 11 Jan 2011 17:42:55 +0000 Subject: [PATCH] Minor C++ include fixes --- DataStructures/ExtractorStructs.h | 5 ++--- DataStructures/Util.h | 2 ++ typedefs.h | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/DataStructures/ExtractorStructs.h b/DataStructures/ExtractorStructs.h index b1f44a559..6c7e0fc6a 100644 --- a/DataStructures/ExtractorStructs.h +++ b/DataStructures/ExtractorStructs.h @@ -24,8 +24,7 @@ or see http://www.gnu.org/licenses/agpl.txt. #include #include #include -#include - +#include "HashTable.h" #include "Util.h" /* Default Speed Profile: @@ -45,7 +44,7 @@ or see http://www.gnu.org/licenses/agpl.txt. ferry 5 */ -typedef google::dense_hash_map StringMap; +typedef HashTable StringMap; std::string names[14] = { "motorway", "motorway_link", "trunk", "trunk_link", "primary", "primary_link", "secondary", "secondary_link", "tertiary", "unclassified", "residential", "living_street", "service", "ferry" }; double speeds[14] = { 110, 90, 90, 70, 70, 60, 60, 50, 55, 25, 40 , 10, 30, 5}; diff --git a/DataStructures/Util.h b/DataStructures/Util.h index 82cd01212..7fea6754f 100644 --- a/DataStructures/Util.h +++ b/DataStructures/Util.h @@ -25,6 +25,8 @@ or see http://www.gnu.org/licenses/agpl.txt. #include #include #include +#include +#include /** Returns a timestamp (now) in seconds (incl. a fractional part). */ inline double get_timestamp() diff --git a/typedefs.h b/typedefs.h index 898622a05..ebac4f0dd 100644 --- a/typedefs.h +++ b/typedefs.h @@ -30,7 +30,7 @@ or see http://www.gnu.org/licenses/agpl.txt. #include #include - +#include using namespace std; #define VERBOSE(x) x