From 758b64bcf02d9269ae4765ab98d7d46396b3e69a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 6 Oct 2018 18:05:47 +0300 Subject: Remove invalid noexcept from fdnull() declaration --- libbutl/fdstream.cxx | 4 ++-- libbutl/fdstream.mxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libbutl/fdstream.cxx b/libbutl/fdstream.cxx index 3b0895c..955b75d 100644 --- a/libbutl/fdstream.cxx +++ b/libbutl/fdstream.cxx @@ -818,7 +818,7 @@ namespace butl } auto_fd - fdnull () noexcept + fdnull () { int fd (open ("/dev/null", O_RDWR | O_CLOEXEC)); @@ -988,7 +988,7 @@ namespace butl } auto_fd - fdnull (bool temp) noexcept + fdnull (bool temp) { // No need to translate \r\n before sending it to void. // diff --git a/libbutl/fdstream.mxx b/libbutl/fdstream.mxx index cf52601..440e637 100644 --- a/libbutl/fdstream.mxx +++ b/libbutl/fdstream.mxx @@ -669,10 +669,10 @@ LIBBUTL_MODEXPORT namespace butl // #ifndef _WIN32 LIBBUTL_SYMEXPORT auto_fd - fdnull () noexcept; + fdnull (); #else LIBBUTL_SYMEXPORT auto_fd - fdnull (bool temp = false) noexcept; + fdnull (bool temp = false); #endif struct fdpipe -- cgit v1.1