Skip to content

Commit

Permalink
last comment
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Nov 15, 2024
1 parent 2b4dcd8 commit 3c5448f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions addon/compression_worker.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef COMPRESSION_WORKER_H
#define COMPRESSION_WORKER_H
#ifndef MONGODB_ZSTD_COMPRESSION_WORKER_H
#define MONGODB_ZSTD_COMPRESSION_WORKER_H
#include <napi.h>

#include <optional>
Expand Down Expand Up @@ -27,6 +27,7 @@ class CompressionWorker final : public Napi::AsyncWorker {
"zstd runtime error - async worker finished without "
"a compression or decompression result.")
.Value()});
return;
}

std::vector<uint8_t> data = *m_result;
Expand Down

0 comments on commit 3c5448f

Please sign in to comment.