Skip to content

Commit

Permalink
std::atomic<bool> --> std::atomic_bool
Browse files Browse the repository at this point in the history
Co-authored-by: Filippo Brizzi <[email protected]>
  • Loading branch information
floriantschopp and filippobrizzi authored Mar 26, 2024
1 parent 929b772 commit 5d48eec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/concurrency/include/hephaestus/concurrency/spinner.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class Spinner {
void addStopCallback(std::function<void()> callback);

private:
std::atomic<bool> is_started_ = false;
std::atomic<bool> stop_requested_ = false;
std::atomic_bool is_started_ = false;
std::atomic_bool stop_requested_ = false;
std::function<void()> stop_callback_;
std::thread spinner_thread_;
};
Expand Down

0 comments on commit 5d48eec

Please sign in to comment.