Skip to content

Commit

Permalink
Change <boost/bind.hpp> includes to <boost/bind/bind.hpp> to avoid de…
Browse files Browse the repository at this point in the history
…precation warning
  • Loading branch information
pdimov committed Apr 4, 2020
1 parent 9b0e071 commit c13beec
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//
//////////////////////////////////////////////////////////////////////////////

#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

#include <boost/thread/detail/config.hpp>
#include <boost/thread/condition_variable.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//
//////////////////////////////////////////////////////////////////////////////

#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

#include <boost/thread/detail/config.hpp>
#include <boost/thread/condition_variable.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/thread/detail/thread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <algorithm>
#include <boost/core/ref.hpp>
#include <boost/cstdint.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <stdlib.h>
#include <memory>
#include <boost/core/enable_if.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/thread/future.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct shared_state_base {
#endif

#include <boost/assert.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#ifdef BOOST_THREAD_USES_CHRONO
#include <boost/chrono/system_clocks.hpp>
#endif
Expand Down
2 changes: 1 addition & 1 deletion include/boost/thread/pthread/once.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <boost/thread/detail/delete.hpp>
#include <boost/core/no_exceptions_support.hpp>

#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/assert.hpp>
#include <boost/config/abi_prefix.hpp>

Expand Down
2 changes: 1 addition & 1 deletion include/boost/thread/pthread/once_atomic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <boost/thread/detail/move.hpp>
#include <boost/thread/detail/invoke.hpp>
#include <boost/core/no_exceptions_support.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/atomic.hpp>

#include <boost/config/abi_prefix.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/thread/pthread/shared_mutex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/assert.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/static_assert.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition_variable.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/thread/v2/shared_mutex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class upgrade_mutex
#endif
#include <climits>
#include <boost/system/system_error.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

namespace boost {
namespace thread_v2 {
Expand Down
2 changes: 1 addition & 1 deletion include/boost/thread/win32/once.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <boost/thread/detail/move.hpp>
#include <boost/thread/detail/invoke.hpp>

#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

#include <boost/config/abi_prefix.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/thread/mutex.hpp>
#include <boost/thread/with_lock_guard.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

class Foo {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/test_2741.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <boost/thread/thread_only.hpp>
#include <boost/thread/xtime.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/ref.hpp>
#include <boost/utility.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/test_8557.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <boost/thread/mutex.hpp>

#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

#include <iostream>

Expand Down
2 changes: 1 addition & 1 deletion test/test_8960.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <boost/thread.hpp>
#include <boost/thread/locks.hpp>
#include <boost/chrono.hpp>
//#include <boost/bind.hpp>
//#include <boost/bind/bind.hpp>
#include <boost/detail/lightweight_test.hpp>


Expand Down
2 changes: 1 addition & 1 deletion test/test_9303.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <boost/function.hpp>
#include <boost/make_shared.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/asio.hpp>
#include <boost/thread.hpp>
#include <boost/thread/future.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/test_9319.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <boost/thread/future.hpp>
#include <boost/thread/thread.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/chrono.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/test_scheduled_tp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define BOOST_THREAD_VERSION 4
#define BOOST_THREAD_PROVIDES_EXECUTORS

#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/chrono.hpp>
#include <boost/chrono/chrono_io.hpp>
#include <boost/function.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/test_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/thread/thread_only.hpp>
#include <boost/thread/xtime.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <boost/ref.hpp>
#include <boost/utility.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/test_thread_id.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <boost/thread/thread_only.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>

void do_nothing()
{}
Expand Down
2 changes: 1 addition & 1 deletion test/test_time_jumps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <sys/time.h>
#endif

#include "boost/bind.hpp"
#include "boost/bind/bind.hpp"
#include "boost/chrono.hpp"
#include "boost/chrono/ceil.hpp"
#include "boost/date_time.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tutorial/helloworld3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <boost/thread/thread.hpp>
#include <boost/bind.hpp>
#include <boost/bind/bind.hpp>
#include <iostream>

void helloworld(const char* who)
Expand Down

0 comments on commit c13beec

Please sign in to comment.