diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-03-23 14:12:57 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2023-03-24 14:29:57 +0800 |
commit | d1bc057a220f33a79501318477f8e9af1111229f (patch) | |
tree | d7d67d260d89f768eafee47a13ceedd15d77e82b /src | |
parent | 956d8ea37247b34a5300c9d55abc7c75324fff33 (diff) | |
download | fork-ledger-d1bc057a220f33a79501318477f8e9af1111229f.tar.gz fork-ledger-d1bc057a220f33a79501318477f8e9af1111229f.tar.bz2 fork-ledger-d1bc057a220f33a79501318477f8e9af1111229f.zip |
Bump required Boost version to 1.72
Diffstat (limited to 'src')
-rw-r--r-- | src/ptree.cc | 5 | ||||
-rw-r--r-- | src/system.hh.in | 12 | ||||
-rw-r--r-- | src/utils.cc | 4 | ||||
-rw-r--r-- | src/utils.h | 4 |
4 files changed, 0 insertions, 25 deletions
diff --git a/src/ptree.cc b/src/ptree.cc index a37d0be5..01bf16b0 100644 --- a/src/ptree.cc +++ b/src/ptree.cc @@ -80,12 +80,7 @@ void format_ptree::flush() switch (format) { case FORMAT_XML: -#if BOOST_VERSION >= 105600 auto indented = property_tree::xml_writer_make_settings<std::string> (' ', 2); -#else - property_tree::xml_writer_settings<char> indented(' ', 2); -#endif - property_tree::write_xml(out, pt, indented); out << std::endl; break; diff --git a/src/system.hh.in b/src/system.hh.in index 60ea0fd8..a6c465df 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -70,7 +70,6 @@ #define HAVE_BOOST_PYTHON @HAVE_BOOST_PYTHON@ #define HAVE_GPGME @HAVE_GPGME@ #define HAVE_BOOST_REGEX_UNICODE @HAVE_BOOST_REGEX_UNICODE@ -#define HAVE_BOOST_159_ISSUE_39 @HAVE_BOOST_159_ISSUE_39@ #define HAVE_BOOST_NOWIDE @HAVE_BOOST_NOWIDE@ #define DEBUG_MODE @DEBUG_MODE@ @@ -216,17 +215,6 @@ #include <boost/iterator/indirect_iterator.hpp> -#if BOOST_VERSION == 105900 && HAVE_BOOST_159_ISSUE_39 -// Fix for https://github.com/boostorg/python/issues/39 -namespace boost { namespace python { -template <class D> -inline object make_setter(D const& x) -{ - return detail::make_setter(x, default_call_policies(), is_member_pointer<D>(), 0); -} -}} -#endif - #endif // HAVE_BOOST_PYTHON #endif // INCLUDED_SYSTEM_HH diff --git a/src/utils.cc b/src/utils.cc index 1d457891..baf5a27a 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -849,11 +849,7 @@ path resolve_path(const path& pathname) path temp = pathname; if (temp.string()[0] == '~') temp = expand_path(temp); -#if (BOOST_VERSION >= 106000) temp.lexically_normal(); -#else - temp.normalize(); -#endif return temp; } diff --git a/src/utils.h b/src/utils.h index b09377b8..9cc51396 100644 --- a/src/utils.h +++ b/src/utils.h @@ -44,11 +44,7 @@ #ifndef INCLUDED_UTILS_H #define INCLUDED_UTILS_H -#if (BOOST_VERSION >= 106600) #include <boost/uuid/detail/sha1.hpp> -#else -#include <boost/uuid/sha1.hpp> -#endif /** * @name Default values |