From a7c53c7f5f43eff2705cb1784a0ed4b822f8ec3e Mon Sep 17 00:00:00 2001 From: bubnikv Date: Sun, 16 Oct 2016 22:56:21 +0200 Subject: [PATCH] Disable C++11 hash feature in C++ Supports to compile on Strawberry. --- xs/src/libslic3r/SupportMaterial.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/libslic3r/SupportMaterial.hpp b/xs/src/libslic3r/SupportMaterial.hpp index f784124a6..f11b225c7 100644 --- a/xs/src/libslic3r/SupportMaterial.hpp +++ b/xs/src/libslic3r/SupportMaterial.hpp @@ -101,11 +101,13 @@ public: bool operator<(const LayerExtreme &other) const { return z() < other.z(); } }; +/* struct LayerPrintZ_Hash { size_t operator()(const MyLayer &layer) const { return std::hash()(layer.print_z)^std::hash()(layer.height)^size_t(layer.bridging); } }; +*/ typedef std::vector MyLayersPtr; typedef std::deque MyLayerStorage;