diff --git a/include/boost/smart_ptr/detail/local_counted_base.hpp b/include/boost/smart_ptr/detail/local_counted_base.hpp index 2e5f6ae..398b46d 100644 --- a/include/boost/smart_ptr/detail/local_counted_base.hpp +++ b/include/boost/smart_ptr/detail/local_counted_base.hpp @@ -20,7 +20,6 @@ #include #include #include -#include namespace boost { @@ -37,7 +36,7 @@ private: private: // not 'int' or 'unsigned' to avoid aliasing and enable optimizations - enum count_type { min_ = 0, initial_ = 1, max_ = UINT_MAX }; + enum count_type { min_ = 0, initial_ = 1, max_ = 2147483647 }; count_type local_use_count_;