build: Bump minimum supported Clang to clang-13

This commit is contained in:
MarcoFalke
2023-08-03 14:22:15 +02:00
parent fab1ef9512
commit fae379b6b1
5 changed files with 10 additions and 11 deletions

View File

@@ -209,8 +209,7 @@ util::Result<std::unique_ptr<AddrMan>> LoadAddrman(const NetGroupManager& netgro
return util::Error{strprintf(_("Invalid or corrupt peers.dat (%s). If you believe this is a bug, please report it to %s. As a workaround, you can move the file (%s) out of the way (rename, move, or delete) to have a new one created on the next start."),
e.what(), PACKAGE_BUGREPORT, fs::quoted(fs::PathToString(path_addr)))};
}
return {std::move(addrman)}; // std::move should be unnecessary but is temporarily needed to work around clang bug
// (https://github.com/bitcoin/bitcoin/pull/25977#issuecomment-1561270092)
return addrman;
}
void DumpAnchors(const fs::path& anchors_db_path, const std::vector<CAddress>& anchors)