build; bump dependencies and fix attendant compilation errors

This commit is contained in:
Danny Robson 2020-10-04 10:52:50 +11:00
parent 426a447af3
commit 69447ce54b
6 changed files with 9 additions and 7 deletions

View File

@ -28,7 +28,7 @@ acl::acl (int count)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
acl::acl (std::filesystem::path const &path, acl_type_t type) acl::acl (std::filesystem::path const &path, acl_type_t type)
: acl (acl_get_file (path.u8string ().c_str (), type)) : acl (acl_get_file (path.native ().c_str (), type))
{ ; } { ; }

View File

@ -45,7 +45,7 @@ namespace cruft {
template <typename ValueT> template <typename ValueT>
ValueT qualifier (void) const ValueT qualifier (void) const
{ {
static_assert (std::is_pod_v<ValueT>); static_assert (std::is_trivial_v<ValueT> && std::is_standard_layout_v<ValueT>);
auto data = acl_get_qualifier (m_native); auto data = acl_get_qualifier (m_native);

@ -1 +1 @@
Subproject commit bf27d731e4b2e2bbc4d311cbbdc24da4854f50d2 Subproject commit 229b3d3f1a576eda21d7d6a45b5727c0e113a7b2

@ -1 +1 @@
Subproject commit 5fb87ea4c4e5f30c9ee40a56e3487c0358d69783 Subproject commit 8cdbbcb26ede127e9ed3a9e9a29b0f694d1d266a

View File

@ -16,8 +16,10 @@ using emory::chunk::map;
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
map::map (cruft::view<u08 const *> data, const emory::chunk::params &p) map::map (
{ cruft::view<u08 const *> data,
emory::chunk::params const &p
) {
using hash_type = cruft::hash::buzhash<u64>; using hash_type = cruft::hash::buzhash<u64>;
hash_type h (p.window, data); hash_type h (p.window, data);
auto remain = data.consume (p.window); auto remain = data.consume (p.window);

View File

@ -12,7 +12,7 @@
#include <unistd.h> #include <unistd.h>
#include <cruft/util/debug.hpp> #include <cruft/util/debug/assert.hpp>
#include <cruft/util/posix/except.hpp> #include <cruft/util/posix/except.hpp>