Skip to content

Commit fac91cb

Browse files
committed
Remove uses of boost/cstdint.hpp
1 parent 0c171cf commit fac91cb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/boost/smart_ptr/detail/shared_count.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <boost/core/addressof.hpp>
2929
#include <boost/config.hpp>
3030
#include <boost/config/workaround.hpp>
31-
#include <boost/cstdint.hpp>
31+
#include <cstdint>
3232
#include <memory> // std::auto_ptr
3333
#include <functional> // std::less
3434
#include <cstddef> // std::size_t
@@ -91,7 +91,7 @@ template< class D > struct sp_convert_reference< D& >
9191

9292
template<class T> std::size_t sp_hash_pointer( T* p ) noexcept
9393
{
94-
boost::uintptr_t v = reinterpret_cast<boost::uintptr_t>( p );
94+
std::uintptr_t v = reinterpret_cast<std::uintptr_t>( p );
9595

9696
// match boost::hash<T*>
9797
return static_cast<std::size_t>( v + ( v >> 3 ) );

include/boost/smart_ptr/detail/sp_counted_base_nt.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#include <boost/smart_ptr/detail/sp_typeinfo_.hpp>
2222
#include <boost/config.hpp>
23-
#include <boost/cstdint.hpp>
23+
#include <cstdint>
2424

2525
#if defined(BOOST_SP_REPORT_IMPLEMENTATION)
2626

@@ -42,8 +42,8 @@ class BOOST_SYMBOL_VISIBLE sp_counted_base
4242
sp_counted_base( sp_counted_base const & );
4343
sp_counted_base & operator= ( sp_counted_base const & );
4444

45-
boost::int_least32_t use_count_; // #shared
46-
boost::int_least32_t weak_count_; // #weak + (#shared != 0)
45+
std::int_least32_t use_count_; // #shared
46+
std::int_least32_t weak_count_; // #weak + (#shared != 0)
4747

4848
public:
4949

0 commit comments

Comments
 (0)