mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Disable C++11 hash feature in C++ Supports to compile on Strawberry.
This commit is contained in:
parent
47cc9687a0
commit
a7c53c7f5f
1 changed files with 2 additions and 0 deletions
|
@ -101,11 +101,13 @@ public:
|
||||||
bool operator<(const LayerExtreme &other) const { return z() < other.z(); }
|
bool operator<(const LayerExtreme &other) const { return z() < other.z(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
struct LayerPrintZ_Hash {
|
struct LayerPrintZ_Hash {
|
||||||
size_t operator()(const MyLayer &layer) const {
|
size_t operator()(const MyLayer &layer) const {
|
||||||
return std::hash<double>()(layer.print_z)^std::hash<double>()(layer.height)^size_t(layer.bridging);
|
return std::hash<double>()(layer.print_z)^std::hash<double>()(layer.height)^size_t(layer.bridging);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
typedef std::vector<MyLayer*> MyLayersPtr;
|
typedef std::vector<MyLayer*> MyLayersPtr;
|
||||||
typedef std::deque<MyLayer> MyLayerStorage;
|
typedef std::deque<MyLayer> MyLayerStorage;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue