mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Disable C++11 hash feature in C++ Supports to compile on Strawberry.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user