summaryrefslogtreecommitdiff
path: root/src/expr.cc
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-14 12:37:58 +0000
committerMartin Michlmayr <tbm@cyrius.com>2021-06-14 22:04:57 +0800
commit69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f (patch)
treeb4f034f7057bfa40f56028a0c28601bab883afff /src/expr.cc
parent5d033adce84319bd3d10217ccf3e20c7c0734c7a (diff)
downloadfork-ledger-69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f.tar.gz
fork-ledger-69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f.tar.bz2
fork-ledger-69e6b89cf8d2820d28174e7ffaea1c59a0f84d3f.zip
Fix compilation with Boost 1.76
We were previously relying on an indirect include within Boost headers. We're using scoped_ptr which is defined in <boost/smart_ptr/scoped_ptr.hpp>. Bug: https://bugs.gentoo.org/790176 Closes: https://github.com/ledger/ledger/issues/2030
Diffstat (limited to 'src/expr.cc')
-rw-r--r--src/expr.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr.cc b/src/expr.cc
index c8945d3d..c19bba98 100644
--- a/src/expr.cc
+++ b/src/expr.cc
@@ -35,6 +35,8 @@
#include "parser.h"
#include "scope.h"
+#include <boost/smart_ptr/scoped_ptr.hpp>
+
namespace ledger {
expr_t::expr_t() : base_type()