summaryrefslogtreecommitdiff
path: root/src/cstore
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2025-10-01 12:24:06 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2025-10-01 12:24:06 +0200
commit1ce55445c1b3c3f70ead47eba8b4f41b0e88fbfd (patch)
tree0ee37f35ca29713bc5e247f442c25c1b9cb512b8 /src/cstore
parent13d1d066fb51d0dabe943ba772fd036f352dc6d6 (diff)
downloadvyatta-cfg-1ce55445c1b3c3f70ead47eba8b4f41b0e88fbfd.tar.gz
vyatta-cfg-1ce55445c1b3c3f70ead47eba8b4f41b0e88fbfd.zip
boost: T7893: Requirements for future boost versions
Diffstat (limited to 'src/cstore')
-rw-r--r--src/cstore/unionfs/cstore-unionfs.cpp2
-rw-r--r--src/cstore/unionfs/cstore-unionfs.hpp1
2 files changed, 2 insertions, 1 deletions
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 <algorithm>
#include <vector>
#include <string>