Skip to content

Commit cfdc3f0

Browse files
committed
OrcLib: Utils: add enum ByteQuantityBase for 1000 or 1024 units
1 parent 6330cbf commit cfdc3f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/OrcLib/Utils/TypeTraits.h

+6
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,12 @@ auto& get_std_out()
319319
}
320320
}
321321

322+
enum class ByteQuantityBase : uint8_t
323+
{
324+
Base2 = 0, // 1024
325+
Base10 // 1000
326+
};
327+
322328
//
323329
// Strong type for integral type used as byte quantity
324330
//

0 commit comments

Comments
 (0)