Keep Capacity::Unit a simple enum, otherwise KPM fails to compile.
This commit is contained in:
parent
fc4133233b
commit
71b56d27a8
|
@ -36,7 +36,7 @@ class LIBKPMCORE_EXPORT Capacity
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** Units we can deal with */
|
/** Units we can deal with */
|
||||||
enum class Unit : uint { Byte, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB };
|
enum Unit : uint { Byte, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB };
|
||||||
/** Type of capacity to print */
|
/** Type of capacity to print */
|
||||||
enum class Type { Used, Available, Total };
|
enum class Type { Used, Available, Total };
|
||||||
/** Flags for printing */
|
/** Flags for printing */
|
||||||
|
|
Loading…
Reference in New Issue