From 1ce55445c1b3c3f70ead47eba8b4f41b0e88fbfd Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Wed, 1 Oct 2025 12:24:06 +0200 Subject: boost: T7893: Requirements for future boost versions --- src/commit/commit-algorithm.cpp | 3 ++- src/cstore/unionfs/cstore-unionfs.cpp | 2 +- src/cstore/unionfs/cstore-unionfs.hpp | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/commit/commit-algorithm.cpp b/src/commit/commit-algorithm.cpp index a84fdf5..b1d689b 100644 --- a/src/commit/commit-algorithm.cpp +++ b/src/commit/commit-algorithm.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -473,7 +474,7 @@ _exec_multi_node_actions(Cstore& cs, const CfgNode& node, vtw_act_type act, #if __GNUC__ < 6 auto_ptr at_str(strdup(v.c_str())); #else - unique_ptr at_str(strdup(v.c_str())); + unique_ptr at_str(strdup(v.c_str()), &free); #endif tr1::shared_ptr pdisp(new Cpath(pcomps)); pdisp->push(v); diff --git a/src/cstore/unionfs/cstore-unionfs.cpp b/src/cstore/unionfs/cstore-unionfs.cpp index e9aa7b2..8bb97db 100644 --- a/src/cstore/unionfs/cstore-unionfs.cpp +++ b/src/cstore/unionfs/cstore-unionfs.cpp @@ -1775,7 +1775,7 @@ UnionfsCstore::path_is_regular(const char *path) if (!b_fs_get_file_status(path, result)) { return false; } - return b_fs::is_regular(result); + return b_fs::is_regular_file(result); } bool diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp index a56e9ec..f15b05b 100644 --- a/src/cstore/unionfs/cstore-unionfs.hpp +++ b/src/cstore/unionfs/cstore-unionfs.hpp @@ -16,6 +16,7 @@ #ifndef _CSTORE_UNIONFS_H_ #define _CSTORE_UNIONFS_H_ +#include #include #include -- cgit v1.2.3