From: Arnaud Giersch Date: Thu, 6 Dec 2018 15:59:27 +0000 (+0100) Subject: Remove unused build option. X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/41abcf0a2ff17ef20ab86d05a5e5f959bd5fd269 Remove unused build option. --- diff --git a/process.h b/process.h index 55ee792..f01c3c6 100644 --- a/process.h +++ b/process.h @@ -1,18 +1,9 @@ #ifndef PROCESS_H #define PROCESS_H -#define USE_UNORDERED_MAP 1 -//#undef USE_UNORDERED_MAP - #include #include -#ifdef USE_UNORDERED_MAP -# include -# define MAP_TEMPLATE std::unordered_map -#else -# include -# define MAP_TEMPLATE std::map -#endif +#include #include #include #include @@ -102,7 +93,7 @@ private: static std::atomic convergence_counter; - typedef MAP_TEMPLATE rev_neigh_type; + typedef std::unordered_map rev_neigh_type; neigh_type neigh; // list of neighbors (do not alter // after construction!) rev_neigh_type rev_neigh; // map msg_host_t -> neighbor