--- src/ntfs.cpp.orig 2023-05-01 20:59:36 UTC +++ src/ntfs.cpp @@ -465,7 +465,7 @@ string_view ntfs::find_sd(uint32_t id, ntfs_file& secu } static void walk_btree(const index_root& ir, const list& mappings, const index_node_header& inh, ntfs& dev, - const invocable auto& func, unsigned int level) { + const function& func, unsigned int level) { auto ent = reinterpret_cast((uint8_t*)&inh + inh.first_entry); do {