Skip to content

Commit

Permalink
Merge pull request ledger#2249 from afh/boost-pragma-warnings
Browse files Browse the repository at this point in the history
boost: Fix compilation warnings
  • Loading branch information
afh authored Apr 25, 2023
2 parents d81e924 + d72fe41 commit 1fe3f0d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/account.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@

namespace ledger {

using namespace boost::placeholders;

class account_t;
class xact_t;
class post_t;
Expand Down
2 changes: 2 additions & 0 deletions src/filters.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@

namespace ledger {

using namespace boost::placeholders;

//////////////////////////////////////////////////////////////////////
//
// Posting collector
Expand Down
2 changes: 2 additions & 0 deletions src/op.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@

namespace ledger {

using namespace boost::placeholders;

class expr_t::op_t : public noncopyable
{
friend class expr_t;
Expand Down
2 changes: 2 additions & 0 deletions src/option.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@

namespace ledger {

using namespace boost::placeholders;

class call_scope_t;

template <typename T>
Expand Down
1 change: 1 addition & 0 deletions src/py_commodity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ namespace ledger {
using namespace flags;
using namespace python;
using namespace boost::python;
using namespace boost::placeholders;

namespace {

Expand Down
2 changes: 1 addition & 1 deletion src/system.hh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 1fe3f0d

Please sign in to comment.