1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Disable C++11 hash feature in C++ Supports to compile on Strawberry.

This commit is contained in:
bubnikv
2016-10-16 22:56:21 +02:00
parent 47cc9687a0
commit a7c53c7f5f
+2
View File
@@ -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<double>()(layer.print_z)^std::hash<double>()(layer.height)^size_t(layer.bridging);
}
};
*/
typedef std::vector<MyLayer*> MyLayersPtr;
typedef std::deque<MyLayer> MyLayerStorage;