diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-25 11:58:28 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-25 17:23:51 +0200 |
commit | d72fe41c059192a059e8761569992f3dc23322ae (patch) | |
tree | 3b8f7a58d5fc82f2db26032adb1c1439db8d607e | |
parent | d81e9245c60350abc1af47b466a38dc5296417d9 (diff) | |
download | fork-ledger-d72fe41c059192a059e8761569992f3dc23322ae.tar.gz fork-ledger-d72fe41c059192a059e8761569992f3dc23322ae.tar.bz2 fork-ledger-d72fe41c059192a059e8761569992f3dc23322ae.zip |
boost: Fix compilation warnings
Closes #2227
-rw-r--r-- | src/account.h | 2 | ||||
-rw-r--r-- | src/filters.h | 2 | ||||
-rw-r--r-- | src/op.h | 2 | ||||
-rw-r--r-- | src/option.h | 2 | ||||
-rw-r--r-- | src/py_commodity.cc | 1 | ||||
-rw-r--r-- | src/system.hh.in | 2 |
6 files changed, 10 insertions, 1 deletions
diff --git a/src/account.h b/src/account.h index be8fddaf..7ea0e269 100644 --- a/src/account.h +++ b/src/account.h @@ -45,6 +45,8 @@ namespace ledger { +using namespace boost::placeholders; + class account_t; class xact_t; class post_t; diff --git a/src/filters.h b/src/filters.h index 6a4e6cf4..18bf912d 100644 --- a/src/filters.h +++ b/src/filters.h @@ -49,6 +49,8 @@ namespace ledger { +using namespace boost::placeholders; + ////////////////////////////////////////////////////////////////////// // // Posting collector @@ -45,6 +45,8 @@ namespace ledger { +using namespace boost::placeholders; + class expr_t::op_t : public noncopyable { friend class expr_t; diff --git a/src/option.h b/src/option.h index 35b1c893..274d0a95 100644 --- a/src/option.h +++ b/src/option.h @@ -47,6 +47,8 @@ namespace ledger { +using namespace boost::placeholders; + class call_scope_t; template <typename T> diff --git a/src/py_commodity.cc b/src/py_commodity.cc index 3ae6801f..4eb6aca4 100644 --- a/src/py_commodity.cc +++ b/src/py_commodity.cc @@ -42,6 +42,7 @@ namespace ledger { using namespace flags; using namespace python; using namespace boost::python; +using namespace boost::placeholders; namespace { diff --git a/src/system.hh.in b/src/system.hh.in index 95dedbc2..10086d23 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -131,7 +131,7 @@ #include <boost/algorithm/string.hpp> #include <boost/any.hpp> -#include <boost/bind.hpp> +#include <boost/bind/bind.hpp> #include <boost/cast.hpp> #include <boost/current_function.hpp> |