mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Added static asserts on classes initialized by memset to make sure it is possible to do
This commit is contained in:
parent
0d9f26f10b
commit
1685a30ee0
2 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,7 @@ struct FillParams
|
|||
// in this case we don't try to make more continuous paths
|
||||
bool complete;
|
||||
};
|
||||
static_assert(std::is_trivially_copyable<FillParams>::value, "FillParams class is not POD (and it should be - see constructor).");
|
||||
|
||||
class Fill
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue