Skip to content

Commit

Permalink
Add missing include file for std::atomic (#3977)
Browse files Browse the repository at this point in the history
rate_observer class needs the include file because it constructs an
atomic object on 'std::atomic<bool> stopped{ false };'
  • Loading branch information
thsfs authored Oct 20, 2022
1 parent f2ddac1 commit e578be1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/test_common/rate_observer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <nano/lib/stats.hpp>

#include <atomic>
#include <chrono>
#include <string>
#include <thread>
Expand Down

0 comments on commit e578be1

Please # to comment.