diff --git a/extras/src/sp_collector.cpp b/extras/src/sp_collector.cpp index bb69ae8..dced62e 100644 --- a/extras/src/sp_collector.cpp +++ b/extras/src/sp_collector.cpp @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include #include diff --git a/extras/test/sp_atomic_mt2_test.cpp b/extras/test/sp_atomic_mt2_test.cpp index 750b0b2..7bf0961 100644 --- a/extras/test/sp_atomic_mt2_test.cpp +++ b/extras/test/sp_atomic_mt2_test.cpp @@ -13,8 +13,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/extras/test/sp_atomic_mt_test.cpp b/extras/test/sp_atomic_mt_test.cpp index 32c76c5..543d7a2 100644 --- a/extras/test/sp_atomic_mt_test.cpp +++ b/extras/test/sp_atomic_mt_test.cpp @@ -18,9 +18,9 @@ #include #endif -#include -#include -#include +#include +#include +#include #include #include diff --git a/include/boost/detail/atomic_count.hpp b/include/boost/detail/atomic_count.hpp index 5411c7a..ba90183 100644 --- a/include/boost/detail/atomic_count.hpp +++ b/include/boost/detail/atomic_count.hpp @@ -1,20 +1,13 @@ #ifndef BOOST_DETAIL_ATOMIC_COUNT_HPP_INCLUDED #define BOOST_DETAIL_ATOMIC_COUNT_HPP_INCLUDED -// MS compatible compilers support #pragma once +// Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd. +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt -#if defined(_MSC_VER) && (_MSC_VER >= 1020) -# pragma once -#endif +#include -// -// boost/detail/atomic_count.hpp - thread/SMP safe reference counter -// -// Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd. -// -// Distributed under the Boost Software License, Version 1.0. -// See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt +BOOST_HEADER_DEPRECATED("") #include diff --git a/include/boost/detail/lightweight_mutex.hpp b/include/boost/detail/lightweight_mutex.hpp index b7a7f6d..c681e19 100644 --- a/include/boost/detail/lightweight_mutex.hpp +++ b/include/boost/detail/lightweight_mutex.hpp @@ -1,21 +1,13 @@ #ifndef BOOST_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED #define BOOST_DETAIL_LIGHTWEIGHT_MUTEX_HPP_INCLUDED -// MS compatible compilers support #pragma once +// Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd. +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt -#if defined(_MSC_VER) && (_MSC_VER >= 1020) -# pragma once -#endif +#include -// -// boost/detail/lightweight_mutex.hpp - lightweight mutex -// -// Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd. -// -// Distributed under the Boost Software License, Version 1.0. -// See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt -// +BOOST_HEADER_DEPRECATED("") #include diff --git a/include/boost/detail/lightweight_thread.hpp b/include/boost/detail/lightweight_thread.hpp index bf94538..2d7ba8f 100644 --- a/include/boost/detail/lightweight_thread.hpp +++ b/include/boost/detail/lightweight_thread.hpp @@ -1,25 +1,14 @@ #ifndef BOOST_DETAIL_LIGHTWEIGHT_THREAD_HPP_INCLUDED #define BOOST_DETAIL_LIGHTWEIGHT_THREAD_HPP_INCLUDED -// MS compatible compilers support #pragma once +// Copyright (c) 2002 Peter Dimov and Multi Media Ltd. +// Copyright (c) 2008, 2018 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt -#if defined(_MSC_VER) && (_MSC_VER >= 1020) -# pragma once -#endif +#include -// boost/detail/lightweight_thread.hpp -// -// Copyright (c) 2002 Peter Dimov and Multi Media Ltd. -// Copyright (c) 2008, 2018 Peter Dimov -// -// Distributed under the Boost Software License, Version 1.0. -// See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt -// -// -// typedef /*...*/ lw_thread_t; // as pthread_t -// template int lw_thread_create( lw_thread_t & th, F f ); -// void lw_thread_join( lw_thread_t th ); +BOOST_HEADER_DEPRECATED("") #include diff --git a/include/boost/detail/quick_allocator.hpp b/include/boost/detail/quick_allocator.hpp index d54b3a7..e56142c 100644 --- a/include/boost/detail/quick_allocator.hpp +++ b/include/boost/detail/quick_allocator.hpp @@ -1,22 +1,14 @@ #ifndef BOOST_DETAIL_QUICK_ALLOCATOR_HPP_INCLUDED #define BOOST_DETAIL_QUICK_ALLOCATOR_HPP_INCLUDED -// MS compatible compilers support #pragma once +// Copyright (c) 2003 David Abrahams +// Copyright (c) 2003 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt -#if defined(_MSC_VER) && (_MSC_VER >= 1020) -# pragma once -#endif +#include -// -// detail/quick_allocator.hpp -// -// Copyright (c) 2003 David Abrahams -// Copyright (c) 2003 Peter Dimov -// -// Distributed under the Boost Software License, Version 1.0. -// See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt -// +BOOST_HEADER_DEPRECATED("") #include diff --git a/test/atomic_count_test.cpp b/test/atomic_count_test.cpp index 7a2f067..cfa5a75 100644 --- a/test/atomic_count_test.cpp +++ b/test/atomic_count_test.cpp @@ -8,7 +8,7 @@ // http://www.boost.org/LICENSE_1_0.txt) // -#include +#include #include int main() diff --git a/test/atomic_count_test2.cpp b/test/atomic_count_test2.cpp index d7077cc..056f8f7 100644 --- a/test/atomic_count_test2.cpp +++ b/test/atomic_count_test2.cpp @@ -8,7 +8,7 @@ // http://www.boost.org/LICENSE_1_0.txt // -#include +#include #include int main() diff --git a/test/lw_mutex_test.cpp b/test/lw_mutex_test.cpp index a47ac1e..fde7572 100644 --- a/test/lw_mutex_test.cpp +++ b/test/lw_mutex_test.cpp @@ -8,7 +8,7 @@ // http://www.boost.org/LICENSE_1_0.txt) // -#include +#include // Sanity check only diff --git a/test/lw_thread_test.cpp b/test/lw_thread_test.cpp index a43dffd..e61c62c 100644 --- a/test/lw_thread_test.cpp +++ b/test/lw_thread_test.cpp @@ -4,9 +4,9 @@ // Copyright 2018 Peter Dimov // Distributed under the Boost Software License, Version 1.0. -#include -#include +#include #include +#include boost::detail::atomic_count count( 0 ); diff --git a/test/shared_ptr_alloc_test.cpp b/test/shared_ptr_alloc_test.cpp index 0dedc37..9b1ebde 100644 --- a/test/shared_ptr_alloc_test.cpp +++ b/test/shared_ptr_alloc_test.cpp @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include