aboutsummaryrefslogtreecommitdiff
path: root/src/consensus
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-03-14 20:58:55 +0100
committerfanquake <fanquake@gmail.com>2022-02-10 08:16:05 +0000
commitee822d85d6de7db85416190cf843ad74147519cf (patch)
treea51d0bf0c2d02e9eec85e38c9ef81c40eb0f87cc /src/consensus
parent243a9c39250dee95b6fe62ac5ae2f8e3eafecf1b (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