Commit 12ff5a54 authored by Max Kellermann's avatar Max Kellermann

fs/io/FileOutputStream: add `noexcept`

parent 9b2eb74f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment