From 71b56d27a8b771e2287edb5ab4ff4939c5adce19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Fri, 13 Apr 2018 01:29:43 +0300 Subject: [PATCH] Keep Capacity::Unit a simple enum, otherwise KPM fails to compile. --- src/util/capacity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/capacity.h b/src/util/capacity.h index 632e847..1346080 100644 --- a/src/util/capacity.h +++ b/src/util/capacity.h @@ -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 */