From d72fe41c059192a059e8761569992f3dc23322ae Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 25 Apr 2023 11:58:28 +0200 Subject: boost: Fix compilation warnings Closes #2227 --- src/account.h | 2 ++ src/filters.h | 2 ++ src/op.h | 2 ++ src/option.h | 2 ++ src/py_commodity.cc | 1 + src/system.hh.in | 2 +- 6 files changed, 10 insertions(+), 1 deletion(-) 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 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 #include -#include +#include #include #include -- cgit v1.2.3