Skip to content

Commit

Permalink
include <cstdint> in all files using fix width integer types
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Dec 26, 2024
1 parent ba92d67 commit 1bf32a6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/boost/lockfree/detail/freelist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#define BOOST_LOCKFREE_FREELIST_HPP_INCLUDED

#include <array>
#include <cstdint>
#include <cstring>
#include <limits>
#include <memory>
Expand Down
1 change: 1 addition & 0 deletions include/boost/lockfree/stack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <boost/lockfree/detail/uses_optional.hpp>
#include <boost/lockfree/lockfree_forward.hpp>

#include <cstdint>
#include <tuple>
#include <type_traits>

Expand Down
1 change: 1 addition & 0 deletions test/spsc_value_stress_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <boost/optional.hpp>

#include <atomic>
#include <cstdint>
#include <thread>

// #define BOOST_LOCKFREE_STRESS_TEST
Expand Down
2 changes: 2 additions & 0 deletions test/spsc_value_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# include <boost/test/unit_test.hpp>
#endif

#include <cstdint>

BOOST_AUTO_TEST_CASE( spsc_value_test )
{
boost::lockfree::spsc_value< uint64_t > v;
Expand Down

0 comments on commit 1bf32a6

Please sign in to comment.