Revision: 72310 http://sourceforge.net/p/brlcad/code/72310 Author: bob1961 Date: 2019-02-01 18:16:06 +0000 (Fri, 01 Feb 2019) Log Message: ----------- Use std::unordered_map instead of stdext::hash_map When building libspsr on windows --- build was failing with Visual Studio 2017.
Modified Paths: -------------- brlcad/trunk/src/other/libspsr/Src/Hash.h Modified: brlcad/trunk/src/other/libspsr/Src/Hash.h =================================================================== --- brlcad/trunk/src/other/libspsr/Src/Hash.h 2019-02-01 18:09:16 UTC (rev 72309) +++ brlcad/trunk/src/other/libspsr/Src/Hash.h 2019-02-01 18:16:06 UTC (rev 72310) @@ -1,8 +1,9 @@ #ifndef HASH_INCLUDED #define HASH_INCLUDED #ifdef WIN32 -#include <hash_map> -using stdext::hash_map; +#include <unordered_map> +#define hash_map unordered_map +using std::unordered_map; #else // !WIN32 #include <ext/hash_map> using namespace __gnu_cxx; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits