Skip to content

Commit

Permalink
[code style] Fix clang-tidy for d7bbf52 (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiselik authored Jan 16, 2025
1 parent ad5374e commit cfac4e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace qpl::test {
*/
QPL_UNIT_API_ALGORITHMIC_TEST(get_safe_deflate_buffer_size, full_input_size_range) {
for (uint32_t i = UINT32_MAX; i > 0; i--) {
uint32_t buffer_size = qpl_get_safe_deflate_compression_buffer_size(i);
const uint32_t buffer_size = qpl_get_safe_deflate_compression_buffer_size(i);
ASSERT_TRUE(buffer_size > i || buffer_size == 0) << "Buffer size: " << buffer_size << " Input size: " << i;
}
}
Expand Down

0 comments on commit cfac4e0

Please sign in to comment.