refine cosmos issue

This commit is contained in:
jinjunzh 2023-12-11 09:57:41 -05:00
parent c1c46b655f
commit a25de0cc64

View File

@ -180,7 +180,7 @@ private:
UInt32 CompressionCodecQATZSTD::doCompressData(const char * source, UInt32 source_size, char * dest) const
{
if(!initialized)
if (!initialized)
{
cctx = ZSTD_createCCtx();
/* Start QAT device, start QAT device at any time before compression job started */
@ -241,7 +241,7 @@ CompressionCodecQATZSTD::CompressionCodecQATZSTD(int level_)
CompressionCodecQATZSTD::~CompressionCodecQATZSTD()
{
if(initialized)
if (initialized)
{
/* Free sequence producer state */
QZSTD_freeSeqProdState(sequenceProducerState);