Skip to content

Update constant for invalid compression algorithm.#45

Merged
pcanal merged 1 commit intoroot-project:masterfrom
bbockelm:invalid_compression_level
May 26, 2017
Merged

Update constant for invalid compression algorithm.#45
pcanal merged 1 commit intoroot-project:masterfrom
bbockelm:invalid_compression_level

Conversation

@bbockelm
Copy link
Copy Markdown
Contributor

Previously, 4 was used to indicate an invalid compression algorithm number.

Bump this in preparation for assigning compression algorithm 4 to LZ4.


message->SetCompressionSettings(202);
message->SetCompressionAlgorithm(4);
message->SetCompressionAlgorithm(5);
Copy link
Copy Markdown
Member

@pcanal pcanal May 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than 5, can you make 99 or so :)
humm .... or does it need to match the 'end' of the enum?

Previously, `4` was used to indicate an invalid compression algorithm
number.

Bump this in preparation for assigning compression algorithm `4`
to LZ4.
@bbockelm bbockelm force-pushed the invalid_compression_level branch from 3ec3e52 to 1566676 Compare May 25, 2017 22:11
@pcanal pcanal merged commit b6fc61b into root-project:master May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants