Fixed compilation on clang.

This commit is contained in:
bubnikv 2019-07-22 17:26:06 +02:00
parent bed21b1e2d
commit b34252bf0f
2 changed files with 9 additions and 3 deletions

View file

@ -28,10 +28,12 @@ namespace UndoRedo {
// which may be handy sometimes.
struct SnapshotData
{
PrinterTechnology printer_technology = ptUnknown;
// Bitmap of Flags (see the Flags enum).
unsigned int flags = 0;
// Constructor is defined in .cpp due to the forward declaration of enum PrinterTechnology.
SnapshotData();
PrinterTechnology printer_technology;
// Bitmap of Flags (see the Flags enum).
unsigned int flags;
// Bitmask of various binary flags to be stored with the snapshot.
enum Flags {