Keep Capacity::Unit a simple enum, otherwise KPM fails to compile.

This commit is contained in:
Andrius Štikonas 2018-04-13 01:29:43 +03:00
parent fc4133233b
commit 71b56d27a8
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class LIBKPMCORE_EXPORT Capacity
{
public:
/** 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 */
enum class Type { Used, Available, Total };
/** Flags for printing */