[LZMA] Change LZMAConstants from struct to enum

This commit is contained in:
Timofey Solomko
2021-07-21 19:47:05 +03:00
parent 7646ec34a1
commit cb730a334d
+3 -1
View File
@@ -5,7 +5,8 @@
import Foundation
struct LZMAConstants {
enum LZMAConstants {
static let topValue: UInt32 = 1 << 24
static let numBitModelTotalBits = 11
static let numMoveBits = 5
@@ -19,4 +20,5 @@ struct LZMAConstants {
static let numFullDistances = 1 << (endPosModelIndex >> 1)
static let matchMinLen = 2
// LZMAConstants.numStates << LZMAConstants.numPosBitsMax = 192
}