From 3d1a85bbea9d63de5b673422a98804127994a7cd Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Sun, 10 Feb 2013 18:18:39 +0100 Subject: [PATCH] Fixing compilation issues on various compilers, i.e. old GCC, clang, ICPC --- Extractor/ExtractorStructs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Extractor/ExtractorStructs.h b/Extractor/ExtractorStructs.h index 644408ca4..fe21da957 100644 --- a/Extractor/ExtractorStructs.h +++ b/Extractor/ExtractorStructs.h @@ -61,9 +61,10 @@ struct ExtractionWay { ignoreInGrid = false; } - enum { + enum Directions { notSure = 0, oneway, bidirectional, opposite - } direction; + }; + Directions direction; unsigned id; unsigned nameID; std::string name;