Fixed compilation on clang.
This commit is contained in:
parent
bed21b1e2d
commit
b34252bf0f
@ -35,6 +35,10 @@
|
|||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
namespace UndoRedo {
|
namespace UndoRedo {
|
||||||
|
|
||||||
|
SnapshotData::SnapshotData() : printer_technology(ptUnknown), flags(0)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static std::string topmost_snapshot_name = "@@@ Topmost @@@";
|
static std::string topmost_snapshot_name = "@@@ Topmost @@@";
|
||||||
|
|
||||||
bool Snapshot::is_topmost() const
|
bool Snapshot::is_topmost() const
|
||||||
|
@ -28,10 +28,12 @@ namespace UndoRedo {
|
|||||||
// which may be handy sometimes.
|
// which may be handy sometimes.
|
||||||
struct SnapshotData
|
struct SnapshotData
|
||||||
{
|
{
|
||||||
PrinterTechnology printer_technology = ptUnknown;
|
// Constructor is defined in .cpp due to the forward declaration of enum PrinterTechnology.
|
||||||
// Bitmap of Flags (see the Flags enum).
|
SnapshotData();
|
||||||
unsigned int flags = 0;
|
|
||||||
|
|
||||||
|
PrinterTechnology printer_technology;
|
||||||
|
// Bitmap of Flags (see the Flags enum).
|
||||||
|
unsigned int flags;
|
||||||
|
|
||||||
// Bitmask of various binary flags to be stored with the snapshot.
|
// Bitmask of various binary flags to be stored with the snapshot.
|
||||||
enum Flags {
|
enum Flags {
|
||||||
|
Loading…
Reference in New Issue
Block a user