mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -06:00
Fix some warnings on gcc 11
This commit is contained in:
parent
39a6c13c81
commit
ed67fb506e
3 changed files with 4 additions and 3 deletions
|
@ -577,7 +577,7 @@ private:
|
|||
|
||||
|
||||
template<class Level>
|
||||
Shapes calcnfp(const Item &trsh, Level)
|
||||
Shapes calcnfp(const Item &/*trsh*/, Level)
|
||||
{ // Function for arbitrary level of nfp implementation
|
||||
|
||||
// TODO: implement
|
||||
|
|
|
@ -33,7 +33,8 @@ public:
|
|||
PackResult(Item& item):
|
||||
item_ptr_(&item),
|
||||
move_(item.translation()),
|
||||
rot_(item.rotation()) {}
|
||||
rot_(item.rotation()),
|
||||
overfit_(1.0) {}
|
||||
|
||||
PackResult(double overfit = 1.0):
|
||||
item_ptr_(nullptr), overfit_(overfit) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue