summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-25 11:58:28 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-25 17:23:51 +0200
commitd72fe41c059192a059e8761569992f3dc23322ae (patch)
tree3b8f7a58d5fc82f2db26032adb1c1439db8d607e
parentd81e9245c60350abc1af47b466a38dc5296417d9 (diff)
downloadfork-ledger-d72fe41c059192a059e8761569992f3dc23322ae.tar.gz
fork-ledger-d72fe41c059192a059e8761569992f3dc23322ae.tar.bz2
fork-ledger-d72fe41c059192a059e8761569992f3dc23322ae.zip
boost: Fix compilation warnings
Closes #2227
-rw-r--r--src/account.h2
-rw-r--r--src/filters.h2
-rw-r--r--src/op.h2
-rw-r--r--src/option.h2
-rw-r--r--src/py_commodity.cc1
-rw-r--r--src/system.hh.in2
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
diff --git a/src/op.h b/src/op.h
index dcb0784d..2fc87a71 100644
--- a/src/op.h
+++ b/src/op.h
@@ -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>