Skip to content

Commit

Permalink
Reduce more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LandryNorris committed Jul 7, 2023
1 parent 5432d6d commit a49415d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rhsplib/src/RHSPlibWorker.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <map>
#include <mutex>
#include <thread>

/* Macros for writing lambda functions */

Expand Down Expand Up @@ -222,8 +223,8 @@ class RHSPlibWorker<void> : public Napi::AsyncWorker, public RHSPlibWorkerBase {
void OnError(const Napi::Error &e) override { deferred.Reject(e.Value()); }

private:
std::function<void(int &, uint8_t &)> workFunction;
Napi::Promise::Deferred deferred;
std::function<void(int &, uint8_t &)> workFunction;
int resultCode;
uint8_t nackCode;
};
Expand Down

0 comments on commit a49415d

Please sign in to comment.