Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-05-22 18:55:16 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:46 +0300
commitd05a95d469e90eba4919083217fb354479157d0d (patch)
tree902f1360d961c6d1d1ac28ae8660f77951407f58 /std/unordered_set.hpp
parent93219f070fc01b82584a121e0a0d2beb97d01c3d (diff)
Fixed MSVC2010 compilation issues
Diffstat (limited to 'std/unordered_set.hpp')
-rw-r--r--std/unordered_set.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/unordered_set.hpp b/std/unordered_set.hpp
index 2377ed7f2a..c0a69d9eca 100644
--- a/std/unordered_set.hpp
+++ b/std/unordered_set.hpp
@@ -5,6 +5,11 @@
#undef new
#endif
+#if defined(_MSC_VER) && (_MSC_VER >= 1600)
+ // to avoid compilation errors on VS2010
+ #define BOOST_NO_0X_HDR_TYPEINDEX
+#endif
+
#include <boost/unordered_set.hpp>
using boost::unordered_set;