From 12ff5a547f914758e5de5ed1aa55d0f02c075b53 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 21 Jan 2021 21:04:15 +0100 Subject: [PATCH] fs/io/FileOutputStream: add `noexcept` --- src/fs/io/FileOutputStream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs/io/FileOutputStream.cxx b/src/fs/io/FileOutputStream.cxx index b07ca487b..c8e96189d 100644 --- a/src/fs/io/FileOutputStream.cxx +++ b/src/fs/io/FileOutputStream.cxx @@ -176,7 +176,7 @@ FileOutputStream::Cancel() noexcept */ static bool OpenTempFile(FileDescriptor directory_fd, - FileDescriptor &fd, Path path) + FileDescriptor &fd, Path path) noexcept { if (directory_fd != FileDescriptor(AT_FDCWD)) return fd.Open(directory_fd, ".", O_TMPFILE|O_WRONLY, 0666);