aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/fdstream.cxx4
-rw-r--r--libbutl/fdstream.mxx4
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