Skip to content

Commit

Permalink
fix: C++14 support (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibae authored Sep 15, 2023
1 parent 8cbc472 commit 606e38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread_pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace onnxruntime_server {

std::mutex queue_mutex;
std::condition_variable condition;
std::atomic_bool stop = false;
std::atomic_bool stop = ATOMIC_VAR_INIT(false);
};
} // namespace onnxruntime_server

Expand Down

0 comments on commit 606e38c

Please sign in to comment.