Define underlying type for enums so they can be forward-declared.
This commit is contained in:
parent
62c377c348
commit
3c2f383b8e
|
@ -50,7 +50,7 @@ class LIBKPMCORE_EXPORT PartitionTable : public PartitionNode
|
||||||
friend LIBKPMCORE_EXPORT QTextStream& operator<<(QTextStream& stream, const PartitionTable& ptable);
|
friend LIBKPMCORE_EXPORT QTextStream& operator<<(QTextStream& stream, const PartitionTable& ptable);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum TableType {
|
enum TableType : qint8 {
|
||||||
unknownTableType = -1,
|
unknownTableType = -1,
|
||||||
|
|
||||||
aix,
|
aix,
|
||||||
|
@ -68,7 +68,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Partition flags */
|
/** Partition flags */
|
||||||
enum Flag {
|
enum Flag : qint32 {
|
||||||
FlagNone = 0,
|
FlagNone = 0,
|
||||||
FlagBoot = 1,
|
FlagBoot = 1,
|
||||||
FlagRoot = 2,
|
FlagRoot = 2,
|
||||||
|
|
Loading…
Reference in New Issue