diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2020-03-14 20:58:55 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-02-10 08:16:05 +0000 |
commit | ee822d85d6de7db85416190cf843ad74147519cf (patch) | |
tree | a51d0bf0c2d02e9eec85e38c9ef81c40eb0f87cc /src/consensus | |
parent | 243a9c39250dee95b6fe62ac5ae2f8e3eafecf1b (diff) |
util: use stronger-guarantee rename method
Use std::filesystem::rename() instead of std::rename(). We rely on the
destination to be overwritten if it exists, but std::rename()'s behavior
is implementation-defined in this case.
Diffstat (limited to 'src/consensus')
0 files changed, 0 insertions, 0 deletions